diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/netlink-types.h | 1 | ||||
-rw-r--r-- | include/netlink/route/link.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/netlink-types.h b/include/netlink-types.h index 345486f..10ef218 100644 --- a/include/netlink-types.h +++ b/include/netlink-types.h @@ -176,6 +176,7 @@ struct rtnl_link uint32_t l_promiscuity; uint32_t l_num_tx_queues; uint32_t l_num_rx_queues; + uint32_t l_group; }; struct rtnl_ncacheinfo diff --git a/include/netlink/route/link.h b/include/netlink/route/link.h index 518bab5..8268b13 100644 --- a/include/netlink/route/link.h +++ b/include/netlink/route/link.h @@ -148,6 +148,9 @@ extern char * rtnl_link_get_qdisc(struct rtnl_link *); extern void rtnl_link_set_name(struct rtnl_link *, const char *); extern char * rtnl_link_get_name(struct rtnl_link *); +extern void rtnl_link_set_group(struct rtnl_link *, uint32_t); +extern uint32_t rtnl_link_get_group(struct rtnl_link *); + extern void rtnl_link_set_flags(struct rtnl_link *, unsigned int); extern void rtnl_link_unset_flags(struct rtnl_link *, unsigned int); extern unsigned int rtnl_link_get_flags(struct rtnl_link *); |