• Home
  • Raw
  • Download

Lines Matching refs:net_bridge_port

76 	struct net_bridge_port __rcu	*port;
121 struct net_bridge_port *port;
156 struct net_bridge_port *dst;
173 struct net_bridge_port *port;
204 struct net_bridge_port struct
264 static inline struct net_bridge_port *br_port_get_rcu(const struct net_device *dev) in br_port_get_rcu() argument
269 static inline struct net_bridge_port *br_port_get_rtnl(const struct net_device *dev) in br_port_get_rtnl()
457 static inline void br_netpoll_send_skb(const struct net_bridge_port *p, in br_netpoll_send_skb()
466 int br_netpoll_enable(struct net_bridge_port *p);
467 void br_netpoll_disable(struct net_bridge_port *p);
469 static inline void br_netpoll_send_skb(const struct net_bridge_port *p, in br_netpoll_send_skb()
474 static inline int br_netpoll_enable(struct net_bridge_port *p) in br_netpoll_enable()
479 static inline void br_netpoll_disable(struct net_bridge_port *p) in br_netpoll_disable()
489 const struct net_bridge_port *p,
491 void br_fdb_changeaddr(struct net_bridge_port *p, const unsigned char *newaddr);
495 const struct net_bridge_port *p, u16 vid, int do_all);
501 int br_fdb_insert(struct net_bridge *br, struct net_bridge_port *source,
503 void br_fdb_update(struct net_bridge *br, struct net_bridge_port *source,
512 int br_fdb_sync_static(struct net_bridge *br, struct net_bridge_port *p);
513 void br_fdb_unsync_static(struct net_bridge *br, struct net_bridge_port *p);
514 int br_fdb_external_learn_add(struct net_bridge *br, struct net_bridge_port *p,
516 int br_fdb_external_learn_del(struct net_bridge *br, struct net_bridge_port *p,
526 void br_forward(const struct net_bridge_port *to, struct sk_buff *skb,
533 void br_port_carrier_check(struct net_bridge_port *p);
541 void br_port_flags_change(struct net_bridge_port *port, unsigned long mask);
553 static inline struct net_bridge_port *br_port_get_check_rcu(const struct net_device *dev) in br_port_get_check_rcu()
566 int br_multicast_rcv(struct net_bridge *br, struct net_bridge_port *port,
570 int br_multicast_add_port(struct net_bridge_port *port);
571 void br_multicast_del_port(struct net_bridge_port *port);
572 void br_multicast_enable_port(struct net_bridge_port *port);
573 void br_multicast_disable_port(struct net_bridge_port *port);
581 int br_multicast_set_port_router(struct net_bridge_port *p, unsigned long val);
588 br_multicast_new_group(struct net_bridge *br, struct net_bridge_port *port,
592 br_multicast_new_port_group(struct net_bridge_port *port, struct br_ip *group,
597 void br_mdb_notify(struct net_device *dev, struct net_bridge_port *port,
599 void br_rtr_notify(struct net_device *dev, struct net_bridge_port *port,
601 void br_multicast_count(struct net_bridge *br, const struct net_bridge_port *p,
605 const struct net_bridge_port *p,
661 struct net_bridge_port *port, in br_multicast_rcv()
674 static inline int br_multicast_add_port(struct net_bridge_port *port) in br_multicast_add_port()
679 static inline void br_multicast_del_port(struct net_bridge_port *port) in br_multicast_del_port()
683 static inline void br_multicast_enable_port(struct net_bridge_port *port) in br_multicast_enable_port()
687 static inline void br_multicast_disable_port(struct net_bridge_port *port) in br_multicast_disable_port()
733 const struct net_bridge_port *p, in br_multicast_count()
757 bool br_should_learn(struct net_bridge_port *p, struct sk_buff *skb, u16 *vid);
774 int nbp_vlan_add(struct net_bridge_port *port, u16 vid, u16 flags);
775 int nbp_vlan_delete(struct net_bridge_port *port, u16 vid);
776 void nbp_vlan_flush(struct net_bridge_port *port);
777 int nbp_vlan_init(struct net_bridge_port *port);
778 int nbp_get_num_vlan_infos(struct net_bridge_port *p, u32 filter_mask);
789 const struct net_bridge_port *p) in nbp_vlan_group()
801 const struct net_bridge_port *p) in nbp_vlan_group_rcu()
851 static inline bool br_should_learn(struct net_bridge_port *p, in br_should_learn()
887 static inline int nbp_vlan_add(struct net_bridge_port *port, u16 vid, u16 flags) in nbp_vlan_add()
892 static inline int nbp_vlan_delete(struct net_bridge_port *port, u16 vid) in nbp_vlan_delete()
897 static inline void nbp_vlan_flush(struct net_bridge_port *port) in nbp_vlan_flush()
907 static inline int nbp_vlan_init(struct net_bridge_port *port) in nbp_vlan_init()
933 static inline int nbp_get_num_vlan_infos(struct net_bridge_port *p, in nbp_get_num_vlan_infos()
946 const struct net_bridge_port *p) in nbp_vlan_group()
958 const struct net_bridge_port *p) in nbp_vlan_group_rcu()
986 void br_set_state(struct net_bridge_port *p, unsigned int state);
987 struct net_bridge_port *br_get_port(struct net_bridge *br, u16 port_no);
988 void br_init_port(struct net_bridge_port *p);
989 void br_become_designated_port(struct net_bridge_port *p);
1002 void br_stp_enable_port(struct net_bridge_port *p);
1003 void br_stp_disable_port(struct net_bridge_port *p);
1007 int br_stp_set_port_priority(struct net_bridge_port *p, unsigned long newprio);
1008 int br_stp_set_path_cost(struct net_bridge_port *p, unsigned long path_cost);
1018 void br_stp_port_timer_init(struct net_bridge_port *p);
1030 void br_ifinfo_notify(int event, struct net_bridge_port *port);
1039 int br_sysfs_addif(struct net_bridge_port *p);
1040 int br_sysfs_renameif(struct net_bridge_port *p);
1048 static inline int br_sysfs_addif(struct net_bridge_port *p) { return 0; } in br_sysfs_addif()
1049 static inline int br_sysfs_renameif(struct net_bridge_port *p) { return 0; } in br_sysfs_renameif()
1056 int nbp_switchdev_mark_set(struct net_bridge_port *p);
1057 void nbp_switchdev_frame_mark(const struct net_bridge_port *p,
1059 bool nbp_switchdev_allowed_egress(const struct net_bridge_port *p,
1062 static inline int nbp_switchdev_mark_set(struct net_bridge_port *p) in nbp_switchdev_mark_set()
1067 static inline void nbp_switchdev_frame_mark(const struct net_bridge_port *p, in nbp_switchdev_frame_mark()
1072 static inline bool nbp_switchdev_allowed_egress(const struct net_bridge_port *p, in nbp_switchdev_allowed_egress()