Skip to content

Commit

Permalink
lib/route: merge branch 'ronand-atl:extend-bridge-info-support'
Browse files Browse the repository at this point in the history
  • Loading branch information
thom311 committed Sep 19, 2024
2 parents 014c33a + 8a73b24 commit 83f29cf
Show file tree
Hide file tree
Showing 3 changed files with 392 additions and 1 deletion.
29 changes: 29 additions & 0 deletions include/netlink/route/link/bridge_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,41 @@ extern void rtnl_link_bridge_set_vlan_stats_enabled(struct rtnl_link *link,
uint8_t vlan_stats_enabled);
extern int rtnl_link_bridge_get_vlan_stats_enabled(struct rtnl_link *link,
uint8_t *vlan_stats_enabled);

extern void rtnl_link_bridge_set_nf_call_iptables(struct rtnl_link *link,
uint8_t call_enabled);
extern int rtnl_link_bridge_get_nf_call_iptables(struct rtnl_link *link,
uint8_t *call_enabled);

extern void rtnl_link_bridge_set_nf_call_ip6tables(struct rtnl_link *link,
uint8_t call_enabled);
extern int rtnl_link_bridge_get_nf_call_ip6tables(struct rtnl_link *link,
uint8_t *call_enabled);

extern void rtnl_link_bridge_set_nf_call_arptables(struct rtnl_link *link,
uint8_t call_enabled);
extern int rtnl_link_bridge_get_nf_call_arptables(struct rtnl_link *link,
uint8_t *call_enabled);

extern void rtnl_link_bridge_set_stp_state(struct rtnl_link *link,
uint32_t stp_state);
extern int rtnl_link_bridge_get_stp_state(struct rtnl_link *link,
uint32_t *stp_state);

extern void rtnl_link_bridge_set_mcast_router(struct rtnl_link *link,
uint8_t type);
extern int rtnl_link_bridge_get_mcast_router(struct rtnl_link *link,
uint8_t *type);

extern void rtnl_link_bridge_set_mcast_snooping(struct rtnl_link *link,
uint8_t value);
extern int rtnl_link_bridge_get_mcast_snooping(struct rtnl_link *link,
uint8_t *value);

extern int rtnl_link_bridge_set_boolopt(struct rtnl_link *link, int opt,
int value);

extern int rtnl_link_bridge_get_boolopt(struct rtnl_link *link, int opt);

#ifdef __cplusplus
}
Expand Down
Loading

0 comments on commit 83f29cf

Please sign in to comment.