Symbol: rtnl_link_ops
drivers/infiniband/ulp/ipoib/ipoib.h
537
struct rtnl_link_ops *ipoib_get_link_ops(void);
drivers/infiniband/ulp/ipoib/ipoib_main.c
2586
struct rtnl_link_ops *ops = ipoib_get_link_ops();
drivers/infiniband/ulp/ipoib/ipoib_main.c
2607
ndev->rtnl_link_ops = ipoib_get_link_ops();
drivers/infiniband/ulp/ipoib/ipoib_netlink.c
171
static struct rtnl_link_ops ipoib_link_ops __read_mostly = {
drivers/infiniband/ulp/ipoib/ipoib_netlink.c
187
struct rtnl_link_ops *ipoib_get_link_ops(void)
drivers/infiniband/ulp/ipoib/ipoib_vlan.c
202
ndev->rtnl_link_ops = ipoib_get_link_ops();
drivers/net/amt.c
3384
static struct rtnl_link_ops amt_link_ops __read_mostly = {
drivers/net/bareudp.c
761
static struct rtnl_link_ops bareudp_link_ops __read_mostly = {
drivers/net/bonding/bond_main.c
6542
bond_dev->rtnl_link_ops = &bond_link_ops;
drivers/net/bonding/bond_netlink.c
972
struct rtnl_link_ops bond_link_ops __read_mostly = {
drivers/net/can/dev/dev.c
645
dev->rtnl_link_ops = &can_link_ops;
drivers/net/can/dev/dev.c
664
if (dev->type != ARPHRD_CAN || dev->rtnl_link_ops != &can_link_ops)
drivers/net/can/dev/netlink.c
1090
struct rtnl_link_ops can_link_ops __read_mostly = {
drivers/net/can/vcan.c
190
static struct rtnl_link_ops vcan_link_ops __read_mostly = {
drivers/net/can/vxcan.c
201
static struct rtnl_link_ops vxcan_link_ops;
drivers/net/can/vxcan.c
316
static struct rtnl_link_ops vxcan_link_ops = {
drivers/net/dummy.c
142
static struct rtnl_link_ops dummy_link_ops __read_mostly = {
drivers/net/dummy.c
161
dev_dummy->rtnl_link_ops = &dummy_link_ops;
drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c
180
if (dev->rtnl_link_ops)
drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c
181
return dev->rtnl_link_ops->kind;
drivers/net/ethernet/netronome/nfp/flower/cmsg.h
721
if (!netdev->rtnl_link_ops)
drivers/net/ethernet/netronome/nfp/flower/cmsg.h
723
if (!strcmp(netdev->rtnl_link_ops->kind, "openvswitch"))
drivers/net/ethernet/netronome/nfp/flower/conntrack.c
1900
if (act->dev->rtnl_link_ops &&
drivers/net/ethernet/netronome/nfp/flower/conntrack.c
1901
!strcmp(act->dev->rtnl_link_ops->kind, "openvswitch")) {
drivers/net/ethernet/netronome/nfp/flower/main.h
524
if (!netdev->rtnl_link_ops)
drivers/net/ethernet/netronome/nfp/flower/main.h
526
if (!strcmp(netdev->rtnl_link_ops->kind, "openvswitch"))
drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c
400
struct rtnl_link_ops rmnet_link_ops __read_mostly = {
drivers/net/ethernet/qualcomm/rmnet/rmnet_config.h
56
extern struct rtnl_link_ops rmnet_link_ops;
drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.c
333
rmnet_dev->rtnl_link_ops = &rmnet_link_ops;
drivers/net/ethernet/rocker/rocker_ofdpa.c
278
!strcmp(ofdpa_port->bridge_dev->rtnl_link_ops->kind, kind);
drivers/net/geneve.c
2550
static struct rtnl_link_ops geneve_link_ops __read_mostly = {
drivers/net/gtp.c
1610
static struct rtnl_link_ops gtp_link_ops __read_mostly = {
drivers/net/gtp.c
2290
if (dev->rtnl_link_ops != &gtp_link_ops)
drivers/net/ifb.c
387
static struct rtnl_link_ops ifb_link_ops __read_mostly = {
drivers/net/ifb.c
413
dev_ifb->rtnl_link_ops = &ifb_link_ops;
drivers/net/ipvlan/ipvlan.h
173
int ipvlan_link_register(struct rtnl_link_ops *ops);
drivers/net/ipvlan/ipvlan_main.c
703
static struct rtnl_link_ops ipvlan_link_ops = {
drivers/net/ipvlan/ipvlan_main.c
713
int ipvlan_link_register(struct rtnl_link_ops *ops)
drivers/net/ipvlan/ipvlan_main.c
768
ipvlan->dev->rtnl_link_ops->dellink(ipvlan->dev,
drivers/net/ipvlan/ipvtap.c
129
static struct rtnl_link_ops ipvtap_link_ops __read_mostly = {
drivers/net/ipvlan/ipvtap.c
147
if (dev->rtnl_link_ops != &ipvtap_link_ops)
drivers/net/macsec.c
4436
static struct rtnl_link_ops macsec_link_ops __read_mostly = {
drivers/net/macvlan.c
1763
int macvlan_link_register(struct rtnl_link_ops *ops)
drivers/net/macvlan.c
1782
static struct rtnl_link_ops macvlan_link_ops = {
drivers/net/macvlan.c
1855
vlan->dev->rtnl_link_ops->dellink(vlan->dev, &list_kill);
drivers/net/macvtap.c
141
static struct rtnl_link_ops macvtap_link_ops __read_mostly = {
drivers/net/macvtap.c
160
if (dev->rtnl_link_ops != &macvtap_link_ops)
drivers/net/netdevsim/netdev.c
1235
static struct rtnl_link_ops nsim_link_ops __read_mostly = {
drivers/net/netkit.c
1256
static struct rtnl_link_ops netkit_link_ops = {
drivers/net/netkit.c
402
const struct rtnl_link_ops *ops = &netkit_link_ops;
drivers/net/netkit.c
50
static struct rtnl_link_ops netkit_link_ops;
drivers/net/nlmon.c
92
static struct rtnl_link_ops nlmon_link_ops __read_mostly = {
drivers/net/ovpn/main.c
223
static struct rtnl_link_ops ovpn_link_ops = {
drivers/net/pfcp.c
234
static struct rtnl_link_ops pfcp_link_ops __read_mostly = {
drivers/net/ppp/ppp_generic.c
1385
static struct rtnl_link_ops ppp_link_ops __read_mostly = {
drivers/net/ppp/ppp_generic.c
3372
dev->rtnl_link_ops = &ppp_link_ops;
drivers/net/team/team_core.c
2433
static struct rtnl_link_ops team_link_ops __read_mostly = {
drivers/net/tun.c
2344
static struct rtnl_link_ops tun_link_ops __read_mostly = {
drivers/net/tun.c
2792
dev->rtnl_link_ops = &tun_link_ops;
drivers/net/tun.c
3640
if (dev->rtnl_link_ops != &tun_link_ops)
drivers/net/veth.c
1787
static struct rtnl_link_ops veth_link_ops;
drivers/net/veth.c
1978
static struct rtnl_link_ops veth_link_ops = {
drivers/net/vrf.c
1730
static struct rtnl_link_ops vrf_link_ops __read_mostly = {
drivers/net/vsockmon.c
100
static struct rtnl_link_ops vsockmon_link_ops __read_mostly = {
drivers/net/vxlan/vxlan_core.c
4686
static struct rtnl_link_ops vxlan_link_ops __read_mostly = {
drivers/net/vxlan/vxlan_core.c
60
static struct rtnl_link_ops vxlan_link_ops;
drivers/net/wireguard/device.c
407
static struct rtnl_link_ops link_ops __read_mostly = {
drivers/net/wireguard/netlink.c
38
if (!dev->rtnl_link_ops || !dev->rtnl_link_ops->kind ||
drivers/net/wireguard/netlink.c
39
strcmp(dev->rtnl_link_ops->kind, KBUILD_MODNAME)) {
drivers/net/wireless/virtual/virt_wifi.c
627
static struct rtnl_link_ops virt_wifi_link_ops = {
drivers/net/wireless/virtual/virt_wifi.c
659
upper_dev->rtnl_link_ops->dellink(upper_dev, &list_kill);
drivers/net/wwan/wwan_core.c
1220
static struct rtnl_link_ops wwan_rtnl_link_ops __read_mostly = {
include/linux/can/dev.h
197
extern struct rtnl_link_ops can_link_ops;
include/linux/if_macvlan.h
70
extern int macvlan_link_register(struct rtnl_link_ops *ops);
include/linux/netdevice.h
2464
const struct rtnl_link_ops *rtnl_link_ops;
include/net/amt.h
400
return dev->rtnl_link_ops && !strcmp(dev->rtnl_link_ops->kind, "amt");
include/net/bareudp.h
12
return dev->rtnl_link_ops &&
include/net/bareudp.h
13
!strcmp(dev->rtnl_link_ops->kind, "bareudp");
include/net/bonding.h
804
extern struct rtnl_link_ops bond_link_ops;
include/net/geneve.h
67
return dev->rtnl_link_ops &&
include/net/geneve.h
68
!strcmp(dev->rtnl_link_ops->kind, "geneve");
include/net/gre.h
42
return dev->rtnl_link_ops &&
include/net/gre.h
43
!strcmp(dev->rtnl_link_ops->kind, "gretap");
include/net/gre.h
48
return dev->rtnl_link_ops &&
include/net/gre.h
49
!strcmp(dev->rtnl_link_ops->kind, "ip6gretap");
include/net/gtp.h
72
return dev->rtnl_link_ops &&
include/net/gtp.h
73
!strcmp(dev->rtnl_link_ops->kind, "gtp");
include/net/ip_tunnels.h
216
struct rtnl_link_ops *rtnl_link_ops;
include/net/ip_tunnels.h
399
struct rtnl_link_ops *ops, char *devname);
include/net/ip_tunnels.h
401
struct rtnl_link_ops *ops,
include/net/pfcp.h
86
return dev->rtnl_link_ops &&
include/net/pfcp.h
87
!strcmp(dev->rtnl_link_ops->kind, "pfcp");
include/net/rtnetlink.h
202
int rtnl_link_register(struct rtnl_link_ops *ops);
include/net/rtnetlink.h
203
void rtnl_link_unregister(struct rtnl_link_ops *ops);
include/net/rtnetlink.h
249
const struct rtnl_link_ops *ops,
include/net/vxlan.h
489
return dev->rtnl_link_ops &&
include/net/vxlan.h
490
!strcmp(dev->rtnl_link_ops->kind, "vxlan");
net/8021q/vlan.c
278
new_dev->rtnl_link_ops = &vlan_link_ops;
net/8021q/vlan.h
203
extern struct rtnl_link_ops vlan_link_ops;
net/8021q/vlan_netlink.c
288
struct rtnl_link_ops vlan_link_ops __read_mostly = {
net/batman-adv/hard-interface.c
106
if (!netdev->rtnl_link_ops)
net/batman-adv/hard-interface.c
109
if (!netdev->rtnl_link_ops->get_link_net)
net/batman-adv/hard-interface.c
112
return netdev->rtnl_link_ops->get_link_net(netdev);
net/batman-adv/mesh-interface.c
1122
struct rtnl_link_ops batadv_link_ops __read_mostly = {
net/batman-adv/mesh-interface.h
22
extern struct rtnl_link_ops batadv_link_ops;
net/bridge/br_if.c
474
dev->rtnl_link_ops = &br_link_ops;
net/bridge/br_netlink.c
1948
struct rtnl_link_ops br_link_ops __read_mostly = {
net/bridge/br_private.h
2160
extern struct rtnl_link_ops br_link_ops;
net/core/dev.c
10156
if (!dev->netdev_ops->ndo_get_iflink || !dev->rtnl_link_ops ||
net/core/dev.c
10157
!dev->rtnl_link_ops->get_link_net)
net/core/dev.c
10160
net = dev->rtnl_link_ops->get_link_net(dev);
net/core/dev.c
11497
if (!(dev->rtnl_link_ops && dev->rtnl_link_initializing))
net/core/dev.c
12448
if (!(dev->rtnl_link_ops && dev->rtnl_link_initializing))
net/core/dev.c
13053
if (dev->rtnl_link_ops && !dev->rtnl_link_ops->netns_refund)
net/core/dev.c
13093
if (dev->rtnl_link_ops && dev->rtnl_link_ops->dellink)
net/core/dev.c
13094
dev->rtnl_link_ops->dellink(dev, &dev_kill_list);
net/core/rtnetlink.c
1884
if (dev->rtnl_link_ops && dev->rtnl_link_ops->get_link_net) {
net/core/rtnetlink.c
1885
struct net *link_net = dev->rtnl_link_ops->get_link_net(dev);
net/core/rtnetlink.c
2184
if (dev->rtnl_link_ops || rtnl_have_link_slave_info(dev)) {
net/core/rtnetlink.c
2352
static struct rtnl_link_ops *linkinfo_to_kind_ops(const struct nlattr *nla,
net/core/rtnetlink.c
2356
struct rtnl_link_ops *ops = NULL;
net/core/rtnetlink.c
2395
const struct rtnl_link_ops *kind_ops)
net/core/rtnetlink.c
2397
if (kind_ops && dev->rtnl_link_ops != kind_ops)
net/core/rtnetlink.c
2405
const struct rtnl_link_ops *kind_ops)
net/core/rtnetlink.c
2496
struct rtnl_link_ops *kind_ops = NULL;
net/core/rtnetlink.c
3566
const struct rtnl_link_ops *ops;
net/core/rtnetlink.c
3569
ops = dev->rtnl_link_ops;
net/core/rtnetlink.c
3580
const struct rtnl_link_ops *ops;
net/core/rtnetlink.c
3582
ops = dev->rtnl_link_ops;
net/core/rtnetlink.c
3593
const struct rtnl_link_ops *ops;
net/core/rtnetlink.c
3596
ops = dev->rtnl_link_ops;
net/core/rtnetlink.c
3686
const struct rtnl_link_ops *ops,
net/core/rtnetlink.c
3736
dev->rtnl_link_ops = ops;
net/core/rtnetlink.c
3788
const struct rtnl_link_ops *ops,
net/core/rtnetlink.c
3806
if (!ops || ops != dev->rtnl_link_ops || !ops->changelink)
net/core/rtnetlink.c
3817
const struct rtnl_link_ops *m_ops = NULL;
net/core/rtnetlink.c
3823
m_ops = master_dev->rtnl_link_ops;
net/core/rtnetlink.c
3873
const struct rtnl_link_ops *ops,
net/core/rtnetlink.c
3949
const struct rtnl_link_ops *ops,
net/core/rtnetlink.c
3987
const struct rtnl_link_ops *ops,
net/core/rtnetlink.c
4053
struct rtnl_link_ops *ops = NULL;
net/core/rtnetlink.c
566
static struct rtnl_link_ops *rtnl_link_ops_get(const char *kind, int *srcu_index)
net/core/rtnetlink.c
568
struct rtnl_link_ops *ops;
net/core/rtnetlink.c
586
static void rtnl_link_ops_put(struct rtnl_link_ops *ops, int srcu_index)
net/core/rtnetlink.c
597
int rtnl_link_register(struct rtnl_link_ops *ops)
net/core/rtnetlink.c
599
struct rtnl_link_ops *tmp;
net/core/rtnetlink.c
6073
const struct rtnl_link_ops *ops = dev->rtnl_link_ops;
net/core/rtnetlink.c
6094
const struct rtnl_link_ops *ops = NULL;
net/core/rtnetlink.c
6099
ops = master->rtnl_link_ops;
net/core/rtnetlink.c
6207
const struct rtnl_link_ops *ops = dev->rtnl_link_ops;
net/core/rtnetlink.c
6220
const struct rtnl_link_ops *ops = NULL;
net/core/rtnetlink.c
6226
ops = master->rtnl_link_ops;
net/core/rtnetlink.c
639
static void __rtnl_kill_links(struct net *net, struct rtnl_link_ops *ops)
net/core/rtnetlink.c
645
if (dev->rtnl_link_ops == ops)
net/core/rtnetlink.c
677
void rtnl_link_unregister(struct rtnl_link_ops *ops)
net/core/rtnetlink.c
703
const struct rtnl_link_ops *ops;
net/core/rtnetlink.c
712
ops = master_dev->rtnl_link_ops;
net/core/rtnetlink.c
729
const struct rtnl_link_ops *ops = dev->rtnl_link_ops;
net/core/rtnetlink.c
847
if (master_dev && master_dev->rtnl_link_ops)
net/core/rtnetlink.c
857
const struct rtnl_link_ops *ops;
net/core/rtnetlink.c
864
ops = master_dev->rtnl_link_ops;
net/core/rtnetlink.c
888
const struct rtnl_link_ops *ops = dev->rtnl_link_ops;
net/dsa/netlink.c
55
struct rtnl_link_ops dsa_link_ops __read_mostly = {
net/dsa/netlink.h
6
extern struct rtnl_link_ops dsa_link_ops __read_mostly;
net/dsa/user.c
2785
user_dev->rtnl_link_ops = &dsa_link_ops;
net/ethtool/ioctl.c
755
} else if (dev->rtnl_link_ops) {
net/ethtool/ioctl.c
756
strscpy(rsp->info.driver, dev->rtnl_link_ops->kind,
net/hsr/hsr_main.c
115
const struct rtnl_link_ops *ops;
net/hsr/hsr_main.c
117
ops = master->dev->rtnl_link_ops;
net/hsr/hsr_netlink.c
197
static struct rtnl_link_ops hsr_link_ops __read_mostly = {
net/ieee802154/6lowpan/core.c
199
static struct rtnl_link_ops lowpan_link_ops __read_mostly = {
net/ipv4/ip_gre.c
110
static struct rtnl_link_ops ipgre_link_ops __read_mostly;
net/ipv4/ip_gre.c
1674
static struct rtnl_link_ops ipgre_link_ops __read_mostly = {
net/ipv4/ip_gre.c
1689
static struct rtnl_link_ops ipgre_tap_ops __read_mostly = {
net/ipv4/ip_gre.c
1704
static struct rtnl_link_ops erspan_link_ops __read_mostly = {
net/ipv4/ip_gre.c
851
if (strcmp(dev->rtnl_link_ops->kind, "erspan"))
net/ipv4/ip_tunnel.c
1126
struct rtnl_link_ops *ops, char *devname)
net/ipv4/ip_tunnel.c
1132
itn->rtnl_link_ops = ops;
net/ipv4/ip_tunnel.c
1167
struct rtnl_link_ops *ops,
net/ipv4/ip_tunnel.c
1177
if (dev->rtnl_link_ops == ops)
net/ipv4/ip_tunnel.c
234
const struct rtnl_link_ops *ops,
net/ipv4/ip_tunnel.c
262
dev->rtnl_link_ops = ops;
net/ipv4/ip_tunnel.c
339
dev = __ip_tunnel_create(net, itn->rtnl_link_ops, parms);
net/ipv4/ip_vti.c
42
static struct rtnl_link_ops vti_link_ops __read_mostly;
net/ipv4/ip_vti.c
649
static struct rtnl_link_ops vti_link_ops __read_mostly = {
net/ipv4/ipip.c
122
static struct rtnl_link_ops ipip_link_ops __read_mostly;
net/ipv4/ipip.c
601
static struct rtnl_link_ops ipip_link_ops __read_mostly = {
net/ipv6/ip6_gre.c
1560
if (dev->rtnl_link_ops == &ip6gre_link_ops ||
net/ipv6/ip6_gre.c
1561
dev->rtnl_link_ops == &ip6gre_tap_ops ||
net/ipv6/ip6_gre.c
1562
dev->rtnl_link_ops == &ip6erspan_tap_ops)
net/ipv6/ip6_gre.c
1607
ign->fb_tunnel_dev->rtnl_link_ops = &ip6gre_link_ops;
net/ipv6/ip6_gre.c
2289
static struct rtnl_link_ops ip6gre_link_ops __read_mostly = {
net/ipv6/ip6_gre.c
2304
static struct rtnl_link_ops ip6gre_tap_ops __read_mostly = {
net/ipv6/ip6_gre.c
2318
static struct rtnl_link_ops ip6erspan_tap_ops __read_mostly = {
net/ipv6/ip6_gre.c
345
dev->rtnl_link_ops = &ip6gre_link_ops;
net/ipv6/ip6_gre.c
74
static struct rtnl_link_ops ip6gre_link_ops __read_mostly;
net/ipv6/ip6_gre.c
75
static struct rtnl_link_ops ip6gre_tap_ops __read_mostly;
net/ipv6/ip6_gre.c
76
static struct rtnl_link_ops ip6erspan_tap_ops __read_mostly;
net/ipv6/ip6_tunnel.c
2260
static struct rtnl_link_ops ip6_link_ops __read_mostly = {
net/ipv6/ip6_tunnel.c
2301
if (dev->rtnl_link_ops == &ip6_link_ops)
net/ipv6/ip6_tunnel.c
2347
ip6n->fb_tnl_dev->rtnl_link_ops = &ip6_link_ops;
net/ipv6/ip6_tunnel.c
259
dev->rtnl_link_ops = &ip6_link_ops;
net/ipv6/ip6_tunnel.c
83
static struct rtnl_link_ops ip6_link_ops __read_mostly;
net/ipv6/ip6_vti.c
1114
static struct rtnl_link_ops vti6_link_ops __read_mostly = {
net/ipv6/ip6_vti.c
1166
ip6n->fb_tnl_dev->rtnl_link_ops = &vti6_link_ops;
net/ipv6/ip6_vti.c
186
dev->rtnl_link_ops = &vti6_link_ops;
net/ipv6/ip6_vti.c
63
static struct rtnl_link_ops vti6_link_ops __read_mostly;
net/ipv6/sit.c
1771
static struct rtnl_link_ops sit_link_ops __read_mostly = {
net/ipv6/sit.c
1813
if (dev->rtnl_link_ops == &sit_link_ops)
net/ipv6/sit.c
1857
sitn->fb_tunnel_dev->rtnl_link_ops = &sit_link_ops;
net/ipv6/sit.c
215
dev->rtnl_link_ops = &sit_link_ops;
net/ipv6/sit.c
76
static struct rtnl_link_ops sit_link_ops __read_mostly;
net/netfilter/nft_meta.c
191
if (!in || !in->rtnl_link_ops)
net/netfilter/nft_meta.c
193
strscpy_pad((char *)dest, in->rtnl_link_ops->kind, IFNAMSIZ);
net/netfilter/nft_meta.c
196
if (!out || !out->rtnl_link_ops)
net/netfilter/nft_meta.c
198
strscpy_pad((char *)dest, out->rtnl_link_ops->kind, IFNAMSIZ);
net/openvswitch/vport-internal_dev.c
109
netdev->rtnl_link_ops = &internal_dev_link_ops;
net/openvswitch/vport-internal_dev.c
90
static struct rtnl_link_ops internal_dev_link_ops __read_mostly = {
net/xfrm/xfrm_interface_core.c
251
dev->rtnl_link_ops = &xfrmi_link_ops;
net/xfrm/xfrm_interface_core.c
51
static struct rtnl_link_ops xfrmi_link_ops __read_mostly;
net/xfrm/xfrm_interface_core.c
938
static struct rtnl_link_ops xfrmi_link_ops __read_mostly = {