Lines Matching defs:net_device_ops

1381 struct net_device_ops {  struct
1382 int (*ndo_init)(struct net_device *dev);
1383 void (*ndo_uninit)(struct net_device *dev);
1384 int (*ndo_open)(struct net_device *dev);
1385 int (*ndo_stop)(struct net_device *dev);
1386 netdev_tx_t (*ndo_start_xmit)(struct sk_buff *skb,
1388 netdev_features_t (*ndo_features_check)(struct sk_buff *skb,
1391 u16 (*ndo_select_queue)(struct net_device *dev,
1394 void (*ndo_change_rx_flags)(struct net_device *dev,
1396 void (*ndo_set_rx_mode)(struct net_device *dev);
1397 int (*ndo_set_mac_address)(struct net_device *dev,
1399 int (*ndo_validate_addr)(struct net_device *dev);
1400 int (*ndo_do_ioctl)(struct net_device *dev,
1402 int (*ndo_eth_ioctl)(struct net_device *dev,
1404 int (*ndo_siocbond)(struct net_device *dev,
1406 int (*ndo_siocwandev)(struct net_device *dev,
1408 int (*ndo_siocdevprivate)(struct net_device *dev,
1411 int (*ndo_set_config)(struct net_device *dev,
1413 int (*ndo_change_mtu)(struct net_device *dev,
1415 int (*ndo_neigh_setup)(struct net_device *dev,
1417 void (*ndo_tx_timeout) (struct net_device *dev,
1420 void (*ndo_get_stats64)(struct net_device *dev,
1422 bool (*ndo_has_offload_stats)(const struct net_device *dev, int attr_id);
1423 int (*ndo_get_offload_stats)(int attr_id,
1426 struct net_device_stats* (*ndo_get_stats)(struct net_device *dev);
1428 int (*ndo_vlan_rx_add_vid)(struct net_device *dev,
1430 int (*ndo_vlan_rx_kill_vid)(struct net_device *dev,
1433 void (*ndo_poll_controller)(struct net_device *dev);
1434 int (*ndo_netpoll_setup)(struct net_device *dev);
1435 void (*ndo_netpoll_cleanup)(struct net_device *dev);
1437 int (*ndo_set_vf_mac)(struct net_device *dev,
1439 int (*ndo_set_vf_vlan)(struct net_device *dev,
1442 int (*ndo_set_vf_rate)(struct net_device *dev,
1445 int (*ndo_set_vf_spoofchk)(struct net_device *dev,
1447 int (*ndo_set_vf_trust)(struct net_device *dev,
1449 int (*ndo_get_vf_config)(struct net_device *dev,
1452 int (*ndo_set_vf_link_state)(struct net_device *dev,
1454 int (*ndo_get_vf_stats)(struct net_device *dev,
1458 int (*ndo_set_vf_port)(struct net_device *dev,
1461 int (*ndo_get_vf_port)(struct net_device *dev,
1463 int (*ndo_get_vf_guid)(struct net_device *dev,
1467 int (*ndo_set_vf_guid)(struct net_device *dev,
1470 int (*ndo_set_vf_rss_query_en)(
1473 int (*ndo_setup_tc)(struct net_device *dev,
1477 int (*ndo_fcoe_enable)(struct net_device *dev);
1478 int (*ndo_fcoe_disable)(struct net_device *dev);
1479 int (*ndo_fcoe_ddp_setup)(struct net_device *dev,
1483 int (*ndo_fcoe_ddp_done)(struct net_device *dev,
1485 int (*ndo_fcoe_ddp_target)(struct net_device *dev,
1489 int (*ndo_fcoe_get_hbainfo)(struct net_device *dev,
1496 int (*ndo_fcoe_get_wwn)(struct net_device *dev,
1501 int (*ndo_rx_flow_steer)(struct net_device *dev,
1506 int (*ndo_add_slave)(struct net_device *dev,
1509 int (*ndo_del_slave)(struct net_device *dev,
1511 struct net_device* (*ndo_get_xmit_slave)(struct net_device *dev,
1514 struct net_device* (*ndo_sk_get_lower_dev)(struct net_device *dev,
1516 netdev_features_t (*ndo_fix_features)(struct net_device *dev,
1518 int (*ndo_set_features)(struct net_device *dev,
1520 int (*ndo_neigh_construct)(struct net_device *dev,
1522 void (*ndo_neigh_destroy)(struct net_device *dev,
1525 int (*ndo_fdb_add)(struct ndmsg *ndm,
1533 int (*ndo_fdb_del)(struct ndmsg *ndm,
1540 int (*ndo_fdb_del_bulk)(struct nlmsghdr *nlh,
1543 int (*ndo_fdb_dump)(struct sk_buff *skb,
1548 int (*ndo_fdb_get)(struct sk_buff *skb,
1554 int (*ndo_mdb_add)(struct net_device *dev,
1558 int (*ndo_mdb_del)(struct net_device *dev,
1561 int (*ndo_mdb_del_bulk)(struct net_device *dev,
1564 int (*ndo_mdb_dump)(struct net_device *dev,
1567 int (*ndo_mdb_get)(struct net_device *dev,
1571 int (*ndo_bridge_setlink)(struct net_device *dev,
1575 int (*ndo_bridge_getlink)(struct sk_buff *skb,
1580 int (*ndo_bridge_dellink)(struct net_device *dev,
1583 int (*ndo_change_carrier)(struct net_device *dev,
1585 int (*ndo_get_phys_port_id)(struct net_device *dev,
1587 int (*ndo_get_port_parent_id)(struct net_device *dev,
1589 int (*ndo_get_phys_port_name)(struct net_device *dev,
1591 void* (*ndo_dfwd_add_station)(struct net_device *pdev,
1593 void (*ndo_dfwd_del_station)(struct net_device *pdev,
1596 int (*ndo_set_tx_maxrate)(struct net_device *dev,
1599 int (*ndo_get_iflink)(const struct net_device *dev);
1600 int (*ndo_fill_metadata_dst)(struct net_device *dev,
1602 void (*ndo_set_rx_headroom)(struct net_device *dev,
1604 int (*ndo_bpf)(struct net_device *dev,
1606 int (*ndo_xdp_xmit)(struct net_device *dev, int n,
1609 struct net_device * (*ndo_xdp_get_xmit_slave)(struct net_device *dev,
1611 int (*ndo_xsk_wakeup)(struct net_device *dev,
1613 int (*ndo_tunnel_ctl)(struct net_device *dev,
1616 struct net_device * (*ndo_get_peer_dev)(struct net_device *dev);
1617 int (*ndo_fill_forward_path)(struct net_device_path_ctx *ctx,
1619 ktime_t (*ndo_get_tstamp)(struct net_device *dev,
1622 int (*ndo_hwtstamp_get)(struct net_device *dev,
1624 int (*ndo_hwtstamp_set)(struct net_device *dev,
1633 const struct net_shaper_ops *net_shaper_ops;