diff options
author | Susant Sahani <ssahani@gmail.com> | 2018-11-27 10:58:54 +0530 |
---|---|---|
committer | Susant Sahani <ssahani@gmail.com> | 2018-11-28 20:06:28 +0530 |
commit | 926062f08345c02d360414feae58c964de2b6415 (patch) | |
tree | 010ab395d80fa2c7cc092fd87428fd9c4769c684 /src/systemd | |
parent | 59a2a18e27435ed00741fc8703e19866de37e3d3 (diff) | |
download | systemd-926062f08345c02d360414feae58c964de2b6415.tar.gz |
networkd: add support to configure ip rule port range and protocol.
Please see:
iprule: support for ip_proto, sport and dport match options
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=f686f764682745daf6a93b0a6330ba42a961f858
Closes 10622
Diffstat (limited to 'src/systemd')
-rw-r--r-- | src/systemd/sd-netlink.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemd/sd-netlink.h b/src/systemd/sd-netlink.h index 276953eb8e..e1b89559a8 100644 --- a/src/systemd/sd-netlink.h +++ b/src/systemd/sd-netlink.h @@ -85,6 +85,7 @@ int sd_netlink_message_open_container(sd_netlink_message *m, unsigned short type int sd_netlink_message_open_container_union(sd_netlink_message *m, unsigned short type, const char *key); int sd_netlink_message_close_container(sd_netlink_message *m); +int sd_netlink_message_read(sd_netlink_message *m, unsigned short type, size_t size, void *data); int sd_netlink_message_read_string(sd_netlink_message *m, unsigned short type, const char **data); int sd_netlink_message_read_u8(sd_netlink_message *m, unsigned short type, uint8_t *data); int sd_netlink_message_read_u16(sd_netlink_message *m, unsigned short type, uint16_t *data); |