Lines Matching defs:rtnl_link_ops
140 struct rtnl_link_ops { struct
141 struct list_head list;
142 struct srcu_struct srcu;
144 const char *kind;
146 size_t priv_size;
147 struct net_device *(*alloc)(struct nlattr *tb[],
152 void (*setup)(struct net_device *dev);
154 bool netns_refund;
155 const u16 peer_type;
156 unsigned int maxtype;
157 const struct nla_policy *policy;
158 int (*validate)(struct nlattr *tb[],
162 int (*newlink)(struct net_device *dev,
165 int (*changelink)(struct net_device *dev,
169 void (*dellink)(struct net_device *dev,
172 size_t (*get_size)(const struct net_device *dev);
173 int (*fill_info)(struct sk_buff *skb,
176 size_t (*get_xstats_size)(const struct net_device *dev);
177 int (*fill_xstats)(struct sk_buff *skb,
202 int rtnl_link_register(struct rtnl_link_ops *ops); argument