diff options
author | Thomas Winter <Thomas.Winter@alliedtelesis.co.nz> | 2018-06-11 21:04:46 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2022-03-11 23:07:47 (GMT) |
commit | ebc7df3b50ed09a04f07a0ef1ee70f7b25b02b6f (patch) | |
tree | c2882d976cd15ff8a6a860cb32ea39ab821f5d80 /include | |
parent | 8e1da8ec9d45bb6a3a09b8e263943ac7d7cac2eb (diff) | |
download | libnl-ebc7df3b50ed09a04f07a0ef1ee70f7b25b02b6f.zip libnl-ebc7df3b50ed09a04f07a0ef1ee70f7b25b02b6f.tar.gz libnl-ebc7df3b50ed09a04f07a0ef1ee70f7b25b02b6f.tar.bz2 |
sit: Add fwmark API
This is a new option that was added in Linux v4.12.
Signed-off-by: Thomas Winter <Thomas.Winter@alliedtelesis.co.nz>
Diffstat (limited to 'include')
-rw-r--r-- | include/netlink/route/link/sit.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/netlink/route/link/sit.h b/include/netlink/route/link/sit.h index 07bb3f1..f41e101 100644 --- a/include/netlink/route/link/sit.h +++ b/include/netlink/route/link/sit.h @@ -54,6 +54,9 @@ extern "C" { int rtnl_link_sit_set_ip6rd_relay_prefixlen(struct rtnl_link *link, uint16_t prefix); int rtnl_link_sit_get_ip6rd_relay_prefixlen(struct rtnl_link *link, uint16_t *prefix); + extern int rtnl_link_sit_set_fwmark(struct rtnl_link *link, uint32_t fwmark); + extern int rtnl_link_sit_get_fwmark(struct rtnl_link *link, uint32_t *fwmark); + #ifdef __cplusplus } #endif |