Lines Matching defs:net_device_ops
11841 struct net_device_ops { struct
11842 int (*ndo_init)(struct net_device *);
11843 void (*ndo_uninit)(struct net_device *);
11844 int (*ndo_open)(struct net_device *);
11845 int (*ndo_stop)(struct net_device *);
11846 netdev_tx_t (*ndo_start_xmit)(struct sk_buff *, struct net_device *);
11847 netdev_features_t (*ndo_features_check)(struct sk_buff *, struct net_device *, netdev_features_t);
11848 u16 (*ndo_select_queue)(struct net_device *, struct sk_buff *, struct net_device *);
11849 void (*ndo_change_rx_flags)(struct net_device *, int);
11850 void (*ndo_set_rx_mode)(struct net_device *);
11851 int (*ndo_set_mac_address)(struct net_device *, void *);
11852 int (*ndo_validate_addr)(struct net_device *);
11853 int (*ndo_do_ioctl)(struct net_device *, struct ifreq *, int);
11854 int (*ndo_eth_ioctl)(struct net_device *, struct ifreq *, int);
11855 int (*ndo_siocbond)(struct net_device *, struct ifreq *, int);
11856 int (*ndo_siocwandev)(struct net_device *, struct if_settings *);
11857 int (*ndo_siocdevprivate)(struct net_device *, struct ifreq *, void *, int);
11858 int (*ndo_set_config)(struct net_device *, struct ifmap *);
11859 int (*ndo_change_mtu)(struct net_device *, int);
11860 int (*ndo_neigh_setup)(struct net_device *, struct neigh_parms *);
11861 void (*ndo_tx_timeout)(struct net_device *, unsigned int);
11862 void (*ndo_get_stats64)(struct net_device *, struct rtnl_link_stats64 *);
11863 bool (*ndo_has_offload_stats)(const struct net_device *, int);
11864 int (*ndo_get_offload_stats)(int, const struct net_device *, void *);
11865 struct net_device_stats * (*ndo_get_stats)(struct net_device *);
11866 int (*ndo_vlan_rx_add_vid)(struct net_device *, __be16, u16);
11867 int (*ndo_vlan_rx_kill_vid)(struct net_device *, __be16, u16);
11868 void (*ndo_poll_controller)(struct net_device *);
11869 int (*ndo_netpoll_setup)(struct net_device *, struct netpoll_info *);
11870 void (*ndo_netpoll_cleanup)(struct net_device *);
11871 int (*ndo_set_vf_mac)(struct net_device *, int, u8 *);
11872 int (*ndo_set_vf_vlan)(struct net_device *, int, u16, u8, __be16);
11873 int (*ndo_set_vf_rate)(struct net_device *, int, int, int);
11874 int (*ndo_set_vf_spoofchk)(struct net_device *, int, bool);
11875 int (*ndo_set_vf_trust)(struct net_device *, int, bool);
11876 int (*ndo_get_vf_config)(struct net_device *, int, struct ifla_vf_info *);
11877 int (*ndo_set_vf_link_state)(struct net_device *, int, int);
11878 int (*ndo_get_vf_stats)(struct net_device *, int, struct ifla_vf_stats *);
11879 int (*ndo_set_vf_port)(struct net_device *, int, struct nlattr **);
11880 int (*ndo_get_vf_port)(struct net_device *, int, struct sk_buff *);
11881 int (*ndo_get_vf_guid)(struct net_device *, int, struct ifla_vf_guid *, struct ifla_vf_guid *);
11882 int (*ndo_set_vf_guid)(struct net_device *, int, u64, int);
11883 int (*ndo_set_vf_rss_query_en)(struct net_device *, int, bool);
11884 int (*ndo_setup_tc)(struct net_device *, enum tc_setup_type, void *);
11885 int (*ndo_fcoe_enable)(struct net_device *);
11886 int (*ndo_fcoe_disable)(struct net_device *);
11887 int (*ndo_fcoe_ddp_setup)(struct net_device *, u16, struct scatterlist *, unsigned int);
11888 int (*ndo_fcoe_ddp_done)(struct net_device *, u16);
11889 int (*ndo_fcoe_ddp_target)(struct net_device *, u16, struct scatterlist *, unsigned int);
11890 int (*ndo_fcoe_get_hbainfo)(struct net_device *, struct netdev_fcoe_hbainfo *);
11891 int (*ndo_fcoe_get_wwn)(struct net_device *, u64 *, int);
11892 int (*ndo_rx_flow_steer)(struct net_device *, const struct sk_buff *, u16, u32);
11893 int (*ndo_add_slave)(struct net_device *, struct net_device *, struct netlink_ext_ack *);
11894 int (*ndo_del_slave)(struct net_device *, struct net_device *);
11895 struct net_device * (*ndo_get_xmit_slave)(struct net_device *, struct sk_buff *, bool);
11896 struct net_device * (*ndo_sk_get_lower_dev)(struct net_device *, struct sock *);
11897 netdev_features_t (*ndo_fix_features)(struct net_device *, netdev_features_t);
11898 int (*ndo_set_features)(struct net_device *, netdev_features_t);
11899 int (*ndo_neigh_construct)(struct net_device *, struct neighbour *);
11900 void (*ndo_neigh_destroy)(struct net_device *, struct neighbour *);
11901 … struct nlattr **, struct net_device *, const unsigned char *, u16, u16, struct netlink_ext_ack *);
11902 … (*ndo_fdb_del)(struct ndmsg *, struct nlattr **, struct net_device *, const unsigned char *, u16);
11903 …ump)(struct sk_buff *, struct netlink_callback *, struct net_device *, struct net_device *, int *);
11904 …ct nlattr **, struct net_device *, const unsigned char *, u16, u32, u32, struct netlink_ext_ack *);
11905 int (*ndo_bridge_setlink)(struct net_device *, struct nlmsghdr *, u16, struct netlink_ext_ack *);
11906 int (*ndo_bridge_getlink)(struct sk_buff *, u32, u32, struct net_device *, u32, int);
11907 int (*ndo_bridge_dellink)(struct net_device *, struct nlmsghdr *, u16);
11908 int (*ndo_change_carrier)(struct net_device *, bool);
11909 int (*ndo_get_phys_port_id)(struct net_device *, struct netdev_phys_item_id *);
11910 int (*ndo_get_port_parent_id)(struct net_device *, struct netdev_phys_item_id *);
11911 int (*ndo_get_phys_port_name)(struct net_device *, char *, size_t);
11912 void * (*ndo_dfwd_add_station)(struct net_device *, struct net_device *);
11913 void (*ndo_dfwd_del_station)(struct net_device *, void *);
11914 int (*ndo_set_tx_maxrate)(struct net_device *, int, u32);
11915 int (*ndo_get_iflink)(const struct net_device *);
11916 int (*ndo_change_proto_down)(struct net_device *, bool);
11917 int (*ndo_fill_metadata_dst)(struct net_device *, struct sk_buff *);
11918 void (*ndo_set_rx_headroom)(struct net_device *, int);
11919 int (*ndo_bpf)(struct net_device *, struct netdev_bpf *);
11920 int (*ndo_xdp_xmit)(struct net_device *, int, struct xdp_frame **, u32);
11921 struct net_device * (*ndo_xdp_get_xmit_slave)(struct net_device *, struct xdp_buff *);
11922 int (*ndo_xsk_wakeup)(struct net_device *, u32, u32);
11923 struct devlink_port * (*ndo_get_devlink_port)(struct net_device *);
11924 int (*ndo_tunnel_ctl)(struct net_device *, struct ip_tunnel_parm *, int);
11925 struct net_device * (*ndo_get_peer_dev)(struct net_device *);
11926 int (*ndo_fill_forward_path)(struct net_device_path_ctx *, struct net_device_path *);