Lines Matching defs:net_device_ops
1321 struct net_device_ops { struct
1322 int (*ndo_init)(struct net_device *dev);
1323 void (*ndo_uninit)(struct net_device *dev);
1324 int (*ndo_open)(struct net_device *dev);
1325 int (*ndo_stop)(struct net_device *dev);
1326 netdev_tx_t (*ndo_start_xmit)(struct sk_buff *skb,
1328 netdev_features_t (*ndo_features_check)(struct sk_buff *skb,
1331 u16 (*ndo_select_queue)(struct net_device *dev,
1334 void (*ndo_change_rx_flags)(struct net_device *dev,
1336 void (*ndo_set_rx_mode)(struct net_device *dev);
1337 int (*ndo_set_mac_address)(struct net_device *dev,
1339 int (*ndo_validate_addr)(struct net_device *dev);
1340 int (*ndo_do_ioctl)(struct net_device *dev,
1342 int (*ndo_set_config)(struct net_device *dev,
1344 int (*ndo_change_mtu)(struct net_device *dev,
1346 int (*ndo_neigh_setup)(struct net_device *dev,
1348 void (*ndo_tx_timeout) (struct net_device *dev,
1351 void (*ndo_get_stats64)(struct net_device *dev,
1353 bool (*ndo_has_offload_stats)(const struct net_device *dev, int attr_id);
1354 int (*ndo_get_offload_stats)(int attr_id,
1357 struct net_device_stats* (*ndo_get_stats)(struct net_device *dev);
1359 int (*ndo_vlan_rx_add_vid)(struct net_device *dev,
1361 int (*ndo_vlan_rx_kill_vid)(struct net_device *dev,
1364 void (*ndo_poll_controller)(struct net_device *dev);
1365 int (*ndo_netpoll_setup)(struct net_device *dev,
1367 void (*ndo_netpoll_cleanup)(struct net_device *dev);
1369 int (*ndo_set_vf_mac)(struct net_device *dev,
1371 int (*ndo_set_vf_vlan)(struct net_device *dev,
1374 int (*ndo_set_vf_rate)(struct net_device *dev,
1377 int (*ndo_set_vf_spoofchk)(struct net_device *dev,
1379 int (*ndo_set_vf_trust)(struct net_device *dev,
1381 int (*ndo_get_vf_config)(struct net_device *dev,
1384 int (*ndo_set_vf_link_state)(struct net_device *dev,
1386 int (*ndo_get_vf_stats)(struct net_device *dev,
1390 int (*ndo_set_vf_port)(struct net_device *dev,
1393 int (*ndo_get_vf_port)(struct net_device *dev,
1395 int (*ndo_get_vf_guid)(struct net_device *dev,
1399 int (*ndo_set_vf_guid)(struct net_device *dev,
1402 int (*ndo_set_vf_rss_query_en)(
1405 int (*ndo_setup_tc)(struct net_device *dev,
1409 int (*ndo_fcoe_enable)(struct net_device *dev);
1410 int (*ndo_fcoe_disable)(struct net_device *dev);
1411 int (*ndo_fcoe_ddp_setup)(struct net_device *dev,
1415 int (*ndo_fcoe_ddp_done)(struct net_device *dev,
1417 int (*ndo_fcoe_ddp_target)(struct net_device *dev,
1421 int (*ndo_fcoe_get_hbainfo)(struct net_device *dev,
1428 int (*ndo_fcoe_get_wwn)(struct net_device *dev,
1433 int (*ndo_rx_flow_steer)(struct net_device *dev,
1438 int (*ndo_add_slave)(struct net_device *dev,
1441 int (*ndo_del_slave)(struct net_device *dev,
1443 struct net_device* (*ndo_get_xmit_slave)(struct net_device *dev,
1446 netdev_features_t (*ndo_fix_features)(struct net_device *dev,
1448 int (*ndo_set_features)(struct net_device *dev,
1450 int (*ndo_neigh_construct)(struct net_device *dev,
1452 void (*ndo_neigh_destroy)(struct net_device *dev,
1455 int (*ndo_fdb_add)(struct ndmsg *ndm,
1462 int (*ndo_fdb_del)(struct ndmsg *ndm,
1467 int (*ndo_fdb_dump)(struct sk_buff *skb,
1472 int (*ndo_fdb_get)(struct sk_buff *skb,
1478 int (*ndo_bridge_setlink)(struct net_device *dev,
1482 int (*ndo_bridge_getlink)(struct sk_buff *skb,
1487 int (*ndo_bridge_dellink)(struct net_device *dev,
1490 int (*ndo_change_carrier)(struct net_device *dev,
1492 int (*ndo_get_phys_port_id)(struct net_device *dev,
1494 int (*ndo_get_port_parent_id)(struct net_device *dev,
1496 int (*ndo_get_phys_port_name)(struct net_device *dev,
1498 void (*ndo_udp_tunnel_add)(struct net_device *dev,
1500 void (*ndo_udp_tunnel_del)(struct net_device *dev,
1502 void* (*ndo_dfwd_add_station)(struct net_device *pdev,
1504 void (*ndo_dfwd_del_station)(struct net_device *pdev,
1507 int (*ndo_set_tx_maxrate)(struct net_device *dev,
1510 int (*ndo_get_iflink)(const struct net_device *dev);
1511 int (*ndo_change_proto_down)(struct net_device *dev,
1513 int (*ndo_fill_metadata_dst)(struct net_device *dev,
1515 void (*ndo_set_rx_headroom)(struct net_device *dev,
1517 int (*ndo_bpf)(struct net_device *dev,
1519 int (*ndo_xdp_xmit)(struct net_device *dev, int n,
1522 int (*ndo_xsk_wakeup)(struct net_device *dev,
1524 struct devlink_port * (*ndo_get_devlink_port)(struct net_device *dev);
1525 int (*ndo_tunnel_ctl)(struct net_device *dev,
1527 struct net_device * (*ndo_get_peer_dev)(struct net_device *dev);