Lines Matching defs:net_device_ops
1225 struct net_device_ops { struct
1226 int (*ndo_init)(struct net_device *dev);
1227 void (*ndo_uninit)(struct net_device *dev);
1228 int (*ndo_open)(struct net_device *dev);
1229 int (*ndo_stop)(struct net_device *dev);
1230 netdev_tx_t (*ndo_start_xmit)(struct sk_buff *skb,
1232 netdev_features_t (*ndo_features_check)(struct sk_buff *skb,
1235 u16 (*ndo_select_queue)(struct net_device *dev,
1239 void (*ndo_change_rx_flags)(struct net_device *dev,
1241 void (*ndo_set_rx_mode)(struct net_device *dev);
1242 int (*ndo_set_mac_address)(struct net_device *dev,
1244 int (*ndo_validate_addr)(struct net_device *dev);
1245 int (*ndo_do_ioctl)(struct net_device *dev,
1247 int (*ndo_set_config)(struct net_device *dev,
1249 int (*ndo_change_mtu)(struct net_device *dev,
1251 int (*ndo_neigh_setup)(struct net_device *dev,
1253 void (*ndo_tx_timeout) (struct net_device *dev);
1255 void (*ndo_get_stats64)(struct net_device *dev,
1257 bool (*ndo_has_offload_stats)(const struct net_device *dev, int attr_id);
1258 int (*ndo_get_offload_stats)(int attr_id,
1261 struct net_device_stats* (*ndo_get_stats)(struct net_device *dev);
1263 int (*ndo_vlan_rx_add_vid)(struct net_device *dev,
1265 int (*ndo_vlan_rx_kill_vid)(struct net_device *dev,
1268 void (*ndo_poll_controller)(struct net_device *dev);
1269 int (*ndo_netpoll_setup)(struct net_device *dev,
1271 void (*ndo_netpoll_cleanup)(struct net_device *dev);
1273 int (*ndo_set_vf_mac)(struct net_device *dev,
1275 int (*ndo_set_vf_vlan)(struct net_device *dev,
1278 int (*ndo_set_vf_rate)(struct net_device *dev,
1281 int (*ndo_set_vf_spoofchk)(struct net_device *dev,
1283 int (*ndo_set_vf_trust)(struct net_device *dev,
1285 int (*ndo_get_vf_config)(struct net_device *dev,
1288 int (*ndo_set_vf_link_state)(struct net_device *dev,
1290 int (*ndo_get_vf_stats)(struct net_device *dev,
1294 int (*ndo_set_vf_port)(struct net_device *dev,
1297 int (*ndo_get_vf_port)(struct net_device *dev,
1299 int (*ndo_set_vf_guid)(struct net_device *dev,
1302 int (*ndo_set_vf_rss_query_en)(
1305 int (*ndo_setup_tc)(struct net_device *dev,
1309 int (*ndo_fcoe_enable)(struct net_device *dev);
1310 int (*ndo_fcoe_disable)(struct net_device *dev);
1311 int (*ndo_fcoe_ddp_setup)(struct net_device *dev,
1315 int (*ndo_fcoe_ddp_done)(struct net_device *dev,
1317 int (*ndo_fcoe_ddp_target)(struct net_device *dev,
1321 int (*ndo_fcoe_get_hbainfo)(struct net_device *dev,
1328 int (*ndo_fcoe_get_wwn)(struct net_device *dev,
1333 int (*ndo_rx_flow_steer)(struct net_device *dev,
1338 int (*ndo_add_slave)(struct net_device *dev,
1341 int (*ndo_del_slave)(struct net_device *dev,
1343 netdev_features_t (*ndo_fix_features)(struct net_device *dev,
1345 int (*ndo_set_features)(struct net_device *dev,
1347 int (*ndo_neigh_construct)(struct net_device *dev,
1349 void (*ndo_neigh_destroy)(struct net_device *dev,
1352 int (*ndo_fdb_add)(struct ndmsg *ndm,
1358 int (*ndo_fdb_del)(struct ndmsg *ndm,
1363 int (*ndo_fdb_dump)(struct sk_buff *skb,
1369 int (*ndo_bridge_setlink)(struct net_device *dev,
1372 int (*ndo_bridge_getlink)(struct sk_buff *skb,
1377 int (*ndo_bridge_dellink)(struct net_device *dev,
1380 int (*ndo_change_carrier)(struct net_device *dev,
1382 int (*ndo_get_phys_port_id)(struct net_device *dev,
1384 int (*ndo_get_phys_port_name)(struct net_device *dev,
1386 void (*ndo_udp_tunnel_add)(struct net_device *dev,
1388 void (*ndo_udp_tunnel_del)(struct net_device *dev,
1390 void* (*ndo_dfwd_add_station)(struct net_device *pdev,
1392 void (*ndo_dfwd_del_station)(struct net_device *pdev,
1395 int (*ndo_get_lock_subclass)(struct net_device *dev);
1396 int (*ndo_set_tx_maxrate)(struct net_device *dev,
1399 int (*ndo_get_iflink)(const struct net_device *dev);
1400 int (*ndo_change_proto_down)(struct net_device *dev,
1402 int (*ndo_fill_metadata_dst)(struct net_device *dev,
1404 void (*ndo_set_rx_headroom)(struct net_device *dev,
1406 int (*ndo_bpf)(struct net_device *dev,
1408 int (*ndo_xdp_xmit)(struct net_device *dev, int n,
1411 int (*ndo_xsk_async_xmit)(struct net_device *dev,