/openbmc/linux/include/net/ |
H A D | rtnetlink.h | 95 struct rtnl_link_ops { struct 157 int __rtnl_link_register(struct rtnl_link_ops *ops); argument 158 void __rtnl_link_unregister(struct rtnl_link_ops *ops); 160 int rtnl_link_register(struct rtnl_link_ops *ops); 161 void rtnl_link_unregister(struct rtnl_link_ops *ops); 204 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);
|
H A D | amt.h | 400 return dev->rtnl_link_ops && !strcmp(dev->rtnl_link_ops->kind, "amt"); in netif_is_amt()
|
/openbmc/linux/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()
|
/openbmc/linux/net/core/ |
H A D | rtnetlink.c | 423 static const struct rtnl_link_ops *rtnl_link_ops_get(const char *kind) in rtnl_link_ops_get() 425 const struct rtnl_link_ops *ops; in rtnl_link_ops_get() 444 int __rtnl_link_register(struct rtnl_link_ops *ops) in __rtnl_link_register() 468 int rtnl_link_register(struct rtnl_link_ops *ops) in rtnl_link_register() 484 static void __rtnl_kill_links(struct net *net, struct rtnl_link_ops *ops) in __rtnl_kill_links() 490 if (dev->rtnl_link_ops == ops) in __rtnl_kill_links() 504 void __rtnl_link_unregister(struct rtnl_link_ops *ops) in __rtnl_link_unregister() 550 void rtnl_link_unregister(struct rtnl_link_ops *ops) in rtnl_link_unregister() 564 const struct rtnl_link_ops *ops; in rtnl_link_get_slave_info_data_size() 573 ops = master_dev->rtnl_link_ops; in rtnl_link_get_slave_info_data_size() [all …]
|
/openbmc/linux/drivers/net/ |
H A D | dummy.c | 144 static struct rtnl_link_ops dummy_link_ops __read_mostly = { 163 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 | 112 static struct rtnl_link_ops nlmon_link_ops __read_mostly = {
|
H A D | vsockmon.c | 117 static struct rtnl_link_ops vsockmon_link_ops __read_mostly = {
|
/openbmc/linux/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()
|
/openbmc/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 = {
|
/openbmc/linux/net/batman-adv/ |
H A D | soft-interface.h | 23 extern struct rtnl_link_ops batadv_link_ops;
|
/openbmc/linux/net/openvswitch/ |
H A D | vport-internal_dev.c | 91 static struct rtnl_link_ops internal_dev_link_ops __read_mostly = { 109 netdev->rtnl_link_ops = &internal_dev_link_ops; in do_setup()
|
/openbmc/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()
|
/openbmc/linux/net/ipv4/ |
H A D | ip_tunnel.c | 233 const struct rtnl_link_ops *ops, in __ip_tunnel_create() 261 dev->rtnl_link_ops = ops; in __ip_tunnel_create() 338 dev = __ip_tunnel_create(net, itn->rtnl_link_ops, parms); in ip_tunnel_create() 1094 struct rtnl_link_ops *ops, char *devname) in ip_tunnel_init_net() 1100 itn->rtnl_link_ops = ops; in ip_tunnel_init_net() 1136 struct rtnl_link_ops *ops) in ip_tunnel_destroy() 1142 if (dev->rtnl_link_ops == ops) in ip_tunnel_destroy() 1160 struct rtnl_link_ops *ops) in ip_tunnel_delete_nets()
|
/openbmc/linux/drivers/net/can/ |
H A D | vxcan.c | 173 static struct rtnl_link_ops vxcan_link_ops; 298 static struct rtnl_link_ops vxcan_link_ops = {
|
/openbmc/linux/drivers/net/ethernet/qualcomm/rmnet/ |
H A D | rmnet_config.h | 55 extern struct rtnl_link_ops rmnet_link_ops;
|
/openbmc/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()
|
/openbmc/linux/include/linux/ |
H A D | if_macvlan.h | 68 extern int macvlan_link_register(struct rtnl_link_ops *ops);
|
/openbmc/linux/net/ipv6/ |
H A D | ip6_gre.c | 73 static struct rtnl_link_ops ip6gre_link_ops __read_mostly; 74 static struct rtnl_link_ops ip6gre_tap_ops __read_mostly; 75 static struct rtnl_link_ops ip6erspan_tap_ops __read_mostly; 376 dev->rtnl_link_ops = &ip6gre_link_ops; in ip6gre_tunnel_locate() 1575 if (dev->rtnl_link_ops == &ip6gre_link_ops || in ip6gre_destroy_tunnels() 1576 dev->rtnl_link_ops == &ip6gre_tap_ops || in ip6gre_destroy_tunnels() 1577 dev->rtnl_link_ops == &ip6erspan_tap_ops) in ip6gre_destroy_tunnels() 1623 ign->fb_tunnel_dev->rtnl_link_ops = &ip6gre_link_ops; in ip6gre_init_net() 2312 static struct rtnl_link_ops ip6gre_link_ops __read_mostly = { 2327 static struct rtnl_link_ops ip6gre_tap_ops __read_mostly = { [all …]
|