Skip to content

Commit

Permalink
lib/route: add support for bridge msti
Browse files Browse the repository at this point in the history
  • Loading branch information
ronand-atl committed Oct 8, 2024
1 parent 8a73b24 commit 600ef8c
Show file tree
Hide file tree
Showing 3 changed files with 473 additions and 27 deletions.
7 changes: 7 additions & 0 deletions include/netlink/route/link/bridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,13 @@ extern int rtnl_link_bridge_pvid(struct rtnl_link *link);
extern int rtnl_link_bridge_has_vlan(struct rtnl_link *link);

extern struct rtnl_link_bridge_vlan *rtnl_link_bridge_get_port_vlan(struct rtnl_link *link);

extern int rtnl_link_bridge_set_mst_port_state(struct rtnl_link *link, uint16_t instance, uint8_t state);
extern int rtnl_link_bridge_get_mst_port_state(struct rtnl_link *link, uint16_t instance);
extern int rtnl_link_bridge_del_mst_port_state(struct rtnl_link *link, uint16_t instance);
extern int rtnl_link_bridge_clear_mst_port_state_info(struct rtnl_link *link);
extern int rtnl_link_bridge_foreach_mst_entry(struct rtnl_link *link, void (*cb)(uint16_t instance, uint8_t state, void *arg), void *arg);

#ifdef __cplusplus
}
#endif
Expand Down
Loading

0 comments on commit 600ef8c

Please sign in to comment.