Lines Matching refs:net_device
143 struct net_device *dev;
196 static inline struct net_bridge_port *br_port_get_rcu(const struct net_device *dev) in br_port_get_rcu()
201 static inline struct net_bridge_port *br_port_get_rtnl(const struct net_device *dev) in br_port_get_rtnl()
211 struct net_device *dev;
300 struct net_device *brdev;
345 void br_dev_setup(struct net_device *dev);
346 void br_dev_delete(struct net_device *dev, struct list_head *list);
347 netdev_tx_t br_dev_xmit(struct sk_buff *skb, struct net_device *dev);
390 int br_fdb_test_addr(struct net_device *dev, unsigned char *addr);
399 struct net_device *dev, const unsigned char *addr, u16 vid);
400 int br_fdb_add(struct ndmsg *nlh, struct nlattr *tb[], struct net_device *dev,
403 struct net_device *dev, struct net_device *fdev, int idx);
425 int br_add_if(struct net_bridge *br, struct net_device *dev);
426 int br_del_if(struct net_bridge *br, struct net_device *dev);
437 static inline bool br_rx_handler_check_rcu(const struct net_device *dev) in br_rx_handler_check_rcu()
442 static inline struct net_bridge_port *br_port_get_check_rcu(const struct net_device *dev) in br_port_get_check_rcu()
448 int br_dev_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
487 void br_mdb_notify(struct net_device *dev, struct net_bridge_port *port,
811 struct net_device *dev);
820 extern int (*br_fdb_test_addr_hook)(struct net_device *dev, unsigned char *addr);
828 int br_setlink(struct net_device *dev, struct nlmsghdr *nlmsg, u16 flags);
829 int br_dellink(struct net_device *dev, struct nlmsghdr *nlmsg, u16 flags);
830 int br_getlink(struct sk_buff *skb, u32 pid, u32 seq, struct net_device *dev,
840 int br_sysfs_addbr(struct net_device *dev);
841 void br_sysfs_delbr(struct net_device *dev);
847 static inline int br_sysfs_addbr(struct net_device *dev) { return 0; } in br_sysfs_addbr()
848 static inline void br_sysfs_delbr(struct net_device *dev) { return; } in br_sysfs_delbr()