Lines Matching defs:rtnl_link_ops
106 struct rtnl_link_ops { struct
107 struct list_head list;
108 struct srcu_struct srcu;
110 const char *kind;
112 size_t priv_size;
113 struct net_device *(*alloc)(struct nlattr *tb[],
118 void (*setup)(struct net_device *dev);
120 bool netns_refund;
121 const u16 peer_type;
122 unsigned int maxtype;
123 const struct nla_policy *policy;
124 int (*validate)(struct nlattr *tb[],
128 int (*newlink)(struct net *src_net,
133 int (*changelink)(struct net_device *dev,
137 void (*dellink)(struct net_device *dev,
140 size_t (*get_size)(const struct net_device *dev);
141 int (*fill_info)(struct sk_buff *skb,
144 size_t (*get_xstats_size)(const struct net_device *dev);
145 int (*fill_xstats)(struct sk_buff *skb,
170 int rtnl_link_register(struct rtnl_link_ops *ops); argument