rtnl_link_ops
Regular
4.4
: ✅struct rtnl_link_ops {
struct list_head list;
const char *kind;
size_t priv_size;
void (*setup)(struct net_device *);
int maxtype;
const struct nla_policy *policy;
int (*validate)(struct nlattr **, struct nlattr **);
int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **);
int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **);
void (*dellink)(struct net_device *, struct list_head *);
size_t (*get_size)(const struct net_device *);
int (*fill_info)(struct sk_buff *, const struct net_device *);
size_t (*get_xstats_size)(const struct net_device *);
int (*fill_xstats)(struct sk_buff *, const struct net_device *);
unsigned int (*get_num_tx_queues)();
unsigned int (*get_num_rx_queues)();
int slave_maxtype;
const struct nla_policy *slave_policy;
int (*slave_validate)(struct nlattr **, struct nlattr **);
int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **);
size_t (*get_slave_size)(const struct net_device *, const struct net_device *);
int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *);
struct net * (*get_link_net)(const struct net_device *);
};
4.8
: ✅struct rtnl_link_ops {
struct list_head list;
const char *kind;
size_t priv_size;
void (*setup)(struct net_device *);
int maxtype;
const struct nla_policy *policy;
int (*validate)(struct nlattr **, struct nlattr **);
int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **);
int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **);
void (*dellink)(struct net_device *, struct list_head *);
size_t (*get_size)(const struct net_device *);
int (*fill_info)(struct sk_buff *, const struct net_device *);
size_t (*get_xstats_size)(const struct net_device *);
int (*fill_xstats)(struct sk_buff *, const struct net_device *);
unsigned int (*get_num_tx_queues)();
unsigned int (*get_num_rx_queues)();
int slave_maxtype;
const struct nla_policy *slave_policy;
int (*slave_validate)(struct nlattr **, struct nlattr **);
int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **);
size_t (*get_slave_size)(const struct net_device *, const struct net_device *);
int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *);
struct net * (*get_link_net)(const struct net_device *);
size_t (*get_linkxstats_size)(const struct net_device *, int);
int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int);
};
4.10
: ✅struct rtnl_link_ops {
struct list_head list;
const char *kind;
size_t priv_size;
void (*setup)(struct net_device *);
int maxtype;
const struct nla_policy *policy;
int (*validate)(struct nlattr **, struct nlattr **);
int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **);
int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **);
void (*dellink)(struct net_device *, struct list_head *);
size_t (*get_size)(const struct net_device *);
int (*fill_info)(struct sk_buff *, const struct net_device *);
size_t (*get_xstats_size)(const struct net_device *);
int (*fill_xstats)(struct sk_buff *, const struct net_device *);
unsigned int (*get_num_tx_queues)();
unsigned int (*get_num_rx_queues)();
int slave_maxtype;
const struct nla_policy *slave_policy;
int (*slave_validate)(struct nlattr **, struct nlattr **);
int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **);
size_t (*get_slave_size)(const struct net_device *, const struct net_device *);
int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *);
struct net * (*get_link_net)(const struct net_device *);
size_t (*get_linkxstats_size)(const struct net_device *, int);
int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int);
};
4.13
: ✅struct rtnl_link_ops {
struct list_head list;
const char *kind;
size_t priv_size;
void (*setup)(struct net_device *);
int maxtype;
const struct nla_policy *policy;
int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
void (*dellink)(struct net_device *, struct list_head *);
size_t (*get_size)(const struct net_device *);
int (*fill_info)(struct sk_buff *, const struct net_device *);
size_t (*get_xstats_size)(const struct net_device *);
int (*fill_xstats)(struct sk_buff *, const struct net_device *);
unsigned int (*get_num_tx_queues)();
unsigned int (*get_num_rx_queues)();
int slave_maxtype;
const struct nla_policy *slave_policy;
int (*slave_validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
size_t (*get_slave_size)(const struct net_device *, const struct net_device *);
int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *);
struct net * (*get_link_net)(const struct net_device *);
size_t (*get_linkxstats_size)(const struct net_device *, int);
int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int);
};
4.15
: ✅struct rtnl_link_ops {
struct list_head list;
const char *kind;
size_t priv_size;
void (*setup)(struct net_device *);
int maxtype;
const struct nla_policy *policy;
int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
void (*dellink)(struct net_device *, struct list_head *);
size_t (*get_size)(const struct net_device *);
int (*fill_info)(struct sk_buff *, const struct net_device *);
size_t (*get_xstats_size)(const struct net_device *);
int (*fill_xstats)(struct sk_buff *, const struct net_device *);
unsigned int (*get_num_tx_queues)();
unsigned int (*get_num_rx_queues)();
int slave_maxtype;
const struct nla_policy *slave_policy;
int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
size_t (*get_slave_size)(const struct net_device *, const struct net_device *);
int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *);
struct net * (*get_link_net)(const struct net_device *);
size_t (*get_linkxstats_size)(const struct net_device *, int);
int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int);
};
4.18
: ✅struct rtnl_link_ops {
struct list_head list;
const char *kind;
size_t priv_size;
void (*setup)(struct net_device *);
unsigned int maxtype;
const struct nla_policy *policy;
int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
void (*dellink)(struct net_device *, struct list_head *);
size_t (*get_size)(const struct net_device *);
int (*fill_info)(struct sk_buff *, const struct net_device *);
size_t (*get_xstats_size)(const struct net_device *);
int (*fill_xstats)(struct sk_buff *, const struct net_device *);
unsigned int (*get_num_tx_queues)();
unsigned int (*get_num_rx_queues)();
unsigned int slave_maxtype;
const struct nla_policy *slave_policy;
int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
size_t (*get_slave_size)(const struct net_device *, const struct net_device *);
int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *);
struct net * (*get_link_net)(const struct net_device *);
size_t (*get_linkxstats_size)(const struct net_device *, int);
int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int);
};
5.0
: ✅struct rtnl_link_ops {
struct list_head list;
const char *kind;
size_t priv_size;
void (*setup)(struct net_device *);
unsigned int maxtype;
const struct nla_policy *policy;
int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
void (*dellink)(struct net_device *, struct list_head *);
size_t (*get_size)(const struct net_device *);
int (*fill_info)(struct sk_buff *, const struct net_device *);
size_t (*get_xstats_size)(const struct net_device *);
int (*fill_xstats)(struct sk_buff *, const struct net_device *);
unsigned int (*get_num_tx_queues)();
unsigned int (*get_num_rx_queues)();
unsigned int slave_maxtype;
const struct nla_policy *slave_policy;
int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
size_t (*get_slave_size)(const struct net_device *, const struct net_device *);
int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *);
struct net * (*get_link_net)(const struct net_device *);
size_t (*get_linkxstats_size)(const struct net_device *, int);
int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int);
};
5.3
: ✅struct rtnl_link_ops {
struct list_head list;
const char *kind;
size_t priv_size;
void (*setup)(struct net_device *);
unsigned int maxtype;
const struct nla_policy *policy;
int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
void (*dellink)(struct net_device *, struct list_head *);
size_t (*get_size)(const struct net_device *);
int (*fill_info)(struct sk_buff *, const struct net_device *);
size_t (*get_xstats_size)(const struct net_device *);
int (*fill_xstats)(struct sk_buff *, const struct net_device *);
unsigned int (*get_num_tx_queues)();
unsigned int (*get_num_rx_queues)();
unsigned int slave_maxtype;
const struct nla_policy *slave_policy;
int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
size_t (*get_slave_size)(const struct net_device *, const struct net_device *);
int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *);
struct net * (*get_link_net)(const struct net_device *);
size_t (*get_linkxstats_size)(const struct net_device *, int);
int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int);
};
5.4
: ✅struct rtnl_link_ops {
struct list_head list;
const char *kind;
size_t priv_size;
void (*setup)(struct net_device *);
unsigned int maxtype;
const struct nla_policy *policy;
int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
void (*dellink)(struct net_device *, struct list_head *);
size_t (*get_size)(const struct net_device *);
int (*fill_info)(struct sk_buff *, const struct net_device *);
size_t (*get_xstats_size)(const struct net_device *);
int (*fill_xstats)(struct sk_buff *, const struct net_device *);
unsigned int (*get_num_tx_queues)();
unsigned int (*get_num_rx_queues)();
unsigned int slave_maxtype;
const struct nla_policy *slave_policy;
int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
size_t (*get_slave_size)(const struct net_device *, const struct net_device *);
int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *);
struct net * (*get_link_net)(const struct net_device *);
size_t (*get_linkxstats_size)(const struct net_device *, int);
int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int);
};
5.8
: ✅struct rtnl_link_ops {
struct list_head list;
const char *kind;
size_t priv_size;
void (*setup)(struct net_device *);
unsigned int maxtype;
const struct nla_policy *policy;
int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
void (*dellink)(struct net_device *, struct list_head *);
size_t (*get_size)(const struct net_device *);
int (*fill_info)(struct sk_buff *, const struct net_device *);
size_t (*get_xstats_size)(const struct net_device *);
int (*fill_xstats)(struct sk_buff *, const struct net_device *);
unsigned int (*get_num_tx_queues)();
unsigned int (*get_num_rx_queues)();
unsigned int slave_maxtype;
const struct nla_policy *slave_policy;
int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
size_t (*get_slave_size)(const struct net_device *, const struct net_device *);
int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *);
struct net * (*get_link_net)(const struct net_device *);
size_t (*get_linkxstats_size)(const struct net_device *, int);
int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int);
};
5.11
: ✅struct rtnl_link_ops {
struct list_head list;
const char *kind;
size_t priv_size;
void (*setup)(struct net_device *);
bool netns_refund;
unsigned int maxtype;
const struct nla_policy *policy;
int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
void (*dellink)(struct net_device *, struct list_head *);
size_t (*get_size)(const struct net_device *);
int (*fill_info)(struct sk_buff *, const struct net_device *);
size_t (*get_xstats_size)(const struct net_device *);
int (*fill_xstats)(struct sk_buff *, const struct net_device *);
unsigned int (*get_num_tx_queues)();
unsigned int (*get_num_rx_queues)();
unsigned int slave_maxtype;
const struct nla_policy *slave_policy;
int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
size_t (*get_slave_size)(const struct net_device *, const struct net_device *);
int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *);
struct net * (*get_link_net)(const struct net_device *);
size_t (*get_linkxstats_size)(const struct net_device *, int);
int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int);
};
5.13
: ✅struct rtnl_link_ops {
struct list_head list;
const char *kind;
size_t priv_size;
void (*setup)(struct net_device *);
bool netns_refund;
unsigned int maxtype;
const struct nla_policy *policy;
int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
void (*dellink)(struct net_device *, struct list_head *);
size_t (*get_size)(const struct net_device *);
int (*fill_info)(struct sk_buff *, const struct net_device *);
size_t (*get_xstats_size)(const struct net_device *);
int (*fill_xstats)(struct sk_buff *, const struct net_device *);
unsigned int (*get_num_tx_queues)();
unsigned int (*get_num_rx_queues)();
unsigned int slave_maxtype;
const struct nla_policy *slave_policy;
int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
size_t (*get_slave_size)(const struct net_device *, const struct net_device *);
int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *);
struct net * (*get_link_net)(const struct net_device *);
size_t (*get_linkxstats_size)(const struct net_device *, int);
int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int);
};
5.15
: ✅struct rtnl_link_ops {
struct list_head list;
const char *kind;
size_t priv_size;
struct net_device * (*alloc)(struct nlattr **, const char *, unsigned char, unsigned int, unsigned int);
void (*setup)(struct net_device *);
bool netns_refund;
unsigned int maxtype;
const struct nla_policy *policy;
int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
void (*dellink)(struct net_device *, struct list_head *);
size_t (*get_size)(const struct net_device *);
int (*fill_info)(struct sk_buff *, const struct net_device *);
size_t (*get_xstats_size)(const struct net_device *);
int (*fill_xstats)(struct sk_buff *, const struct net_device *);
unsigned int (*get_num_tx_queues)();
unsigned int (*get_num_rx_queues)();
unsigned int slave_maxtype;
const struct nla_policy *slave_policy;
int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
size_t (*get_slave_size)(const struct net_device *, const struct net_device *);
int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *);
struct net * (*get_link_net)(const struct net_device *);
size_t (*get_linkxstats_size)(const struct net_device *, int);
int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int);
};
5.19
: ✅struct rtnl_link_ops {
struct list_head list;
const char *kind;
size_t priv_size;
struct net_device * (*alloc)(struct nlattr **, const char *, unsigned char, unsigned int, unsigned int);
void (*setup)(struct net_device *);
bool netns_refund;
unsigned int maxtype;
const struct nla_policy *policy;
int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
void (*dellink)(struct net_device *, struct list_head *);
size_t (*get_size)(const struct net_device *);
int (*fill_info)(struct sk_buff *, const struct net_device *);
size_t (*get_xstats_size)(const struct net_device *);
int (*fill_xstats)(struct sk_buff *, const struct net_device *);
unsigned int (*get_num_tx_queues)();
unsigned int (*get_num_rx_queues)();
unsigned int slave_maxtype;
const struct nla_policy *slave_policy;
int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
size_t (*get_slave_size)(const struct net_device *, const struct net_device *);
int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *);
struct net * (*get_link_net)(const struct net_device *);
size_t (*get_linkxstats_size)(const struct net_device *, int);
int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int);
};
6.2
: ✅struct rtnl_link_ops {
struct list_head list;
const char *kind;
size_t priv_size;
struct net_device * (*alloc)(struct nlattr **, const char *, unsigned char, unsigned int, unsigned int);
void (*setup)(struct net_device *);
bool netns_refund;
unsigned int maxtype;
const struct nla_policy *policy;
int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
void (*dellink)(struct net_device *, struct list_head *);
size_t (*get_size)(const struct net_device *);
int (*fill_info)(struct sk_buff *, const struct net_device *);
size_t (*get_xstats_size)(const struct net_device *);
int (*fill_xstats)(struct sk_buff *, const struct net_device *);
unsigned int (*get_num_tx_queues)();
unsigned int (*get_num_rx_queues)();
unsigned int slave_maxtype;
const struct nla_policy *slave_policy;
int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
size_t (*get_slave_size)(const struct net_device *, const struct net_device *);
int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *);
struct net * (*get_link_net)(const struct net_device *);
size_t (*get_linkxstats_size)(const struct net_device *, int);
int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int);
};
6.5
: ✅struct rtnl_link_ops {
struct list_head list;
const char *kind;
size_t priv_size;
struct net_device * (*alloc)(struct nlattr **, const char *, unsigned char, unsigned int, unsigned int);
void (*setup)(struct net_device *);
bool netns_refund;
unsigned int maxtype;
const struct nla_policy *policy;
int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
void (*dellink)(struct net_device *, struct list_head *);
size_t (*get_size)(const struct net_device *);
int (*fill_info)(struct sk_buff *, const struct net_device *);
size_t (*get_xstats_size)(const struct net_device *);
int (*fill_xstats)(struct sk_buff *, const struct net_device *);
unsigned int (*get_num_tx_queues)();
unsigned int (*get_num_rx_queues)();
unsigned int slave_maxtype;
const struct nla_policy *slave_policy;
int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
size_t (*get_slave_size)(const struct net_device *, const struct net_device *);
int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *);
struct net * (*get_link_net)(const struct net_device *);
size_t (*get_linkxstats_size)(const struct net_device *, int);
int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int);
};
6.8
: ✅struct rtnl_link_ops {
struct list_head list;
const char *kind;
size_t priv_size;
struct net_device * (*alloc)(struct nlattr **, const char *, unsigned char, unsigned int, unsigned int);
void (*setup)(struct net_device *);
bool netns_refund;
unsigned int maxtype;
const struct nla_policy *policy;
int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
void (*dellink)(struct net_device *, struct list_head *);
size_t (*get_size)(const struct net_device *);
int (*fill_info)(struct sk_buff *, const struct net_device *);
size_t (*get_xstats_size)(const struct net_device *);
int (*fill_xstats)(struct sk_buff *, const struct net_device *);
unsigned int (*get_num_tx_queues)();
unsigned int (*get_num_rx_queues)();
unsigned int slave_maxtype;
const struct nla_policy *slave_policy;
int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
size_t (*get_slave_size)(const struct net_device *, const struct net_device *);
int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *);
struct net * (*get_link_net)(const struct net_device *);
size_t (*get_linkxstats_size)(const struct net_device *, int);
int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int);
};
arm64
: ✅struct rtnl_link_ops {
struct list_head list;
const char *kind;
size_t priv_size;
void (*setup)(struct net_device *);
unsigned int maxtype;
const struct nla_policy *policy;
int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
void (*dellink)(struct net_device *, struct list_head *);
size_t (*get_size)(const struct net_device *);
int (*fill_info)(struct sk_buff *, const struct net_device *);
size_t (*get_xstats_size)(const struct net_device *);
int (*fill_xstats)(struct sk_buff *, const struct net_device *);
unsigned int (*get_num_tx_queues)();
unsigned int (*get_num_rx_queues)();
unsigned int slave_maxtype;
const struct nla_policy *slave_policy;
int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
size_t (*get_slave_size)(const struct net_device *, const struct net_device *);
int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *);
struct net * (*get_link_net)(const struct net_device *);
size_t (*get_linkxstats_size)(const struct net_device *, int);
int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int);
};
armhf
: ✅struct rtnl_link_ops {
struct list_head list;
const char *kind;
size_t priv_size;
void (*setup)(struct net_device *);
unsigned int maxtype;
const struct nla_policy *policy;
int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
void (*dellink)(struct net_device *, struct list_head *);
size_t (*get_size)(const struct net_device *);
int (*fill_info)(struct sk_buff *, const struct net_device *);
size_t (*get_xstats_size)(const struct net_device *);
int (*fill_xstats)(struct sk_buff *, const struct net_device *);
unsigned int (*get_num_tx_queues)();
unsigned int (*get_num_rx_queues)();
unsigned int slave_maxtype;
const struct nla_policy *slave_policy;
int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
size_t (*get_slave_size)(const struct net_device *, const struct net_device *);
int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *);
struct net * (*get_link_net)(const struct net_device *);
size_t (*get_linkxstats_size)(const struct net_device *, int);
int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int);
};
ppc64el
: ✅struct rtnl_link_ops {
struct list_head list;
const char *kind;
size_t priv_size;
void (*setup)(struct net_device *);
unsigned int maxtype;
const struct nla_policy *policy;
int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
void (*dellink)(struct net_device *, struct list_head *);
size_t (*get_size)(const struct net_device *);
int (*fill_info)(struct sk_buff *, const struct net_device *);
size_t (*get_xstats_size)(const struct net_device *);
int (*fill_xstats)(struct sk_buff *, const struct net_device *);
unsigned int (*get_num_tx_queues)();
unsigned int (*get_num_rx_queues)();
unsigned int slave_maxtype;
const struct nla_policy *slave_policy;
int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
size_t (*get_slave_size)(const struct net_device *, const struct net_device *);
int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *);
struct net * (*get_link_net)(const struct net_device *);
size_t (*get_linkxstats_size)(const struct net_device *, int);
int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int);
};
riscv64
: ✅struct rtnl_link_ops {
struct list_head list;
const char *kind;
size_t priv_size;
void (*setup)(struct net_device *);
unsigned int maxtype;
const struct nla_policy *policy;
int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
void (*dellink)(struct net_device *, struct list_head *);
size_t (*get_size)(const struct net_device *);
int (*fill_info)(struct sk_buff *, const struct net_device *);
size_t (*get_xstats_size)(const struct net_device *);
int (*fill_xstats)(struct sk_buff *, const struct net_device *);
unsigned int (*get_num_tx_queues)();
unsigned int (*get_num_rx_queues)();
unsigned int slave_maxtype;
const struct nla_policy *slave_policy;
int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
size_t (*get_slave_size)(const struct net_device *, const struct net_device *);
int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *);
struct net * (*get_link_net)(const struct net_device *);
size_t (*get_linkxstats_size)(const struct net_device *, int);
int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int);
};
aws
: ✅struct rtnl_link_ops {
struct list_head list;
const char *kind;
size_t priv_size;
void (*setup)(struct net_device *);
unsigned int maxtype;
const struct nla_policy *policy;
int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
void (*dellink)(struct net_device *, struct list_head *);
size_t (*get_size)(const struct net_device *);
int (*fill_info)(struct sk_buff *, const struct net_device *);
size_t (*get_xstats_size)(const struct net_device *);
int (*fill_xstats)(struct sk_buff *, const struct net_device *);
unsigned int (*get_num_tx_queues)();
unsigned int (*get_num_rx_queues)();
unsigned int slave_maxtype;
const struct nla_policy *slave_policy;
int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
size_t (*get_slave_size)(const struct net_device *, const struct net_device *);
int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *);
struct net * (*get_link_net)(const struct net_device *);
size_t (*get_linkxstats_size)(const struct net_device *, int);
int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int);
};
azure
: ✅struct rtnl_link_ops {
struct list_head list;
const char *kind;
size_t priv_size;
void (*setup)(struct net_device *);
unsigned int maxtype;
const struct nla_policy *policy;
int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
void (*dellink)(struct net_device *, struct list_head *);
size_t (*get_size)(const struct net_device *);
int (*fill_info)(struct sk_buff *, const struct net_device *);
size_t (*get_xstats_size)(const struct net_device *);
int (*fill_xstats)(struct sk_buff *, const struct net_device *);
unsigned int (*get_num_tx_queues)();
unsigned int (*get_num_rx_queues)();
unsigned int slave_maxtype;
const struct nla_policy *slave_policy;
int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
size_t (*get_slave_size)(const struct net_device *, const struct net_device *);
int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *);
struct net * (*get_link_net)(const struct net_device *);
size_t (*get_linkxstats_size)(const struct net_device *, int);
int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int);
};
gcp
: ✅struct rtnl_link_ops {
struct list_head list;
const char *kind;
size_t priv_size;
void (*setup)(struct net_device *);
unsigned int maxtype;
const struct nla_policy *policy;
int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
void (*dellink)(struct net_device *, struct list_head *);
size_t (*get_size)(const struct net_device *);
int (*fill_info)(struct sk_buff *, const struct net_device *);
size_t (*get_xstats_size)(const struct net_device *);
int (*fill_xstats)(struct sk_buff *, const struct net_device *);
unsigned int (*get_num_tx_queues)();
unsigned int (*get_num_rx_queues)();
unsigned int slave_maxtype;
const struct nla_policy *slave_policy;
int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
size_t (*get_slave_size)(const struct net_device *, const struct net_device *);
int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *);
struct net * (*get_link_net)(const struct net_device *);
size_t (*get_linkxstats_size)(const struct net_device *, int);
int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int);
};
lowlatency
: ✅struct rtnl_link_ops {
struct list_head list;
const char *kind;
size_t priv_size;
void (*setup)(struct net_device *);
unsigned int maxtype;
const struct nla_policy *policy;
int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
void (*dellink)(struct net_device *, struct list_head *);
size_t (*get_size)(const struct net_device *);
int (*fill_info)(struct sk_buff *, const struct net_device *);
size_t (*get_xstats_size)(const struct net_device *);
int (*fill_xstats)(struct sk_buff *, const struct net_device *);
unsigned int (*get_num_tx_queues)();
unsigned int (*get_num_rx_queues)();
unsigned int slave_maxtype;
const struct nla_policy *slave_policy;
int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *);
size_t (*get_slave_size)(const struct net_device *, const struct net_device *);
int (*fill_slave_info)(struct sk_buff *, const struct net_device *, const struct net_device *);
struct net * (*get_link_net)(const struct net_device *);
size_t (*get_linkxstats_size)(const struct net_device *, int);
int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int);
};
Regular
4.4
and 4.8
⚠️size_t (*get_linkxstats_size)(const struct net_device *, int)
int (*fill_linkxstats)(struct sk_buff *, const struct net_device *, int *, int)
4.8
and 4.10
✅
4.10
and 4.13
⚠️int (*validate)(struct nlattr **, struct nlattr **)
➡️ int (*validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *)
int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **)
➡️ int (*newlink)(struct net *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *)
int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **)
➡️ int (*changelink)(struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *)
int (*slave_validate)(struct nlattr **, struct nlattr **)
➡️ int (*slave_validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *)
int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **)
➡️ int (*slave_changelink)(struct net_device *, struct net_device *, struct nlattr **, struct nlattr **, struct netlink_ext_ack *)
4.13
and 4.15
⚠️int (*slave_validate)(struct nlattr **, struct nlattr **, struct netlink_ext_ack *)
4.15
and 4.18
⚠️int maxtype
➡️ unsigned int maxtype
int slave_maxtype
➡️ unsigned int slave_maxtype
4.18
and 5.0
✅
5.0
and 5.3
✅
5.3
and 5.4
✅
5.4
and 5.8
✅
5.8
and 5.11
⚠️bool netns_refund
5.11
and 5.13
✅
5.13
and 5.15
⚠️struct net_device * (*alloc)(struct nlattr **, const char *, unsigned char, unsigned int, unsigned int)
5.15
and 5.19
✅
5.19
and 6.2
✅
6.2
and 6.5
✅
6.5
and 6.8
✅
amd64
and arm64
✅
amd64
and armhf
✅
amd64
and ppc64el
✅
amd64
and riscv64
✅
generic
and aws
✅
generic
and azure
✅
generic
and gcp
✅
generic
and lowlatency
✅