Systemd/src/libsystemd/sd-netlink
Susant Sahani bce67bbee3 networkd: add support to configure IP Rule (#5725)
Routing Policy rule manipulates rules in the routing policy database control the
route selection algorithm.

This work supports to configure Rule
```
[RoutingPolicyRule]
TypeOfService=0x08
Table=7
From= 192.168.100.18

```

```
ip rule show
0:	from all lookup local
0:	from 192.168.100.18 tos 0x08 lookup 7
```

V2 changes:

1. Added logic to handle duplicate rules.
2. If rules are changed or deleted and networkd restarted
   then those are deleted when networkd restarts next time

V3:

1. Add parse_fwmark_fwmask
2017-09-14 21:51:39 +02:00
..
local-addresses.c nss-myhostname: trivial style fixes 2016-04-02 20:11:41 -04:00
local-addresses.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
netlink-internal.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
netlink-message.c networkd: add support to configure IP Rule (#5725) 2017-09-14 21:51:39 +02:00
netlink-socket.c sd-netlink: don't give up on netlink on ENOBUFS 2017-02-21 21:41:32 +01:00
netlink-types.c networkd: add support to configure IP Rule (#5725) 2017-09-14 21:51:39 +02:00
netlink-types.h sd-netlink: Add Geneve properties to netlink 2017-04-25 09:44:28 +05:30
netlink-util.c sd-netlink: Make use of IN_SET (#5977) 2017-05-18 12:56:36 +02:00
netlink-util.h networkd: add support to configure IP Rule (#5725) 2017-09-14 21:51:39 +02:00
rtnl-message.c networkd: add support to configure IP Rule (#5725) 2017-09-14 21:51:39 +02:00
sd-netlink.c networkd: add support to configure IP Rule (#5725) 2017-09-14 21:51:39 +02:00
test-local-addresses.c tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
test-netlink.c tree-wide: drop spurious "&"s when passing functions around 2016-05-15 19:56:59 -04:00