diff options
Diffstat (limited to 'include/net/rtnetlink.h')
-rw-r--r-- | include/net/rtnetlink.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/net/rtnetlink.h b/include/net/rtnetlink.h index 370293901971..bbcfd0993432 100644 --- a/include/net/rtnetlink.h +++ b/include/net/rtnetlink.h | |||
@@ -41,9 +41,11 @@ static inline int rtnl_msg_family(const struct nlmsghdr *nlh) | |||
41 | * @get_size: Function to calculate required room for dumping device | 41 | * @get_size: Function to calculate required room for dumping device |
42 | * specific netlink attributes | 42 | * specific netlink attributes |
43 | * @fill_info: Function to dump device specific netlink attributes | 43 | * @fill_info: Function to dump device specific netlink attributes |
44 | * @get_xstats_size: Function to calculate required room for dumping devic | 44 | * @get_xstats_size: Function to calculate required room for dumping device |
45 | * specific statistics | 45 | * specific statistics |
46 | * @fill_xstats: Function to dump device specific statistics | 46 | * @fill_xstats: Function to dump device specific statistics |
47 | * @get_tx_queues: Function to determine number of transmit queues to create when | ||
48 | * creating a new device. | ||
47 | */ | 49 | */ |
48 | struct rtnl_link_ops { | 50 | struct rtnl_link_ops { |
49 | struct list_head list; | 51 | struct list_head list; |
@@ -75,9 +77,8 @@ struct rtnl_link_ops { | |||
75 | size_t (*get_xstats_size)(const struct net_device *dev); | 77 | size_t (*get_xstats_size)(const struct net_device *dev); |
76 | int (*fill_xstats)(struct sk_buff *skb, | 78 | int (*fill_xstats)(struct sk_buff *skb, |
77 | const struct net_device *dev); | 79 | const struct net_device *dev); |
78 | int (*get_tx_queues)(struct net *net, struct nlattr *tb[], | 80 | int (*get_tx_queues)(struct net *net, |
79 | unsigned int *tx_queues, | 81 | struct nlattr *tb[]); |
80 | unsigned int *real_tx_queues); | ||
81 | }; | 82 | }; |
82 | 83 | ||
83 | extern int __rtnl_link_register(struct rtnl_link_ops *ops); | 84 | extern int __rtnl_link_register(struct rtnl_link_ops *ops); |
@@ -94,7 +95,7 @@ extern void rtnl_link_unregister(struct rtnl_link_ops *ops); | |||
94 | * @fill_link_af: Function to fill IFLA_AF_SPEC with address family | 95 | * @fill_link_af: Function to fill IFLA_AF_SPEC with address family |
95 | * specific netlink attributes. | 96 | * specific netlink attributes. |
96 | * @get_link_af_size: Function to calculate size of address family specific | 97 | * @get_link_af_size: Function to calculate size of address family specific |
97 | * netlink attributes exlusive the container attribute. | 98 | * netlink attributes. |
98 | * @validate_link_af: Validate a IFLA_AF_SPEC attribute, must check attr | 99 | * @validate_link_af: Validate a IFLA_AF_SPEC attribute, must check attr |
99 | * for invalid configuration settings. | 100 | * for invalid configuration settings. |
100 | * @set_link_af: Function to parse a IFLA_AF_SPEC attribute and modify | 101 | * @set_link_af: Function to parse a IFLA_AF_SPEC attribute and modify |