Lines Matching defs:net_device_ops

1437 struct net_device_ops {  struct
1438 int (*ndo_init)(struct net_device *dev);
1439 void (*ndo_uninit)(struct net_device *dev);
1440 int (*ndo_open)(struct net_device *dev);
1441 int (*ndo_stop)(struct net_device *dev);
1442 netdev_tx_t (*ndo_start_xmit)(struct sk_buff *skb,
1444 netdev_features_t (*ndo_features_check)(struct sk_buff *skb,
1447 u16 (*ndo_select_queue)(struct net_device *dev,
1450 void (*ndo_change_rx_flags)(struct net_device *dev,
1452 void (*ndo_set_rx_mode)(struct net_device *dev);
1453 int (*ndo_set_mac_address)(struct net_device *dev,
1455 int (*ndo_validate_addr)(struct net_device *dev);
1456 int (*ndo_do_ioctl)(struct net_device *dev,
1458 int (*ndo_eth_ioctl)(struct net_device *dev,
1460 int (*ndo_siocbond)(struct net_device *dev,
1462 int (*ndo_siocwandev)(struct net_device *dev,
1464 int (*ndo_siocdevprivate)(struct net_device *dev,
1467 int (*ndo_set_config)(struct net_device *dev,
1469 int (*ndo_change_mtu)(struct net_device *dev,
1471 int (*ndo_neigh_setup)(struct net_device *dev,
1473 void (*ndo_tx_timeout) (struct net_device *dev,
1476 void (*ndo_get_stats64)(struct net_device *dev,
1478 bool (*ndo_has_offload_stats)(const struct net_device *dev, int attr_id);
1479 int (*ndo_get_offload_stats)(int attr_id,
1482 struct net_device_stats* (*ndo_get_stats)(struct net_device *dev);
1484 int (*ndo_vlan_rx_add_vid)(struct net_device *dev,
1486 int (*ndo_vlan_rx_kill_vid)(struct net_device *dev,
1489 void (*ndo_poll_controller)(struct net_device *dev);
1490 int (*ndo_netpoll_setup)(struct net_device *dev,
1492 void (*ndo_netpoll_cleanup)(struct net_device *dev);
1494 int (*ndo_set_vf_mac)(struct net_device *dev,
1496 int (*ndo_set_vf_vlan)(struct net_device *dev,
1499 int (*ndo_set_vf_rate)(struct net_device *dev,
1502 int (*ndo_set_vf_spoofchk)(struct net_device *dev,
1504 int (*ndo_set_vf_trust)(struct net_device *dev,
1506 int (*ndo_get_vf_config)(struct net_device *dev,
1509 int (*ndo_set_vf_link_state)(struct net_device *dev,
1511 int (*ndo_get_vf_stats)(struct net_device *dev,
1515 int (*ndo_set_vf_port)(struct net_device *dev,
1518 int (*ndo_get_vf_port)(struct net_device *dev,
1520 int (*ndo_get_vf_guid)(struct net_device *dev,
1524 int (*ndo_set_vf_guid)(struct net_device *dev,
1527 int (*ndo_set_vf_rss_query_en)(
1530 int (*ndo_setup_tc)(struct net_device *dev,
1534 int (*ndo_fcoe_enable)(struct net_device *dev);
1535 int (*ndo_fcoe_disable)(struct net_device *dev);
1536 int (*ndo_fcoe_ddp_setup)(struct net_device *dev,
1540 int (*ndo_fcoe_ddp_done)(struct net_device *dev,
1542 int (*ndo_fcoe_ddp_target)(struct net_device *dev,
1546 int (*ndo_fcoe_get_hbainfo)(struct net_device *dev,
1553 int (*ndo_fcoe_get_wwn)(struct net_device *dev,
1558 int (*ndo_rx_flow_steer)(struct net_device *dev,
1563 int (*ndo_add_slave)(struct net_device *dev,
1566 int (*ndo_del_slave)(struct net_device *dev,
1568 struct net_device* (*ndo_get_xmit_slave)(struct net_device *dev,
1571 struct net_device* (*ndo_sk_get_lower_dev)(struct net_device *dev,
1573 netdev_features_t (*ndo_fix_features)(struct net_device *dev,
1575 int (*ndo_set_features)(struct net_device *dev,
1577 int (*ndo_neigh_construct)(struct net_device *dev,
1579 void (*ndo_neigh_destroy)(struct net_device *dev,
1582 int (*ndo_fdb_add)(struct ndmsg *ndm,
1589 int (*ndo_fdb_del)(struct ndmsg *ndm,
1594 int (*ndo_fdb_del_bulk)(struct nlmsghdr *nlh,
1597 int (*ndo_fdb_dump)(struct sk_buff *skb,
1602 int (*ndo_fdb_get)(struct sk_buff *skb,
1608 int (*ndo_mdb_add)(struct net_device *dev,
1612 int (*ndo_mdb_del)(struct net_device *dev,
1615 int (*ndo_mdb_del_bulk)(struct net_device *dev,
1618 int (*ndo_mdb_dump)(struct net_device *dev,
1621 int (*ndo_mdb_get)(struct net_device *dev,
1625 int (*ndo_bridge_setlink)(struct net_device *dev,
1629 int (*ndo_bridge_getlink)(struct sk_buff *skb,
1634 int (*ndo_bridge_dellink)(struct net_device *dev,
1637 int (*ndo_change_carrier)(struct net_device *dev,
1639 int (*ndo_get_phys_port_id)(struct net_device *dev,
1641 int (*ndo_get_port_parent_id)(struct net_device *dev,
1643 int (*ndo_get_phys_port_name)(struct net_device *dev,
1645 void* (*ndo_dfwd_add_station)(struct net_device *pdev,
1647 void (*ndo_dfwd_del_station)(struct net_device *pdev,
1650 int (*ndo_set_tx_maxrate)(struct net_device *dev,
1653 int (*ndo_get_iflink)(const struct net_device *dev);
1654 int (*ndo_fill_metadata_dst)(struct net_device *dev,
1656 void (*ndo_set_rx_headroom)(struct net_device *dev,
1658 int (*ndo_bpf)(struct net_device *dev,
1660 int (*ndo_xdp_xmit)(struct net_device *dev, int n,
1663 struct net_device * (*ndo_xdp_get_xmit_slave)(struct net_device *dev,
1665 int (*ndo_xsk_wakeup)(struct net_device *dev,
1667 int (*ndo_tunnel_ctl)(struct net_device *dev,
1669 struct net_device * (*ndo_get_peer_dev)(struct net_device *dev);
1670 int (*ndo_fill_forward_path)(struct net_device_path_ctx *ctx,
1672 ktime_t (*ndo_get_tstamp)(struct net_device *dev,
1675 int (*ndo_hwtstamp_get)(struct net_device *dev,
1677 int (*ndo_hwtstamp_set)(struct net_device *dev,