Home
last modified time | relevance | path

Searched full:net_device (Results 1 – 25 of 1878) sorted by relevance

12345678910>>...76

/linux/include/net/
H A Ddcbnl.h13 struct net_device;
22 u16 dcb_getrewr(struct net_device *dev, struct dcb_app *app);
23 int dcb_setrewr(struct net_device *dev, struct dcb_app *app);
24 int dcb_delrewr(struct net_device *dev, struct dcb_app *app);
26 int dcb_setapp(struct net_device *, struct dcb_app *);
27 u8 dcb_getapp(struct net_device *, struct dcb_app *);
28 int dcb_ieee_setapp(struct net_device *, struct dcb_app *);
29 int dcb_ieee_delapp(struct net_device *, struct dcb_app *);
30 u8 dcb_ieee_getapp_mask(struct net_device *, struct dcb_app *);
36 void dcb_getrewr_prio_pcp_mask_map(const struct net_device *dev,
[all …]
H A Dswitchdev.h52 struct net_device *orig_dev;
56 void (*complete)(struct net_device *dev, int err, void *priv);
88 struct net_device *orig_dev;
92 void (*complete)(struct net_device *dev, int err, void *priv);
126 struct net_device *p_port;
127 struct net_device *s_port;
185 struct net_device *i_port;
205 struct net_device *dev;
236 struct net_device *dev;
271 static inline struct net_device *
[all …]
H A Dfailover.h10 int (*slave_pre_register)(struct net_device *slave_dev,
11 struct net_device *failover_dev);
12 int (*slave_register)(struct net_device *slave_dev,
13 struct net_device *failover_dev);
14 int (*slave_pre_unregister)(struct net_device *slave_dev,
15 struct net_device *failover_dev);
16 int (*slave_unregister)(struct net_device *slave_dev,
17 struct net_device *failover_dev);
18 int (*slave_link_change)(struct net_device *slave_dev,
19 struct net_device *failover_dev);
[all …]
H A Drtnetlink.h120 * @priv_size: sizeof net_device private space
121 * @setup: net_device setup function
147 struct net_device *(*alloc)(struct nlattr *tb[],
152 void (*setup)(struct net_device *dev);
162 int (*newlink)(struct net_device *dev,
165 int (*changelink)(struct net_device *dev,
169 void (*dellink)(struct net_device *dev,
172 size_t (*get_size)(const struct net_device *dev);
174 const struct net_device *dev);
176 size_t (*get_xstats_size)(const struct net_device *dev);
[all …]
H A Dl3mdev.h36 u32 (*l3mdev_fib_table)(const struct net_device *dev);
37 struct sk_buff * (*l3mdev_l3_rcv)(struct net_device *dev,
39 struct sk_buff * (*l3mdev_l3_out)(struct net_device *dev,
44 struct dst_entry * (*l3mdev_link_scope_lookup)(const struct net_device *dev,
78 int l3mdev_master_ifindex_rcu(const struct net_device *dev);
79 static inline int l3mdev_master_ifindex(struct net_device *dev) in l3mdev_master_ifindex()
92 struct net_device *dev; in l3mdev_master_ifindex_by_index()
109 struct net_device *l3mdev_master_dev_rcu(const struct net_device *_dev) in l3mdev_master_dev_rcu()
117 struct net_device *dev = (struct net_device *)_dev; in l3mdev_master_dev_rcu()
118 struct net_device *master; in l3mdev_master_dev_rcu()
[all …]
H A Dndisc.h65 struct net_device;
127 struct ndisc_options *ndisc_parse_options(const struct net_device *dev,
141 * int (*parse_options)(const struct net_device *dev,
149 * void (*update)(const struct net_device *dev, struct neighbour *n,
156 * int (*opt_addr_space)(const struct net_device *dev, u8 icmp6_type,
163 * void (*fill_addr_option)(const struct net_device *dev,
173 * void (*prefix_rcv_add_addr)(struct net *net, struct net_device *dev,
189 int (*parse_options)(const struct net_device *dev,
192 void (*update)(const struct net_device *dev, struct neighbour *n,
195 int (*opt_addr_space)(const struct net_device *dev, u8 icmp6_type,
[all …]
H A Dudp_tunnel.h126 void udp_tunnel_push_rx_port(struct net_device *dev, struct socket *sock,
128 void udp_tunnel_drop_rx_port(struct net_device *dev, struct socket *sock,
141 struct net_device *dev,
151 struct net_device *dev,
158 struct net_device *dev,
233 struct net_device *dev;
268 int (*set_port)(struct net_device *dev,
271 int (*unset_port)(struct net_device *dev,
276 int (*sync_table)(struct net_device *dev, unsigned int table);
299 void (*get_port)(struct net_device *dev, unsigned int table,
[all …]
/linux/include/linux/
H A Dif_bridge.h73 int br_multicast_list_adjacent(struct net_device *dev,
75 bool br_multicast_has_querier_anywhere(struct net_device *dev, int proto);
76 bool br_multicast_has_querier_adjacent(struct net_device *dev, int proto);
77 bool br_multicast_has_router_adjacent(struct net_device *dev, int proto);
78 bool br_multicast_enabled(const struct net_device *dev);
79 bool br_multicast_router(const struct net_device *dev);
81 static inline int br_multicast_list_adjacent(struct net_device *dev, in br_multicast_list_adjacent()
86 static inline bool br_multicast_has_querier_anywhere(struct net_device *dev, in br_multicast_has_querier_anywhere()
91 static inline bool br_multicast_has_querier_adjacent(struct net_device *dev, in br_multicast_has_querier_adjacent()
97 static inline bool br_multicast_has_router_adjacent(struct net_device *dev, in br_multicast_has_router_adjacent()
[all …]
H A Dhdlc.h20 int (*open)(struct net_device *dev);
21 void (*close)(struct net_device *dev);
22 void (*start)(struct net_device *dev); /* if open & DCD */
23 void (*stop)(struct net_device *dev); /* if open & !DCD */
24 void (*detach)(struct net_device *dev);
25 int (*ioctl)(struct net_device *dev, struct if_settings *ifs);
26 __be16 (*type_trans)(struct sk_buff *skb, struct net_device *dev);
28 netdev_tx_t (*xmit)(struct sk_buff *skb, struct net_device *dev);
37 int (*attach)(struct net_device *dev,
41 netdev_tx_t (*xmit)(struct sk_buff *skb, struct net_device *dev);
[all …]
H A Dlapb.h12 struct net_device;
33 void (*connect_confirmation)(struct net_device *dev, int reason);
34 void (*connect_indication)(struct net_device *dev, int reason);
35 void (*disconnect_confirmation)(struct net_device *dev, int reason);
36 void (*disconnect_indication)(struct net_device *dev, int reason);
37 int (*data_indication)(struct net_device *dev, struct sk_buff *skb);
38 void (*data_transmit)(struct net_device *dev, struct sk_buff *skb);
53 extern int lapb_register(struct net_device *dev,
55 extern int lapb_unregister(struct net_device *dev);
56 extern int lapb_getparms(struct net_device *dev, struct lapb_parms_struct *parms);
[all …]
H A Dethtool_netlink.h34 void ethtool_aggregate_mac_stats(struct net_device *dev,
36 void ethtool_aggregate_phy_stats(struct net_device *dev,
38 void ethtool_aggregate_ctrl_stats(struct net_device *dev,
40 void ethtool_aggregate_pause_stats(struct net_device *dev,
42 void ethtool_aggregate_rmon_stats(struct net_device *dev,
44 bool ethtool_dev_mm_supported(struct net_device *dev);
46 void ethnl_pse_send_ntf(struct net_device *netdev, unsigned long notif);
91 ethtool_aggregate_mac_stats(struct net_device *dev, in ethtool_aggregate_mac_stats()
97 ethtool_aggregate_phy_stats(struct net_device *dev, in ethtool_aggregate_phy_stats()
103 ethtool_aggregate_ctrl_stats(struct net_device *dev, in ethtool_aggregate_ctrl_stats()
[all …]
/linux/net/8021q/
H A Dvlan.h25 struct net_device **vlan_devices_arrays[VLAN_PROTO_NUM]
30 struct net_device *real_dev; /* The ethernet(like) device
53 static inline struct net_device *__vlan_group_get_device(struct vlan_group *vg, in __vlan_group_get_device()
57 struct net_device **array; in __vlan_group_get_device()
68 static inline struct net_device *vlan_group_get_device(struct vlan_group *vg, in vlan_group_get_device()
82 struct net_device *dev) in vlan_group_set_device()
85 struct net_device **array; in vlan_group_set_device()
95 static inline struct net_device *vlan_find_dev(struct net_device *real_dev, in vlan_find_dev()
107 static inline netdev_features_t vlan_tnl_features(struct net_device *real_dev) in vlan_tnl_features()
129 void vlan_dev_set_ingress_priority(const struct net_device *dev,
[all …]
H A Dvlan_dev.c46 static int vlan_dev_hard_header(struct sk_buff *skb, struct net_device *dev, in vlan_dev_hard_header()
101 struct net_device *dev) in vlan_dev_hard_start_xmit()
143 static int vlan_dev_change_mtu(struct net_device *dev, int new_mtu) in vlan_dev_change_mtu()
145 struct net_device *real_dev = vlan_dev_priv(dev)->real_dev; in vlan_dev_change_mtu()
158 void vlan_dev_set_ingress_priority(const struct net_device *dev, in vlan_dev_set_ingress_priority()
171 int vlan_dev_set_egress_priority(const struct net_device *dev, in vlan_dev_set_egress_priority()
216 int vlan_dev_change_flags(const struct net_device *dev, u32 flags, u32 mask) in vlan_dev_change_flags()
244 void vlan_dev_get_realdev_name(const struct net_device *dev, char *result, size_t size) in vlan_dev_get_realdev_name()
249 bool vlan_dev_inherit_address(struct net_device *dev, in vlan_dev_inherit_address()
250 struct net_device *real_dev) in vlan_dev_inherit_address()
[all …]
/linux/net/core/
H A Ddev.h30 struct net_device *dev_get_by_napi_id(unsigned int napi_id);
32 struct net_device *netdev_get_by_index_lock(struct net *net, int ifindex);
33 struct net_device *__netdev_put_lock(struct net_device *dev, struct net *net);
34 struct net_device *
35 netdev_xa_find_lock(struct net *net, struct net_device *dev,
38 DEFINE_FREE(netdev_unlock, struct net_device *, if (_T) netdev_unlock(_T));
41 for (struct net_device *var_name __free(netdev_unlock) = NULL; \
45 struct net_device *
47 struct net_device *
[all...]
/linux/drivers/net/ethernet/sfc/
H A Dethtool_common.h14 void efx_ethtool_get_drvinfo(struct net_device *net_dev,
16 u32 efx_ethtool_get_msglevel(struct net_device *net_dev);
17 void efx_ethtool_set_msglevel(struct net_device *net_dev, u32 msg_enable);
18 void efx_ethtool_self_test(struct net_device *net_dev,
20 void efx_ethtool_get_pauseparam(struct net_device *net_dev,
22 int efx_ethtool_set_pauseparam(struct net_device *net_dev,
27 int efx_ethtool_get_sset_count(struct net_device *net_dev, int string_set);
28 void efx_ethtool_get_strings(struct net_device *net_dev, u32 string_set,
30 void efx_ethtool_get_stats(struct net_device *net_dev,
33 int efx_ethtool_get_link_ksettings(struct net_device *net_dev,
[all …]
/linux/drivers/net/hyperv/
H A Dnetvsc.c35 int netvsc_switch_datapath(struct net_device *ndev, bool vf) in netvsc_switch_datapath()
130 struct netvsc_device *net_device; in alloc_net_device() local
132 net_device = kzalloc(sizeof(struct netvsc_device), GFP_KERNEL); in alloc_net_device()
133 if (!net_device) in alloc_net_device()
136 init_waitqueue_head(&net_device->wait_drain); in alloc_net_device()
137 net_device->destroy = false; in alloc_net_device()
138 net_device->tx_disable = true; in alloc_net_device()
140 net_device->max_pkt = RNDIS_MAX_PKT_DEFAULT; in alloc_net_device()
141 net_device->pkt_align = RNDIS_PKT_ALIGN_DEFAULT; in alloc_net_device()
143 init_completion(&net_device->channel_init_wait); in alloc_net_device()
[all …]
/linux/drivers/net/ethernet/sfc/siena/
H A Dethtool_common.h14 void efx_siena_ethtool_get_drvinfo(struct net_device *net_dev,
16 u32 efx_siena_ethtool_get_msglevel(struct net_device *net_dev);
17 void efx_siena_ethtool_set_msglevel(struct net_device *net_dev, u32 msg_enable);
18 void efx_siena_ethtool_self_test(struct net_device *net_dev,
20 void efx_siena_ethtool_get_pauseparam(struct net_device *net_dev,
22 int efx_siena_ethtool_set_pauseparam(struct net_device *net_dev,
24 int efx_siena_ethtool_get_sset_count(struct net_device *net_dev, int string_set);
25 void efx_siena_ethtool_get_strings(struct net_device *net_dev, u32 string_set,
27 void efx_siena_ethtool_get_stats(struct net_device *net_dev,
30 int efx_siena_ethtool_get_link_ksettings(struct net_device *net_dev,
[all …]
/linux/net/switchdev/
H A Dswitchdev.c54 typedef void switchdev_deferred_func_t(struct net_device *dev,
59 struct net_device *dev;
111 static int switchdev_deferred_enqueue(struct net_device *dev, in switchdev_deferred_enqueue()
132 struct net_device *dev, in switchdev_port_attr_notify()
158 static int switchdev_port_attr_set_now(struct net_device *dev, in switchdev_port_attr_set_now()
166 static void switchdev_port_attr_set_deferred(struct net_device *dev, in switchdev_port_attr_set_deferred()
180 static int switchdev_port_attr_set_defer(struct net_device *dev, in switchdev_port_attr_set_defer()
197 int switchdev_port_attr_set(struct net_device *dev, in switchdev_port_attr_set()
224 struct net_device *dev, in switchdev_port_obj_notify()
247 static void switchdev_obj_id_to_helpful_msg(struct net_device *dev, in switchdev_obj_id_to_helpful_msg()
[all …]
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_dcbnl.c13 static u8 qede_dcbnl_getstate(struct net_device *netdev) in qede_dcbnl_getstate()
20 static u8 qede_dcbnl_setstate(struct net_device *netdev, u8 state) in qede_dcbnl_setstate()
27 static void qede_dcbnl_getpermhwaddr(struct net_device *netdev, in qede_dcbnl_getpermhwaddr()
33 static void qede_dcbnl_getpgtccfgtx(struct net_device *netdev, int prio, in qede_dcbnl_getpgtccfgtx()
43 static void qede_dcbnl_getpgbwgcfgtx(struct net_device *netdev, in qede_dcbnl_getpgbwgcfgtx()
51 static void qede_dcbnl_getpgtccfgrx(struct net_device *netdev, int prio, in qede_dcbnl_getpgtccfgrx()
61 static void qede_dcbnl_getpgbwgcfgrx(struct net_device *netdev, in qede_dcbnl_getpgbwgcfgrx()
69 static void qede_dcbnl_getpfccfg(struct net_device *netdev, int prio, in qede_dcbnl_getpfccfg()
77 static void qede_dcbnl_setpfccfg(struct net_device *netdev, int prio, in qede_dcbnl_setpfccfg()
85 static u8 qede_dcbnl_getcap(struct net_device *netdev, int capid, u8 *cap) in qede_dcbnl_getcap()
[all …]
/linux/net/dsa/
H A Duser.h14 struct net_device;
23 struct net_device *dev);
40 void dsa_user_destroy(struct net_device *user_dev);
41 int dsa_user_suspend(struct net_device *user_dev);
42 int dsa_user_resume(struct net_device *user_dev);
45 int dsa_user_host_uc_install(struct net_device *dev, const u8 *addr);
46 void dsa_user_host_uc_uninstall(struct net_device *dev);
47 void dsa_user_sync_ha(struct net_device *dev);
48 void dsa_user_unsync_ha(struct net_device *dev);
49 void dsa_user_setup_tagger(struct net_device *user);
[all …]
/linux/drivers/net/
H A Dnet_failover.c30 static bool net_failover_xmit_ready(struct net_device *dev) in net_failover_xmit_ready()
35 static int net_failover_open(struct net_device *dev) in net_failover_open()
38 struct net_device *primary_dev, *standby_dev; in net_failover_open()
71 static int net_failover_close(struct net_device *dev) in net_failover_close()
74 struct net_device *slave_dev; in net_failover_close()
90 struct net_device *dev) in net_failover_drop_xmit()
98 struct net_device *dev) in net_failover_start_xmit()
101 struct net_device *xmit_dev; in net_failover_start_xmit()
117 static u16 net_failover_select_queue(struct net_device *dev, in net_failover_select_queue()
119 struct net_device *sb_dev) in net_failover_select_queue()
[all …]
/linux/net/ethtool/
H A Dcommon.h38 int __ethtool_get_link(struct net_device *dev);
43 int ethtool_check_max_channel(struct net_device *dev,
49 int ethtool_check_rss_ctx_busy(struct net_device *dev, u32 rss_context);
52 void ethtool_ringparam_get_cfg(struct net_device *dev,
57 int ethtool_get_rx_ring_count(struct net_device *dev);
59 int __ethtool_get_ts_info(struct net_device *dev, struct kernel_ethtool_ts_info *info);
60 int ethtool_get_ts_info_by_phc(struct net_device *dev,
63 int ethtool_net_get_ts_info_by_phc(struct net_device *dev,
67 ethtool_phy_get_ts_info_by_phc(struct net_device *dev,
70 bool net_support_hwtstamp_qualifier(struct net_device *de
[all...]
/linux/drivers/staging/octeon/
H A Docteon-ethernet.h57 struct net_device *netdev;
72 void (*poll)(struct net_device *dev);
79 int cvm_oct_rgmii_open(struct net_device *dev);
81 int cvm_oct_sgmii_init(struct net_device *dev);
82 int cvm_oct_sgmii_open(struct net_device *dev);
84 int cvm_oct_spi_init(struct net_device *dev);
85 void cvm_oct_spi_uninit(struct net_device *dev);
87 int cvm_oct_common_init(struct net_device *dev);
88 void cvm_oct_common_uninit(struct net_device *dev);
89 void cvm_oct_adjust_link(struct net_device *dev);
[all …]
/linux/net/wireless/
H A Drdev-ops.h69 struct net_device *dev, enum nl80211_iftype type, in rdev_change_virtual_intf()
80 struct net_device *netdev, int link_id, in rdev_add_key()
94 rdev_get_key(struct cfg80211_registered_device *rdev, struct net_device *netdev, in rdev_get_key()
109 struct net_device *netdev, int link_id, in rdev_del_key()
123 struct net_device *netdev, int link_id, u8 key_index, in rdev_set_default_key()
137 struct net_device *netdev, int link_id, u8 key_index) in rdev_set_default_mgmt_key()
150 struct net_device *netdev, int link_id, in rdev_set_default_beacon_key()
164 struct net_device *dev, in rdev_start_ap()
175 struct net_device *dev, in rdev_change_beacon()
186 struct net_device *dev, unsigned int link_id) in rdev_stop_ap()
[all …]
/linux/net/batman-adv/
H A Dhard-interface.c61 * batadv_hardif_get_by_netdev() - Get hard interface object of a net_device
62 * @net_dev: net_device to search for
67 batadv_hardif_get_by_netdev(const struct net_device *net_dev) in batadv_hardif_get_by_netdev()
87 * @netdev: net_device to check
92 static struct net *batadv_getlink_net(const struct net_device *netdev, in batadv_getlink_net()
115 static bool batadv_mutual_parents(const struct net_device *dev1, in batadv_mutual_parents()
117 const struct net_device *dev2, in batadv_mutual_parents()
150 static bool batadv_is_on_batman_iface(const struct net_device *net_dev) in batadv_is_on_batman_iface()
153 struct net_device *parent_dev; in batadv_is_on_batman_iface()
188 static bool batadv_is_valid_iface(const struct net_device *net_de in batadv_is_valid_iface()
264 batadv_get_real_netdev(struct net_device * net_device) batadv_get_real_netdev() argument
283 batadv_is_wext_netdev(struct net_device * net_device) batadv_is_wext_netdev() argument
307 batadv_is_cfg80211_netdev(struct net_device * net_device) batadv_is_cfg80211_netdev() argument
327 batadv_wifi_flags_evaluate(struct net_device * net_device) batadv_wifi_flags_evaluate() argument
[all...]

12345678910>>...76