/kernel/linux/linux-5.10/include/net/ |
H A D | rtnetlink.h | 32 * 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 D | gre.h | 42 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 D | bareudp.h | 23 return dev->rtnl_link_ops && in netif_is_bareudp() 24 !strcmp(dev->rtnl_link_ops->kind, "bareudp"); in netif_is_bareudp()
|
H A D | geneve.h | 67 return dev->rtnl_link_ops && in netif_is_geneve() 68 !strcmp(dev->rtnl_link_ops->kind, "geneve"); in netif_is_geneve()
|
H A D | ip_tunnels.h | 164 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 D | rtnetlink.h | 46 * 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 D | gre.h | 42 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 D | bareudp.h | 12 return dev->rtnl_link_ops && in netif_is_bareudp() 13 !strcmp(dev->rtnl_link_ops->kind, "bareudp"); in netif_is_bareudp()
|
H A D | geneve.h | 67 return dev->rtnl_link_ops && in netif_is_geneve() 68 !strcmp(dev->rtnl_link_ops->kind, "geneve"); in netif_is_geneve()
|
H A D | gtp.h | 72 return dev->rtnl_link_ops && in netif_is_gtp() 73 !strcmp(dev->rtnl_link_ops->kind, "gtp"); in netif_is_gtp()
|
H A D | ip_tunnels.h | 176 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 D | rtnetlink.c | 351 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 D | hsr_main.c | 106 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 D | ipoib_netlink.c | 168 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 D | hsr_main.c | 106 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 D | netlink.h | 6 extern struct rtnl_link_ops dsa_link_ops __read_mostly;
|
/kernel/linux/linux-5.10/drivers/net/ |
H A D | dummy.c | 150 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 D | macvtap.c | 141 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 D | ipoib_netlink.c | 169 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 D | dummy.c | 143 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 D | soft-interface.h | 23 extern struct rtnl_link_ops batadv_link_ops;
|
/kernel/linux/linux-5.10/net/batman-adv/ |
H A D | soft-interface.h | 26 extern struct rtnl_link_ops batadv_link_ops;
|
/kernel/linux/linux-6.6/net/core/ |
H A D | rtnetlink.c | 394 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 D | ipvtap.c | 129 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 D | vport-internal_dev.c | 106 static struct rtnl_link_ops internal_dev_link_ops __read_mostly = { 124 netdev->rtnl_link_ops = &internal_dev_link_ops; in do_setup()
|