| /linux/include/net/ |
| 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 | rtnetlink.h | 140 struct rtnl_link_ops { struct 202 int rtnl_link_register(struct rtnl_link_ops *ops); argument 203 void rtnl_link_unregister(struct rtnl_link_ops *ops); 249 const struct rtnl_link_ops *ops,
|
| 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 | pfcp.h | 86 return dev->rtnl_link_ops && in netif_is_pfcp() 87 !strcmp(dev->rtnl_link_ops->kind, "pfcp"); in netif_is_pfcp()
|
| 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 | 208 struct rtnl_link_ops *rtnl_link_ops; member 381 struct rtnl_link_ops *ops, char *devname); 383 struct rtnl_link_ops *ops,
|
| H A D | amt.h | 400 return dev->rtnl_link_ops && !strcmp(dev->rtnl_link_ops->kind, "amt"); in netif_is_amt()
|
| /linux/net/core/ |
| H A D | rtnetlink.c | 566 static struct rtnl_link_ops *rtnl_link_ops_get(const char *kind, int *srcu_index) in rtnl_link_ops_get() 568 struct rtnl_link_ops *ops; in rtnl_link_ops_get() 586 static void rtnl_link_ops_put(struct rtnl_link_ops *ops, int srcu_index) in rtnl_link_ops_put() 597 int rtnl_link_register(struct rtnl_link_ops *ops) in rtnl_link_register() 599 struct rtnl_link_ops *tmp; in rtnl_link_register() 636 static void __rtnl_kill_links(struct net *net, struct rtnl_link_ops *ops) in __rtnl_kill_links() 642 if (dev->rtnl_link_ops == ops) in __rtnl_kill_links() 674 void rtnl_link_unregister(struct rtnl_link_ops *ops) in rtnl_link_unregister() 700 const struct rtnl_link_ops *ops; in rtnl_link_get_slave_info_data_size() 709 ops = master_dev->rtnl_link_ops; in rtnl_link_get_slave_info_data_size() [all …]
|
| /linux/drivers/net/ |
| H A D | dummy.c | 139 static struct rtnl_link_ops dummy_link_ops __read_mostly = { 158 dev_dummy->rtnl_link_ops = &dummy_link_ops; in dummy_init_one()
|
| H A D | macvtap.c | 140 static struct rtnl_link_ops macvtap_link_ops __read_mostly = { 159 if (dev->rtnl_link_ops != &macvtap_link_ops) in macvtap_device_event()
|
| H A D | nlmon.c | 92 static struct rtnl_link_ops nlmon_link_ops __read_mostly = {
|
| H A D | vsockmon.c | 100 static struct rtnl_link_ops vsockmon_link_ops __read_mostly = {
|
| /linux/net/hsr/ |
| H A D | hsr_main.c | 115 const struct rtnl_link_ops *ops; in hsr_netdev_notify() 117 ops = master->dev->rtnl_link_ops; in hsr_netdev_notify()
|
| /linux/drivers/infiniband/ulp/ipoib/ |
| H A D | ipoib_netlink.c | 171 static struct rtnl_link_ops ipoib_link_ops __read_mostly = { 187 struct rtnl_link_ops *ipoib_get_link_ops(void) in ipoib_get_link_ops()
|
| /linux/net/dsa/ |
| H A D | netlink.h | 6 extern struct rtnl_link_ops dsa_link_ops __read_mostly;
|
| H A D | netlink.c | 55 struct rtnl_link_ops dsa_link_ops __read_mostly = {
|
| /linux/net/openvswitch/ |
| H A D | vport-internal_dev.c | 90 static struct rtnl_link_ops internal_dev_link_ops __read_mostly = { 109 netdev->rtnl_link_ops = &internal_dev_link_ops; in do_setup()
|
| /linux/drivers/net/ipvlan/ |
| H A D | ipvtap.c | 128 static struct rtnl_link_ops ipvtap_link_ops __read_mostly = { 146 if (dev->rtnl_link_ops != &ipvtap_link_ops) in ipvtap_device_event()
|
| /linux/drivers/net/ethernet/qualcomm/rmnet/ |
| H A D | rmnet_config.h | 55 extern struct rtnl_link_ops rmnet_link_ops;
|
| /linux/net/netfilter/ |
| H A D | nft_meta.c | 186 if (!in || !in->rtnl_link_ops) in nft_meta_get_eval_kind() 188 strscpy_pad((char *)dest, in->rtnl_link_ops->kind, IFNAMSIZ); in nft_meta_get_eval_kind() 191 if (!out || !out->rtnl_link_ops) in nft_meta_get_eval_kind() 193 strscpy_pad((char *)dest, out->rtnl_link_ops->kind, IFNAMSIZ); in nft_meta_get_eval_kind()
|
| /linux/net/ipv6/ |
| H A D | ip6_gre.c | 74 static struct rtnl_link_ops ip6gre_link_ops __read_mostly; 75 static struct rtnl_link_ops ip6gre_tap_ops __read_mostly; 76 static struct rtnl_link_ops ip6erspan_tap_ops __read_mostly; 345 dev->rtnl_link_ops = &ip6gre_link_ops; in ip6gre_tunnel_locate() 1559 if (dev->rtnl_link_ops == &ip6gre_link_ops || in ip6gre_exit_rtnl_net() 1560 dev->rtnl_link_ops == &ip6gre_tap_ops || in ip6gre_exit_rtnl_net() 1561 dev->rtnl_link_ops == &ip6erspan_tap_ops) in ip6gre_exit_rtnl_net() 1606 ign->fb_tunnel_dev->rtnl_link_ops = &ip6gre_link_ops; in ip6gre_init_net() 2281 static struct rtnl_link_ops ip6gre_link_ops __read_mostly = { 2296 static struct rtnl_link_ops ip6gre_tap_ops __read_mostly = { [all …]
|
| /linux/Documentation/networking/net_cachelines/ |
| H A D | net_device.rst | 152 struct rtnl_link_ops* rtnl_link_ops
|
| /linux/net/ipv4/ |
| H A D | ip_tunnel.c | 234 const struct rtnl_link_ops *ops, in __ip_tunnel_create() 262 dev->rtnl_link_ops = ops; in __ip_tunnel_create() 339 dev = __ip_tunnel_create(net, itn->rtnl_link_ops, parms); in ip_tunnel_create() 1123 struct rtnl_link_ops *ops, char *devname) in ip_tunnel_init_net() 1129 itn->rtnl_link_ops = ops; in ip_tunnel_init_net() 1164 struct rtnl_link_ops *ops, in ip_tunnel_delete_net() 1174 if (dev->rtnl_link_ops == ops) in ip_tunnel_delete_net()
|
| /linux/include/linux/ |
| H A D | if_macvlan.h | 70 extern int macvlan_link_register(struct rtnl_link_ops *ops);
|