summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2014-09-26 21:19:43 (GMT)
committerThomas Haller <thaller@redhat.com>2014-10-08 14:47:43 (GMT)
commitb0d0d339cd69834bd05cb5c704fbf06677f754eb (patch)
treeed1d8b920f98b8b70c8403d12f499efabad48d3c /include
parente00395194597c6ed34aea5fefff42525e462a666 (diff)
downloadlibnl-b0d0d339cd69834bd05cb5c704fbf06677f754eb.zip
libnl-b0d0d339cd69834bd05cb5c704fbf06677f754eb.tar.gz
libnl-b0d0d339cd69834bd05cb5c704fbf06677f754eb.tar.bz2
link/inet6: add support for tokenized interface identifiers
http://tools.ietf.org/html/draft-chown-6man-tokenised-ipv6-identifiers-02 [thaller@redhat.com: Add OOM handling, fix whitespace issues] https://github.com/thom311/libnl/pull/63 Signed-off-by: Lubomir Rintel <lkundrak@v3.sk> Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/netlink/route/link/inet6.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/netlink/route/link/inet6.h b/include/netlink/route/link/inet6.h
index 8ffeab2..7e81967 100644
--- a/include/netlink/route/link/inet6.h
+++ b/include/netlink/route/link/inet6.h
@@ -24,6 +24,12 @@ const char * rtnl_link_inet6_addrgenmode2str (uint8_t mode,
uint8_t rtnl_link_inet6_str2addrgenmode (const char *mode);
+extern int rtnl_link_inet6_get_token(struct rtnl_link *,
+ struct nl_addr **);
+
+extern int rtnl_link_inet6_set_token(struct rtnl_link *,
+ struct nl_addr *);
+
extern int rtnl_link_inet6_get_addr_gen_mode(struct rtnl_link *,
uint8_t *);