Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
net_device_ops Struct Reference

#include <netdevice.h>

Data Fields

int(* ndo_init )(struct net_device *dev)
 
void(* ndo_uninit )(struct net_device *dev)
 
int(* ndo_open )(struct net_device *dev)
 
int(* ndo_stop )(struct net_device *dev)
 
netdev_tx_t(* ndo_start_xmit )(struct sk_buff *skb, struct net_device *dev)
 
u16(* ndo_select_queue )(struct net_device *dev, struct sk_buff *skb)
 
void(* ndo_change_rx_flags )(struct net_device *dev, int flags)
 
void(* ndo_set_rx_mode )(struct net_device *dev)
 
int(* ndo_set_mac_address )(struct net_device *dev, void *addr)
 
int(* ndo_validate_addr )(struct net_device *dev)
 
int(* ndo_do_ioctl )(struct net_device *dev, struct ifreq *ifr, int cmd)
 
int(* ndo_set_config )(struct net_device *dev, struct ifmap *map)
 
int(* ndo_change_mtu )(struct net_device *dev, int new_mtu)
 
int(* ndo_neigh_setup )(struct net_device *dev, struct neigh_parms *)
 
void(* ndo_tx_timeout )(struct net_device *dev)
 
struct rtnl_link_stats64 *(* ndo_get_stats64 )(struct net_device *dev, struct rtnl_link_stats64 *storage)
 
struct net_device_stats *(* ndo_get_stats )(struct net_device *dev)
 
int(* ndo_vlan_rx_add_vid )(struct net_device *dev, unsigned short vid)
 
int(* ndo_vlan_rx_kill_vid )(struct net_device *dev, unsigned short vid)
 
int(* ndo_set_vf_mac )(struct net_device *dev, int queue, u8 *mac)
 
int(* ndo_set_vf_vlan )(struct net_device *dev, int queue, u16 vlan, u8 qos)
 
int(* ndo_set_vf_tx_rate )(struct net_device *dev, int vf, int rate)
 
int(* ndo_set_vf_spoofchk )(struct net_device *dev, int vf, bool setting)
 
int(* ndo_get_vf_config )(struct net_device *dev, int vf, struct ifla_vf_info *ivf)
 
int(* ndo_set_vf_port )(struct net_device *dev, int vf, struct nlattr *port[])
 
int(* ndo_get_vf_port )(struct net_device *dev, int vf, struct sk_buff *skb)
 
int(* ndo_setup_tc )(struct net_device *dev, u8 tc)
 
int(* ndo_add_slave )(struct net_device *dev, struct net_device *slave_dev)
 
int(* ndo_del_slave )(struct net_device *dev, struct net_device *slave_dev)
 
netdev_features_t(* ndo_fix_features )(struct net_device *dev, netdev_features_t features)
 
int(* ndo_set_features )(struct net_device *dev, netdev_features_t features)
 
int(* ndo_neigh_construct )(struct neighbour *n)
 
void(* ndo_neigh_destroy )(struct neighbour *n)
 
int(* ndo_fdb_add )(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *dev, const unsigned char *addr, u16 flags)
 
int(* ndo_fdb_del )(struct ndmsg *ndm, struct net_device *dev, const unsigned char *addr)
 
int(* ndo_fdb_dump )(struct sk_buff *skb, struct netlink_callback *cb, struct net_device *dev, int idx)
 

Detailed Description

Definition at line 891 of file netdevice.h.

Field Documentation

int(* ndo_add_slave)(struct net_device *dev, struct net_device *slave_dev)

Definition at line 978 of file netdevice.h.

int(* ndo_change_mtu)(struct net_device *dev, int new_mtu)

Definition at line 910 of file netdevice.h.

void(* ndo_change_rx_flags)(struct net_device *dev, int flags)

Definition at line 900 of file netdevice.h.

int(* ndo_del_slave)(struct net_device *dev, struct net_device *slave_dev)

Definition at line 980 of file netdevice.h.

