diff options
author | Thomas Graf <tgraf@suug.ch> | 2013-02-14 11:42:07 (GMT) |
---|---|---|
committer | Thomas Graf <tgraf@suug.ch> | 2013-02-14 11:42:22 (GMT) |
commit | ee4122a12edcf7f10f03fbb7e35fe1388a8c3399 (patch) | |
tree | 537ffdd8ae52dc1e3d7f04f201d92737c7298275 /include | |
parent | bb9911b5a337aeba34b6be53a2ef654828a92897 (diff) | |
download | libnl-ee4122a12edcf7f10f03fbb7e35fe1388a8c3399.zip libnl-ee4122a12edcf7f10f03fbb7e35fe1388a8c3399.tar.gz libnl-ee4122a12edcf7f10f03fbb7e35fe1388a8c3399.tar.bz2 |
vlan: Provide rtnl_link_vlan_alloc()
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Diffstat (limited to 'include')
-rw-r--r-- | include/netlink/route/link/vlan.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/netlink/route/link/vlan.h b/include/netlink/route/link/vlan.h index 42768b6..f274163 100644 --- a/include/netlink/route/link/vlan.h +++ b/include/netlink/route/link/vlan.h @@ -6,7 +6,7 @@ * License as published by the Free Software Foundation version 2.1 * of the License. * - * Copyright (c) 2003-2008 Thomas Graf <tgraf@suug.ch> + * Copyright (c) 2003-2013 Thomas Graf <tgraf@suug.ch> */ #ifndef NETLINK_LINK_VLAN_H_ @@ -27,6 +27,8 @@ struct vlan_map #define VLAN_PRIO_MAX 7 +extern struct rtnl_link *rtnl_link_vlan_alloc(void); + extern int rtnl_link_is_vlan(struct rtnl_link *); extern char * rtnl_link_vlan_flags2str(int, char *, size_t); |