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 10, 2024
1 parent 83f29cf commit 2a91df9
Show file tree
Hide file tree
Showing 3 changed files with 506 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 2a91df9

Please sign in to comment.