| /linux/include/net/ |
| 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 | gre.h | 40 return dev->rtnl_link_ops && in netif_is_gretap() 41 !strcmp(dev->rtnl_link_ops->kind, "gretap"); in netif_is_gretap() 46 return dev->rtnl_link_ops && in netif_is_ip6gretap() 47 !strcmp(dev->rtnl_link_ops->kind, "ip6gretap"); in netif_is_ip6gretap()
|
| 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 | 216 struct rtnl_link_ops *rtnl_link_ops; member 399 struct rtnl_link_ops *ops, char *devname); 401 struct rtnl_link_ops *ops,
|
| /linux/net/core/ |
| H A D | rtnetlink.c | 591 static struct rtnl_link_ops *rtnl_link_ops_get(const char *kind, int *srcu_index) in rtnl_link_ops_get() 593 struct rtnl_link_ops *ops; in rtnl_link_ops_get() 611 static void rtnl_link_ops_put(struct rtnl_link_ops *ops, int srcu_index) in rtnl_link_ops_put() 622 int rtnl_link_register(struct rtnl_link_ops *ops) in rtnl_link_register() 624 struct rtnl_link_ops *tmp; in rtnl_link_register() 664 static void __rtnl_kill_links(struct net *net, struct rtnl_link_ops *ops, in __rtnl_kill_links() 670 if (dev->rtnl_link_ops == ops) in __rtnl_kill_links() 701 void rtnl_link_unregister(struct rtnl_link_ops *ops) in rtnl_link_unregister() 734 const struct rtnl_link_ops *ops; in rtnl_link_get_slave_info_data_size() 743 ops = master_dev->rtnl_link_ops; in rtnl_link_get_slave_info_data_size() [all …]
|
| /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/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/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/net/batman-adv/ |
| H A D | mesh-interface.h | 22 extern struct rtnl_link_ops batadv_link_ops;
|
| /linux/drivers/net/ |
| 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()
|
| 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/drivers/net/ipvlan/ |
| H A D | ipvtap.c | 141 static struct rtnl_link_ops ipvtap_link_ops __read_mostly = { 159 if (dev->rtnl_link_ops != &ipvtap_link_ops) in ipvtap_device_event()
|
| /linux/drivers/net/ethernet/qualcomm/rmnet/ |
| H A D | rmnet_config.h | 56 extern struct rtnl_link_ops rmnet_link_ops;
|
| /linux/drivers/net/can/ |
| H A D | vxcan.c | 202 static struct rtnl_link_ops vxcan_link_ops; 320 static struct rtnl_link_ops vxcan_link_ops = {
|
| H A D | vcan.c | 190 static struct rtnl_link_ops vcan_link_ops __read_mostly = {
|
| /linux/include/linux/ |
| H A D | if_macvlan.h | 70 extern int macvlan_link_register(struct rtnl_link_ops *ops);
|
| /linux/net/netfilter/ |
| H A D | nft_meta.c | 192 if (!in || !in->rtnl_link_ops) in nft_meta_get_eval_kind() 194 strscpy_pad((char *)dest, in->rtnl_link_ops->kind, IFNAMSIZ); in nft_meta_get_eval_kind() 197 if (!out || !out->rtnl_link_ops) in nft_meta_get_eval_kind() 199 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() 1557 if (dev->rtnl_link_ops == &ip6gre_link_ops || in ip6gre_exit_rtnl_net() 1558 dev->rtnl_link_ops == &ip6gre_tap_ops || in ip6gre_exit_rtnl_net() 1559 dev->rtnl_link_ops == &ip6erspan_tap_ops) in ip6gre_exit_rtnl_net() 1604 ign->fb_tunnel_dev->rtnl_link_ops = &ip6gre_link_ops; in ip6gre_init_net() 2286 static struct rtnl_link_ops ip6gre_link_ops __read_mostly = { 2301 static struct rtnl_link_ops ip6gre_tap_ops __read_mostly = { [all …]
|
| /linux/Documentation/translations/zh_CN/infiniband/ |
| H A D | ipoib.rst | 41 子接口的创建/删除也可以使用IPoIB的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() 1113 struct rtnl_link_ops *ops, char *devname) in ip_tunnel_init_net() 1119 itn->rtnl_link_ops = ops; in ip_tunnel_init_net() 1154 struct rtnl_link_ops *ops, in ip_tunnel_delete_net() 1164 if (dev->rtnl_link_ops == ops) in ip_tunnel_delete_net()
|