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
2583
struct rtnl_link_ops *ops = ipoib_get_link_ops();
drivers/infiniband/ulp/ipoib/ipoib_main.c
2604
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
3337
static struct rtnl_link_ops amt_link_ops __read_mostly = {
drivers/net/bareudp.c
760
static struct rtnl_link_ops bareudp_link_ops __read_mostly = {
drivers/net/bonding/bond_main.c
6523
bond_dev->rtnl_link_ops = &bond_link_ops;
drivers/net/bonding/bond_netlink.c
943
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
139
static struct rtnl_link_ops dummy_link_ops __read_mostly = {
drivers/net/dummy.c
158
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
55
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
277
!strcmp(ofdpa_port->bridge_dev->rtnl_link_ops->kind, kind);
drivers/net/geneve.c
2354
static struct rtnl_link_ops geneve_link_ops __read_mostly = {
drivers/net/gtp.c
1609
static struct rtnl_link_ops gtp_link_ops __read_mostly = {
drivers/net/gtp.c
2289
if (dev->rtnl_link_ops != &gtp_link_ops)
drivers/net/ifb.c
388
static struct rtnl_link_ops ifb_link_ops __read_mostly = {
drivers/net/ifb.c
414
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
128
static struct rtnl_link_ops ipvtap_link_ops __read_mostly = {
drivers/net/ipvlan/ipvtap.c
146
if (dev->rtnl_link_ops != &ipvtap_link_ops)
drivers/net/macsec.c
4371
static struct rtnl_link_ops macsec_link_ops __read_mostly = {
drivers/net/macvlan.c
1753
int macvlan_link_register(struct rtnl_link_ops *ops)
drivers/net/macvlan.c
1772
static struct rtnl_link_ops macvlan_link_ops = {
drivers/net/macvlan.c
1845
vlan->dev->rtnl_link_ops->dellink(vlan->dev, &list_kill);
drivers/net/macvtap.c
140
static struct rtnl_link_ops macvtap_link_ops __read_mostly = {
drivers/net/macvtap.c
159
if (dev->rtnl_link_ops != &macvtap_link_ops)
drivers/net/netdevsim/netdev.c
1219
static struct rtnl_link_ops nsim_link_ops __read_mostly = {
drivers/net/netkit.c
328
static struct rtnl_link_ops netkit_link_ops;
drivers/net/netkit.c
979
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
230
static struct rtnl_link_ops ovpn_link_ops = {
drivers/net/pfcp.c
232
static struct rtnl_link_ops pfcp_link_ops __read_mostly = {
drivers/net/ppp/ppp_generic.c
1386
static struct rtnl_link_ops ppp_link_ops __read_mostly = {
drivers/net/ppp/ppp_generic.c
3390
dev->rtnl_link_ops = &ppp_link_ops;
drivers/net/team/team_core.c
2251
static struct rtnl_link_ops team_link_ops __read_mostly = {
drivers/net/tun.c
2341
static struct rtnl_link_ops tun_link_ops __read_mostly = {
drivers/net/tun.c
2786
dev->rtnl_link_ops = &tun_link_ops;
drivers/net/tun.c
3634
if (dev->rtnl_link_ops != &tun_link_ops)
drivers/net/veth.c
1784
static struct rtnl_link_ops veth_link_ops;
drivers/net/veth.c
1975
static struct rtnl_link_ops veth_link_ops = {
drivers/net/vrf.c
1773
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
4676
static struct rtnl_link_ops vxlan_link_ops __read_mostly = {
drivers/net/vxlan/vxlan_core.c
61
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
625
static struct rtnl_link_ops virt_wifi_link_ops = {
drivers/net/wireless/virtual/virt_wifi.c
657
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
2423
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
806
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
488
return dev->rtnl_link_ops &&
include/net/vxlan.h
489
!strcmp(dev->rtnl_link_ops->kind, "vxlan");
net/8021q/vlan.c
278
new_dev->rtnl_link_ops = &vlan_link_ops;
net/8021q/vlan.h
192
extern struct rtnl_link_ops vlan_link_ops;
net/8021q/vlan_netlink.c
290
struct rtnl_link_ops vlan_link_ops __read_mostly = {
net/batman-adv/hard-interface.c
101
return netdev->rtnl_link_ops->get_link_net(netdev);
net/batman-adv/hard-interface.c
95
if (!netdev->rtnl_link_ops)
net/batman-adv/hard-interface.c
98
if (!netdev->rtnl_link_ops->get_link_net)
net/batman-adv/mesh-interface.c
1124
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
468
dev->rtnl_link_ops = &br_link_ops;
net/bridge/br_netlink.c
1899
struct rtnl_link_ops br_link_ops __read_mostly = {
net/bridge/br_private.h
2157
extern struct rtnl_link_ops br_link_ops;
net/caif/chnl_net.c
497
static struct rtnl_link_ops ipcaif_link_ops __read_mostly = {
net/core/dev.c
11492
if (!(dev->rtnl_link_ops && dev->rtnl_link_initializing))
net/core/dev.c
12433
if (!(dev->rtnl_link_ops && dev->rtnl_link_initializing))
net/core/dev.c
13040
if (dev->rtnl_link_ops && !dev->rtnl_link_ops->netns_refund)
net/core/dev.c
13080
if (dev->rtnl_link_ops && dev->rtnl_link_ops->dellink)
net/core/dev.c
13081
dev->rtnl_link_ops->dellink(dev, &dev_kill_list);
net/core/rtnetlink.c
1880
if (dev->rtnl_link_ops && dev->rtnl_link_ops->get_link_net) {
net/core/rtnetlink.c
1881
struct net *link_net = dev->rtnl_link_ops->get_link_net(dev);
net/core/rtnetlink.c
2167
if (dev->rtnl_link_ops || rtnl_have_link_slave_info(dev)) {
net/core/rtnetlink.c
2336
static struct rtnl_link_ops *linkinfo_to_kind_ops(const struct nlattr *nla,
net/core/rtnetlink.c
2340
struct rtnl_link_ops *ops = NULL;
net/core/rtnetlink.c
2377
const struct rtnl_link_ops *kind_ops)
net/core/rtnetlink.c
2379
if (kind_ops && dev->rtnl_link_ops != kind_ops)
net/core/rtnetlink.c
2387
const struct rtnl_link_ops *kind_ops)
net/core/rtnetlink.c
2470
struct rtnl_link_ops *kind_ops = NULL;
net/core/rtnetlink.c
3515
const struct rtnl_link_ops *ops;
net/core/rtnetlink.c
3518
ops = dev->rtnl_link_ops;
net/core/rtnetlink.c
3529
const struct rtnl_link_ops *ops;
net/core/rtnetlink.c
3531
ops = dev->rtnl_link_ops;
net/core/rtnetlink.c
3542
const struct rtnl_link_ops *ops;
net/core/rtnetlink.c
3545
ops = dev->rtnl_link_ops;
net/core/rtnetlink.c
3635
const struct rtnl_link_ops *ops,
net/core/rtnetlink.c
3685
dev->rtnl_link_ops = ops;
net/core/rtnetlink.c
3737
const struct rtnl_link_ops *ops,
net/core/rtnetlink.c
3755
if (!ops || ops != dev->rtnl_link_ops || !ops->changelink)
net/core/rtnetlink.c
3766
const struct rtnl_link_ops *m_ops = NULL;
net/core/rtnetlink.c
3772
m_ops = master_dev->rtnl_link_ops;
net/core/rtnetlink.c
3822
const struct rtnl_link_ops *ops,
net/core/rtnetlink.c
3897
static struct net *rtnl_get_peer_net(const struct rtnl_link_ops *ops,
net/core/rtnetlink.c
3922
const struct rtnl_link_ops *ops,
net/core/rtnetlink.c
3988
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
5978
const struct rtnl_link_ops *ops = dev->rtnl_link_ops;
net/core/rtnetlink.c
599
struct rtnl_link_ops *tmp;
net/core/rtnetlink.c
5999
const struct rtnl_link_ops *ops = NULL;
net/core/rtnetlink.c
6004
ops = master->rtnl_link_ops;
net/core/rtnetlink.c
6112
const struct rtnl_link_ops *ops = dev->rtnl_link_ops;
net/core/rtnetlink.c
6125
const struct rtnl_link_ops *ops = NULL;
net/core/rtnetlink.c
6131
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
848
if (master_dev && master_dev->rtnl_link_ops)
net/core/rtnetlink.c
858
const struct rtnl_link_ops *ops;
net/core/rtnetlink.c
865
ops = master_dev->rtnl_link_ops;
net/core/rtnetlink.c
889
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
2786
user_dev->rtnl_link_ops = &dsa_link_ops;
net/ethtool/ioctl.c
739
} else if (dev->rtnl_link_ops) {
net/ethtool/ioctl.c
740
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
192
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
1667
static struct rtnl_link_ops ipgre_link_ops __read_mostly = {
net/ipv4/ip_gre.c
1682
static struct rtnl_link_ops ipgre_tap_ops __read_mostly = {
net/ipv4/ip_gre.c
1697
static struct rtnl_link_ops erspan_link_ops __read_mostly = {
net/ipv4/ip_gre.c
850
if (strcmp(dev->rtnl_link_ops->kind, "erspan"))
net/ipv4/ip_tunnel.c
1123
struct rtnl_link_ops *ops, char *devname)
net/ipv4/ip_tunnel.c
1129
itn->rtnl_link_ops = ops;
net/ipv4/ip_tunnel.c
1164
struct rtnl_link_ops *ops,
net/ipv4/ip_tunnel.c
1174
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
646
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
598
static struct rtnl_link_ops ipip_link_ops __read_mostly = {
net/ipv6/ip6_gre.c
1559
if (dev->rtnl_link_ops == &ip6gre_link_ops ||
net/ipv6/ip6_gre.c
1560
dev->rtnl_link_ops == &ip6gre_tap_ops ||
net/ipv6/ip6_gre.c
1561
dev->rtnl_link_ops == &ip6erspan_tap_ops)
net/ipv6/ip6_gre.c
1606
ign->fb_tunnel_dev->rtnl_link_ops = &ip6gre_link_ops;
net/ipv6/ip6_gre.c
2281
static struct rtnl_link_ops ip6gre_link_ops __read_mostly = {
net/ipv6/ip6_gre.c
2296
static struct rtnl_link_ops ip6gre_tap_ops __read_mostly = {
net/ipv6/ip6_gre.c
2310
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
2242
static struct rtnl_link_ops ip6_link_ops __read_mostly = {
net/ipv6/ip6_tunnel.c
2283
if (dev->rtnl_link_ops == &ip6_link_ops)
net/ipv6/ip6_tunnel.c
2329
ip6n->fb_tnl_dev->rtnl_link_ops = &ip6_link_ops;
net/ipv6/ip6_tunnel.c
260
dev->rtnl_link_ops = &ip6_link_ops;
net/ipv6/ip6_tunnel.c
81
static struct rtnl_link_ops ip6_link_ops __read_mostly;
net/ipv6/ip6_vti.c
1100
static struct rtnl_link_ops vti6_link_ops __read_mostly = {
net/ipv6/ip6_vti.c
1152
ip6n->fb_tnl_dev->rtnl_link_ops = &vti6_link_ops;
net/ipv6/ip6_vti.c
184
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
1764
static struct rtnl_link_ops sit_link_ops __read_mostly = {
net/ipv6/sit.c
1806
if (dev->rtnl_link_ops == &sit_link_ops)
net/ipv6/sit.c
1850
sitn->fb_tunnel_dev->rtnl_link_ops = &sit_link_ops;
net/ipv6/sit.c
214
dev->rtnl_link_ops = &sit_link_ops;
net/ipv6/sit.c
75
static struct rtnl_link_ops sit_link_ops __read_mostly;
net/netfilter/nft_meta.c
186
if (!in || !in->rtnl_link_ops)
net/netfilter/nft_meta.c
188
strscpy_pad((char *)dest, in->rtnl_link_ops->kind, IFNAMSIZ);
net/netfilter/nft_meta.c
191
if (!out || !out->rtnl_link_ops)
net/netfilter/nft_meta.c
193
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
935
static struct rtnl_link_ops xfrmi_link_ops __read_mostly = {