Home
last modified time | relevance | path

Searched refs:rtnl_link_ops (Results 1 - 25 of 160) sorted by relevance

1234567

/kernel/linux/linux-5.10/include/net/
H A Drtnetlink.h32 * struct rtnl_link_ops - rtnetlink link operations
60 struct rtnl_link_ops { struct
117 int __rtnl_link_register(struct rtnl_link_ops *ops);
118 void __rtnl_link_unregister(struct rtnl_link_ops *ops);
120 int rtnl_link_register(struct rtnl_link_ops *ops);
121 void rtnl_link_unregister(struct rtnl_link_ops *ops);
163 const struct rtnl_link_ops *ops,
H A Dgre.h42 return dev->rtnl_link_ops && in netif_is_gretap()
43 !strcmp(dev->rtnl_link_ops->kind, "gretap"); in netif_is_gretap()
48 return dev->rtnl_link_ops && in netif_is_ip6gretap()
49 !strcmp(dev->rtnl_link_ops->kind, "ip6gretap"); in netif_is_ip6gretap()
H A Dbareudp.h23 return dev->rtnl_link_ops && in netif_is_bareudp()
24 !strcmp(dev->rtnl_link_ops->kind, "bareudp"); in netif_is_bareudp()
H A Dgeneve.h67 return dev->rtnl_link_ops && in netif_is_geneve()
68 !strcmp(dev->rtnl_link_ops->kind, "geneve"); in netif_is_geneve()
H A Dip_tunnels.h164 struct rtnl_link_ops *rtnl_link_ops; member
263 struct rtnl_link_ops *ops, char *devname);
266 struct rtnl_link_ops *ops);
/kernel/linux/linux-6.6/include/net/
H A Drtnetlink.h46 * struct rtnl_link_ops - rtnetlink link operations
77 struct rtnl_link_ops { struct
139 int __rtnl_link_register(struct rtnl_link_ops *ops);
140 void __rtnl_link_unregister(struct rtnl_link_ops *ops);
142 int rtnl_link_register(struct rtnl_link_ops *ops);
143 void rtnl_link_unregister(struct rtnl_link_ops *ops);
186 const struct rtnl_link_ops *ops,
H A Dgre.h42 return dev->rtnl_link_ops && in netif_is_gretap()
43 !strcmp(dev->rtnl_link_ops->kind, "gretap"); in netif_is_gretap()
48 return dev->rtnl_link_ops && in netif_is_ip6gretap()
49 !strcmp(dev->rtnl_link_ops->kind, "ip6gretap"); in netif_is_ip6gretap()
H A Dbareudp.h12 return dev->rtnl_link_ops && in netif_is_bareudp()
13 !strcmp(dev->rtnl_link_ops->kind, "bareudp"); in netif_is_bareudp()
H A Dgeneve.h67 return dev->rtnl_link_ops && in netif_is_geneve()
68 !strcmp(dev->rtnl_link_ops->kind, "geneve"); in netif_is_geneve()
H A Dgtp.h72 return dev->rtnl_link_ops && in netif_is_gtp()
73 !strcmp(dev->rtnl_link_ops->kind, "gtp"); in netif_is_gtp()
H A Dip_tunnels.h176 struct rtnl_link_ops *rtnl_link_ops; member
284 struct rtnl_link_ops *ops, char *devname);
287 struct rtnl_link_ops *ops);
/kernel/linux/linux-5.10/net/core/
H A Drtnetlink.c351 static const struct rtnl_link_ops *rtnl_link_ops_get(const char *kind) in rtnl_link_ops_get()
353 const struct rtnl_link_ops *ops; in rtnl_link_ops_get()
363 * __rtnl_link_register - Register rtnl_link_ops with rtnetlink.
364 * @ops: struct rtnl_link_ops * to register
372 int __rtnl_link_register(struct rtnl_link_ops *ops) in __rtnl_link_register()
391 * rtnl_link_register - Register rtnl_link_ops with rtnetlink.
392 * @ops: struct rtnl_link_ops * to register
396 int rtnl_link_register(struct rtnl_link_ops *ops) in rtnl_link_register()
412 static void __rtnl_kill_links(struct net *net, struct rtnl_link_ops *ops) in __rtnl_kill_links()
418 if (dev->rtnl_link_ops in __rtnl_kill_links()
[all...]
/kernel/linux/linux-5.10/net/hsr/
H A Dhsr_main.c106 const struct rtnl_link_ops *ops; in hsr_netdev_notify()
108 ops = master->dev->rtnl_link_ops; in hsr_netdev_notify()
/kernel/linux/linux-6.6/drivers/infiniband/ulp/ipoib/
H A Dipoib_netlink.c168 static struct rtnl_link_ops ipoib_link_ops __read_mostly = {
184 struct rtnl_link_ops *ipoib_get_link_ops(void) in ipoib_get_link_ops()
/kernel/linux/linux-6.6/net/hsr/
H A Dhsr_main.c106 const struct rtnl_link_ops *ops; in hsr_netdev_notify()
108 ops = master->dev->rtnl_link_ops; in hsr_netdev_notify()
/kernel/linux/linux-6.6/net/dsa/
H A Dnetlink.h6 extern struct rtnl_link_ops dsa_link_ops __read_mostly;
/kernel/linux/linux-5.10/drivers/net/
H A Ddummy.c150 static struct rtnl_link_ops dummy_link_ops __read_mostly = {
169 dev_dummy->rtnl_link_ops = &dummy_link_ops; in dummy_init_one()
H A Dmacvtap.c141 static struct rtnl_link_ops macvtap_link_ops __read_mostly = {
160 if (dev->rtnl_link_ops != &macvtap_link_ops) in macvtap_device_event()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/
H A Dipoib_netlink.c169 static struct rtnl_link_ops ipoib_link_ops __read_mostly = {
185 struct rtnl_link_ops *ipoib_get_link_ops(void) in ipoib_get_link_ops()
/kernel/linux/linux-6.6/drivers/net/
H A Ddummy.c143 static struct rtnl_link_ops dummy_link_ops __read_mostly = {
162 dev_dummy->rtnl_link_ops = &dummy_link_ops; in dummy_init_one()
/kernel/linux/linux-6.6/net/batman-adv/
H A Dsoft-interface.h23 extern struct rtnl_link_ops batadv_link_ops;
/kernel/linux/linux-5.10/net/batman-adv/
H A Dsoft-interface.h26 extern struct rtnl_link_ops batadv_link_ops;
/kernel/linux/linux-6.6/net/core/
H A Drtnetlink.c394 static const struct rtnl_link_ops *rtnl_link_ops_get(const char *kind) in rtnl_link_ops_get()
396 const struct rtnl_link_ops *ops; in rtnl_link_ops_get()
406 * __rtnl_link_register - Register rtnl_link_ops with rtnetlink.
407 * @ops: struct rtnl_link_ops * to register
415 int __rtnl_link_register(struct rtnl_link_ops *ops) in __rtnl_link_register()
434 * rtnl_link_register - Register rtnl_link_ops with rtnetlink.
435 * @ops: struct rtnl_link_ops * to register
439 int rtnl_link_register(struct rtnl_link_ops *ops) in rtnl_link_register()
455 static void __rtnl_kill_links(struct net *net, struct rtnl_link_ops *ops) in __rtnl_kill_links()
461 if (dev->rtnl_link_ops in __rtnl_kill_links()
[all...]
/kernel/linux/linux-5.10/drivers/net/ipvlan/
H A Dipvtap.c129 static struct rtnl_link_ops ipvtap_link_ops __read_mostly = {
147 if (dev->rtnl_link_ops != &ipvtap_link_ops) in ipvtap_device_event()
/kernel/linux/linux-5.10/net/openvswitch/
H A Dvport-internal_dev.c106 static struct rtnl_link_ops internal_dev_link_ops __read_mostly = {
124 netdev->rtnl_link_ops = &internal_dev_link_ops; in do_setup()

Completed in 19 milliseconds

1234567