Lines Matching refs:net_device
43 struct net_device *dev;
67 static void macvlan_port_destroy(struct net_device *dev);
83 static struct macvlan_port *macvlan_port_get_rcu(const struct net_device *dev) in macvlan_port_get_rcu()
88 static struct macvlan_port *macvlan_port_get_rtnl(const struct net_device *dev) in macvlan_port_get_rtnl()
202 struct net_device *dev = vlan->dev; in macvlan_broadcast_one()
233 struct net_device *src, in macvlan_broadcast()
365 struct net_device *dev; in macvlan_forward_source_one()
408 struct net_device *dev; in macvlan_handle_frame()
469 static int macvlan_queue_xmit(struct sk_buff *skb, struct net_device *dev) in macvlan_queue_xmit()
510 struct net_device *dev) in macvlan_start_xmit()
540 static int macvlan_hard_header(struct sk_buff *skb, struct net_device *dev, in macvlan_hard_header()
545 struct net_device *lowerdev = vlan->lowerdev; in macvlan_hard_header()
560 static int macvlan_open(struct net_device *dev) in macvlan_open()
563 struct net_device *lowerdev = vlan->lowerdev; in macvlan_open()
625 static int macvlan_stop(struct net_device *dev) in macvlan_stop()
628 struct net_device *lowerdev = vlan->lowerdev; in macvlan_stop()
659 static int macvlan_sync_address(struct net_device *dev, unsigned char *addr) in macvlan_sync_address()
662 struct net_device *lowerdev = vlan->lowerdev; in macvlan_sync_address()
686 static int macvlan_set_mac_address(struct net_device *dev, void *p) in macvlan_set_mac_address()
702 static void macvlan_change_rx_flags(struct net_device *dev, int change) in macvlan_change_rx_flags()
705 struct net_device *lowerdev = vlan->lowerdev; in macvlan_change_rx_flags()
717 static void macvlan_set_mac_lists(struct net_device *dev) in macvlan_set_mac_lists()
740 static int macvlan_change_mtu(struct net_device *dev, int new_mtu) in macvlan_change_mtu()
771 static int macvlan_get_nest_level(struct net_device *dev) in macvlan_get_nest_level()
776 static void macvlan_set_lockdep_class_one(struct net_device *dev, in macvlan_set_lockdep_class_one()
784 static void macvlan_set_lockdep_class(struct net_device *dev) in macvlan_set_lockdep_class()
792 static int macvlan_init(struct net_device *dev) in macvlan_init()
795 const struct net_device *lowerdev = vlan->lowerdev; in macvlan_init()
815 static void macvlan_uninit(struct net_device *dev) in macvlan_uninit()
828 static struct rtnl_link_stats64 *macvlan_dev_get_stats64(struct net_device *dev, in macvlan_dev_get_stats64()
869 static int macvlan_vlan_rx_add_vid(struct net_device *dev, in macvlan_vlan_rx_add_vid()
873 struct net_device *lowerdev = vlan->lowerdev; in macvlan_vlan_rx_add_vid()
878 static int macvlan_vlan_rx_kill_vid(struct net_device *dev, in macvlan_vlan_rx_kill_vid()
882 struct net_device *lowerdev = vlan->lowerdev; in macvlan_vlan_rx_kill_vid()
889 struct net_device *dev, in macvlan_fdb_add()
914 struct net_device *dev, in macvlan_fdb_del()
934 static void macvlan_ethtool_get_drvinfo(struct net_device *dev, in macvlan_ethtool_get_drvinfo()
941 static int macvlan_ethtool_get_settings(struct net_device *dev, in macvlan_ethtool_get_settings()
949 static netdev_features_t macvlan_fix_features(struct net_device *dev, in macvlan_fix_features()
969 static void macvlan_dev_poll_controller(struct net_device *dev) in macvlan_dev_poll_controller()
974 static int macvlan_dev_netpoll_setup(struct net_device *dev, struct netpoll_info *npinfo) in macvlan_dev_netpoll_setup()
977 struct net_device *real_dev = vlan->lowerdev; in macvlan_dev_netpoll_setup()
998 static void macvlan_dev_netpoll_cleanup(struct net_device *dev) in macvlan_dev_netpoll_cleanup()
1012 static int macvlan_dev_get_iflink(const struct net_device *dev) in macvlan_dev_get_iflink()
1052 void macvlan_common_setup(struct net_device *dev) in macvlan_common_setup()
1066 static void macvlan_setup(struct net_device *dev) in macvlan_setup()
1072 static int macvlan_port_create(struct net_device *dev) in macvlan_port_create()
1107 static void macvlan_port_destroy(struct net_device *dev) in macvlan_port_destroy()
1241 int macvlan_common_newlink(struct net *src_net, struct net_device *dev, in macvlan_common_newlink()
1246 struct net_device *lowerdev; in macvlan_common_newlink()
1337 static int macvlan_newlink(struct net *src_net, struct net_device *dev, in macvlan_newlink()
1343 void macvlan_dellink(struct net_device *dev, struct list_head *head) in macvlan_dellink()
1355 static int macvlan_changelink(struct net_device *dev, in macvlan_changelink()
1413 static size_t macvlan_get_size(const struct net_device *dev) in macvlan_get_size()
1442 const struct net_device *dev) in macvlan_fill_info()
1495 static struct net *macvlan_get_link_net(const struct net_device *dev) in macvlan_get_link_net()
1511 struct net_device *dev = netdev_notifier_info_to_dev(ptr); in macvlan_device_event()