int(* ndo_do_ioctl)(struct net_device *dev, struct ifreq *ifr, int cmd)

Definition at line 906 of file netdevice.h.

int(* ndo_fdb_add)(struct ndmsg *ndm, struct nlattr *tb[], struct net_device *dev, const unsigned char *addr, u16 flags)

Definition at line 989 of file netdevice.h.

int(* ndo_fdb_del)(struct ndmsg *ndm, struct net_device *dev, const unsigned char *addr)

Definition at line 994 of file netdevice.h.

Definition at line 997 of file netdevice.h.

Definition at line 982 of file netdevice.h.

struct net_device_stats*(* ndo_get_stats)(struct net_device *dev)
read

Definition at line 918 of file netdevice.h.

struct rtnl_link_stats64*(* ndo_get_stats64)(struct net_device *dev, struct rtnl_link_stats64 *storage)
read

Definition at line 916 of file netdevice.h.

int(* ndo_get_vf_config)(struct net_device *dev, int vf, struct ifla_vf_info *ivf)

Definition at line 939 of file netdevice.h.

int(* ndo_get_vf_port)(struct net_device *dev, int vf, struct sk_buff *skb)

Definition at line 945 of file netdevice.h.

int(* ndo_init)(struct net_device *dev)

Definition at line 892 of file netdevice.h.

int(* ndo_neigh_construct)(struct neighbour *n)

Definition at line 986 of file netdevice.h.

void(* ndo_neigh_destroy)(struct neighbour *n)

Definition at line 987 of file netdevice.h.

int(* ndo_neigh_setup)(struct net_device *dev, struct neigh_parms *)

Definition at line 912 of file netdevice.h.

int(* ndo_open)(struct net_device *dev)

Definition at line 894 of file netdevice.h.

u16(* ndo_select_queue)(struct net_device *dev, struct sk_buff *skb)

Definition at line 898 of file netdevice.h.

int(* ndo_set_config)(struct net_device *dev, struct ifmap *map)

Definition at line 908 of file netdevice.h.

Definition at line 984 of file netdevice.h.

int(* ndo_set_mac_address)(struct net_device *dev, void *addr)

Definition at line 903 of file netdevice.h.

void(* ndo_set_rx_mode)(struct net_device *dev)

Definition at line 902 of file netdevice.h.

int(* ndo_set_vf_mac)(struct net_device *dev, int queue, u8 *mac)

Definition at line 931 of file netdevice.h.

int(* ndo_set_vf_port)(struct net_device *dev, int vf, struct nlattr *port[])

Definition at line 942 of file netdevice.h.

int(* ndo_set_vf_spoofchk)(struct net_device *dev, int vf, bool setting)

Definition at line 937 of file netdevice.h.

int(* ndo_set_vf_tx_rate)(struct net_device *dev, int vf, int rate)

Definition at line 935 of file netdevice.h.

int(* ndo_set_vf_vlan)(struct net_device *dev, int queue, u16 vlan, u8 qos)

Definition at line 933 of file netdevice.h.

int(* ndo_setup_tc)(struct net_device *dev, u8 tc)

Definition at line 947 of file netdevice.h.

Definition at line 896 of file netdevice.h.

int(* ndo_stop)(struct net_device *dev)

Definition at line 895 of file netdevice.h.

void(* ndo_tx_timeout)(struct net_device *dev)

Definition at line 914 of file netdevice.h.

void(* ndo_uninit)(struct net_device *dev)

Definition at line 893 of file netdevice.h.

int(* ndo_validate_addr)(struct net_device *dev)

Definition at line 905 of file netdevice.h.

int(* ndo_vlan_rx_add_vid)(struct net_device *dev, unsigned short vid)

Definition at line 920 of file netdevice.h.

int(* ndo_vlan_rx_kill_vid)(struct net_device *dev, unsigned short vid)

Definition at line 922 of file netdevice.h.


The documentation for this struct was generated from the following file: