diff options
author | Thomas Winter <Thomas.Winter@alliedtelesis.co.nz> | 2018-06-08 04:29:35 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2022-03-11 23:06:03 (GMT) |
commit | cdc6c0f321527e3aad06d11e16115daa82b54677 (patch) | |
tree | 31b5e11057711c3012ac36fbbeeeb949b984d9ec /include | |
parent | 2995710d3f13a95701e54fda33ce80eb5f811f8f (diff) | |
download | libnl-cdc6c0f321527e3aad06d11e16115daa82b54677.zip libnl-cdc6c0f321527e3aad06d11e16115daa82b54677.tar.gz libnl-cdc6c0f321527e3aad06d11e16115daa82b54677.tar.bz2 |
ipvti: 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/ipvti.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/netlink/route/link/ipvti.h b/include/netlink/route/link/ipvti.h index cb8f2d9..8e31dab 100644 --- a/include/netlink/route/link/ipvti.h +++ b/include/netlink/route/link/ipvti.h @@ -32,6 +32,9 @@ extern "C" { extern int rtnl_link_ipvti_set_remote(struct rtnl_link *link, uint32_t addr); extern uint32_t rtnl_link_ipvti_get_remote(struct rtnl_link *link); + extern int rtnl_link_ipvti_set_fwmark(struct rtnl_link *link, uint32_t fwmark); + extern int rtnl_link_ipvti_get_fwmark(struct rtnl_link *link, uint32_t *fwmark); + #ifdef __cplusplus } #endif |