Lines Matching defs:link
79 #define IS_BRIDGE_LINK_ASSERT(link) \ argument
85 static inline struct bridge_data *bridge_data(struct rtnl_link *link) in bridge_data()
90 static void *bridge_alloc(struct rtnl_link *link) in bridge_alloc()
95 static void *bridge_clone(struct rtnl_link *link, void *data) in bridge_clone()
105 static void bridge_free(struct rtnl_link *link, void *data) in bridge_free()
123 static void check_flag(struct rtnl_link *link, struct nlattr *attrs[], in check_flag()
130 static int bridge_parse_protinfo(struct rtnl_link *link, struct nlattr *attr, in bridge_parse_protinfo()
182 static int bridge_parse_af_full(struct rtnl_link *link, struct nlattr *attr_full, in bridge_parse_af_full()
242 static int bridge_fill_af(struct rtnl_link *link, struct nl_msg *msg, in bridge_fill_af()
259 static int bridge_fill_pi(struct rtnl_link *link, struct nl_msg *msg, in bridge_fill_pi()
310 static int bridge_override_rtm(struct rtnl_link *link) { in bridge_override_rtm()
395 static void bridge_dump_details(struct rtnl_link *link, in bridge_dump_details()
466 struct rtnl_link *link; in rtnl_link_bridge_alloc() local
494 struct rtnl_link *link; in rtnl_link_bridge_add() local
514 int rtnl_link_is_bridge(struct rtnl_link *link) in rtnl_link_is_bridge()
533 int rtnl_link_bridge_has_ext_info(struct rtnl_link *link) in rtnl_link_bridge_has_ext_info()
562 int rtnl_link_bridge_set_port_state(struct rtnl_link *link, uint8_t state) in rtnl_link_bridge_set_port_state()
586 int rtnl_link_bridge_get_port_state(struct rtnl_link *link) in rtnl_link_bridge_get_port_state()
605 int rtnl_link_bridge_set_priority(struct rtnl_link *link, uint16_t prio) in rtnl_link_bridge_set_priority()
626 int rtnl_link_bridge_get_priority(struct rtnl_link *link) in rtnl_link_bridge_get_priority()
645 int rtnl_link_bridge_set_cost(struct rtnl_link *link, uint32_t cost) in rtnl_link_bridge_set_cost()
668 int rtnl_link_bridge_get_cost(struct rtnl_link *link, uint32_t *cost) in rtnl_link_bridge_get_cost()
693 int rtnl_link_bridge_unset_flags(struct rtnl_link *link, unsigned int flags) in rtnl_link_bridge_unset_flags()
726 int rtnl_link_bridge_set_flags(struct rtnl_link *link, unsigned int flags) in rtnl_link_bridge_set_flags()
749 int rtnl_link_bridge_get_flags(struct rtnl_link *link) in rtnl_link_bridge_get_flags()
769 int rtnl_link_bridge_set_self(struct rtnl_link *link) in rtnl_link_bridge_set_self()
792 int rtnl_link_bridge_get_hwmode(struct rtnl_link *link, uint16_t *hwmode) in rtnl_link_bridge_get_hwmode()
825 int rtnl_link_bridge_set_hwmode(struct rtnl_link *link, uint16_t hwmode) in rtnl_link_bridge_set_hwmode()
917 int rtnl_link_bridge_pvid(struct rtnl_link *link) in rtnl_link_bridge_pvid()
930 int rtnl_link_bridge_has_vlan(struct rtnl_link *link) in rtnl_link_bridge_has_vlan()
951 struct rtnl_link_bridge_vlan *rtnl_link_bridge_get_port_vlan(struct rtnl_link *link) in rtnl_link_bridge_get_port_vlan()