diff options
author | Thomas Haller <thaller@redhat.com> | 2016-03-31 14:07:08 (GMT) |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-04-15 14:24:15 (GMT) |
commit | 207dc0352779af46121a83fb4758cdd3155d9001 (patch) | |
tree | 3c427ad9652a4f0bc96beb0d1a6007ec1570c4de /include | |
parent | 962afc32df4d5ced16128652b30f48d19fef3cfa (diff) | |
download | libnl-207dc0352779af46121a83fb4758cdd3155d9001.zip libnl-207dc0352779af46121a83fb4758cdd3155d9001.tar.gz libnl-207dc0352779af46121a83fb4758cdd3155d9001.tar.bz2 |
sit: add public API for sit 6RD support
Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/netlink/route/link/sit.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/netlink/route/link/sit.h b/include/netlink/route/link/sit.h index 37408ca..8f58d0a 100644 --- a/include/netlink/route/link/sit.h +++ b/include/netlink/route/link/sit.h @@ -46,6 +46,18 @@ extern "C" { int rtnl_link_sit_set_proto(struct rtnl_link *link, uint8_t proto); uint8_t rtnl_link_sit_get_proto(struct rtnl_link *link); + int rtnl_link_sit_set_ip6rd_prefix(struct rtnl_link *link, const struct in6_addr *prefix); + int rtnl_link_sit_get_ip6rd_prefix(const struct rtnl_link *link, struct in6_addr *prefix); + + int rtnl_link_sit_set_ip6rd_prefixlen(struct rtnl_link *link, uint16_t prefixlen); + int rtnl_link_sit_get_ip6rd_prefixlen(struct rtnl_link *link, uint16_t *prefixlen); + + int rtnl_link_sit_set_ip6rd_relay_prefix(struct rtnl_link *link, uint32_t prefix); + int rtnl_link_sit_get_ip6rd_relay_prefix(const struct rtnl_link *link, uint32_t *prefix); + + 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); + #ifdef _cplusplus } #endif |