Linux Kernel
3.7.1
|
#include <rtnetlink.h>
Data Fields | |
struct list_head | list |
const char * | kind |
size_t | priv_size |
void(* | setup )(struct net_device *dev) |
int | maxtype |
struct nla_policy * | policy |
int(* | validate )(struct nlattr *tb[], struct nlattr *data[]) |
int(* | newlink )(struct net *src_net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[]) |
int(* | changelink )(struct net_device *dev, struct nlattr *tb[], struct nlattr *data[]) |
void(* | dellink )(struct net_device *dev, struct list_head *head) |
size_t(* | get_size )(const struct net_device *dev) |
int(* | fill_info )(struct sk_buff *skb, const struct net_device *dev) |
size_t(* | get_xstats_size )(const struct net_device *dev) |
int(* | fill_xstats )(struct sk_buff *skb, const struct net_device *dev) |
unsigned int(* | get_num_tx_queues )(void) |
unsigned int(* | get_num_rx_queues )(void) |
struct rtnl_link_ops - rtnetlink link operations
: Used internally : Identifier : Highest device specific netlink attribute number : Netlink policy for device specific attribute validation : Optional validation function for netlink/changelink parameters : sizeof net_device private space : net_device setup function : Function for configuring and registering a new device : Function for changing parameters of an existing device : Function to remove a device : Function to calculate required room for dumping device specific netlink attributes : Function to dump device specific netlink attributes : Function to calculate required room for dumping device specific statistics : Function to dump device specific statistics : Function to determine number of transmit queues to create when creating a new device. : Function to determine number of receive queues to create when creating a new device.
Definition at line 52 of file rtnetlink.h.
Definition at line 69 of file rtnetlink.h.
Definition at line 72 of file rtnetlink.h.
Definition at line 76 of file rtnetlink.h.
Definition at line 80 of file rtnetlink.h.
Definition at line 83 of file rtnetlink.h.
Definition at line 82 of file rtnetlink.h.
size_t(* get_size)(const struct net_device *dev) |
Definition at line 75 of file rtnetlink.h.
size_t(* get_xstats_size)(const struct net_device *dev) |
Definition at line 79 of file rtnetlink.h.
Definition at line 55 of file rtnetlink.h.
Definition at line 53 of file rtnetlink.h.
int maxtype |
Definition at line 60 of file rtnetlink.h.
int(* newlink)(struct net *src_net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[]) |
Definition at line 65 of file rtnetlink.h.
struct nla_policy* policy |
Definition at line 61 of file rtnetlink.h.
size_t priv_size |
Definition at line 57 of file rtnetlink.h.
void(* setup)(struct net_device *dev) |
Definition at line 58 of file rtnetlink.h.
Definition at line 62 of file rtnetlink.h.