rtnetlink.h (17dd0ec470f97518893a5ed7160a842a35482fb4) rtnetlink.h (d116ffc770d80f241f0d750d355205d83a9eca5a)
1#ifndef __NET_RTNETLINK_H
2#define __NET_RTNETLINK_H
3
4#include <linux/rtnetlink.h>
5#include <net/netlink.h>
6
7typedef int (*rtnl_doit_func)(struct sk_buff *, struct nlmsghdr *,
8 struct netlink_ext_ack *);

--- 77 unchanged lines hidden (view full) ---

86 int (*fill_xstats)(struct sk_buff *skb,
87 const struct net_device *dev);
88 unsigned int (*get_num_tx_queues)(void);
89 unsigned int (*get_num_rx_queues)(void);
90
91 int slave_maxtype;
92 const struct nla_policy *slave_policy;
93 int (*slave_validate)(struct nlattr *tb[],
1#ifndef __NET_RTNETLINK_H
2#define __NET_RTNETLINK_H
3
4#include <linux/rtnetlink.h>
5#include <net/netlink.h>
6
7typedef int (*rtnl_doit_func)(struct sk_buff *, struct nlmsghdr *,
8 struct netlink_ext_ack *);

--- 77 unchanged lines hidden (view full) ---

86 int (*fill_xstats)(struct sk_buff *skb,
87 const struct net_device *dev);
88 unsigned int (*get_num_tx_queues)(void);
89 unsigned int (*get_num_rx_queues)(void);
90
91 int slave_maxtype;
92 const struct nla_policy *slave_policy;
93 int (*slave_validate)(struct nlattr *tb[],
94 struct nlattr *data[]);
94 struct nlattr *data[],
95 struct netlink_ext_ack *extack);
95 int (*slave_changelink)(struct net_device *dev,
96 struct net_device *slave_dev,
97 struct nlattr *tb[],
98 struct nlattr *data[],
99 struct netlink_ext_ack *extack);
100 size_t (*get_slave_size)(const struct net_device *dev,
101 const struct net_device *slave_dev);
102 int (*fill_slave_info)(struct sk_buff *skb,

--- 69 unchanged lines hidden ---
96 int (*slave_changelink)(struct net_device *dev,
97 struct net_device *slave_dev,
98 struct nlattr *tb[],
99 struct nlattr *data[],
100 struct netlink_ext_ack *extack);
101 size_t (*get_slave_size)(const struct net_device *dev,
102 const struct net_device *slave_dev);
103 int (*fill_slave_info)(struct sk_buff *skb,

--- 69 unchanged lines hidden ---