Home
last modified time | relevance | path

Searched refs:rtnl_link_ops (Results 1 – 25 of 83) sorted by relevance

1234

/linux/include/net/
A Drtnetlink.h63 struct rtnl_link_ops { struct
125 int __rtnl_link_register(struct rtnl_link_ops *ops); argument
126 void __rtnl_link_unregister(struct rtnl_link_ops *ops);
128 int rtnl_link_register(struct rtnl_link_ops *ops);
129 void rtnl_link_unregister(struct rtnl_link_ops *ops);
172 const struct rtnl_link_ops *ops,
A Dgre.h42 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()
A Dbareudp.h23 return dev->rtnl_link_ops && in netif_is_bareudp()
24 !strcmp(dev->rtnl_link_ops->kind, "bareudp"); in netif_is_bareudp()
A Dgeneve.h67 return dev->rtnl_link_ops && in netif_is_geneve()
68 !strcmp(dev->rtnl_link_ops->kind, "geneve"); in netif_is_geneve()
A Dip_tunnels.h164 struct rtnl_link_ops *rtnl_link_ops; member
263 struct rtnl_link_ops *ops, char *devname);
266 struct rtnl_link_ops *ops);
A Damt.h377 return dev->rtnl_link_ops && !strcmp(dev->rtnl_link_ops->kind, "amt"); in netif_is_amt()
A Dvxlan.h418 return dev->rtnl_link_ops && in netif_is_vxlan()
419 !strcmp(dev->rtnl_link_ops->kind, "vxlan"); in netif_is_vxlan()
/linux/net/core/
A Drtnetlink.c355 const struct rtnl_link_ops *ops; in rtnl_link_ops_get()
420 if (dev->rtnl_link_ops == ops) in __rtnl_kill_links()
517 const struct rtnl_link_ops *ops = dev->rtnl_link_ops; in rtnl_link_get_size()
655 const struct rtnl_link_ops *ops = dev->rtnl_link_ops; in rtnl_link_info_fill()
1570 if (dev->rtnl_link_ops && dev->rtnl_link_ops->get_link_net) { in rtnl_fill_link_netnsid()
3031 ops = dev->rtnl_link_ops; in rtnl_group_dellink()
3044 ops = dev->rtnl_link_ops; in rtnl_group_dellink()
3058 ops = dev->rtnl_link_ops; in rtnl_delete_link()
3192 dev->rtnl_link_ops = ops; in rtnl_create_link()
5149 const struct rtnl_link_ops *ops = dev->rtnl_link_ops; in rtnl_fill_statsinfo()
[all …]
/linux/net/hsr/
A Dhsr_main.c106 const struct rtnl_link_ops *ops; in hsr_netdev_notify()
108 ops = master->dev->rtnl_link_ops; in hsr_netdev_notify()
/linux/drivers/infiniband/ulp/ipoib/
A Dipoib_netlink.c164 static struct rtnl_link_ops ipoib_link_ops __read_mostly = {
178 struct rtnl_link_ops *ipoib_get_link_ops(void) in ipoib_get_link_ops()
/linux/drivers/net/
A Ddummy.c150 static struct rtnl_link_ops dummy_link_ops __read_mostly = {
169 dev_dummy->rtnl_link_ops = &dummy_link_ops; in dummy_init_one()
A Dmacvtap.c136 static struct rtnl_link_ops macvtap_link_ops __read_mostly = {
154 if (dev->rtnl_link_ops != &macvtap_link_ops) in macvtap_device_event()
A Difb.c291 static struct rtnl_link_ops ifb_link_ops __read_mostly = {
317 dev_ifb->rtnl_link_ops = &ifb_link_ops; in ifb_init_one()
/linux/drivers/net/ipvlan/
A Dipvtap.c129 static struct rtnl_link_ops ipvtap_link_ops __read_mostly = {
147 if (dev->rtnl_link_ops != &ipvtap_link_ops) in ipvtap_device_event()
/linux/net/openvswitch/
A Dvport-internal_dev.c91 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/ipv4/
A Dip_tunnel.c233 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()
1046 struct rtnl_link_ops *ops, char *devname) in ip_tunnel_init_net()
1052 itn->rtnl_link_ops = ops; in ip_tunnel_init_net()
1088 struct rtnl_link_ops *ops) in ip_tunnel_destroy()
1094 if (dev->rtnl_link_ops == ops) in ip_tunnel_destroy()
1112 struct rtnl_link_ops *ops) in ip_tunnel_delete_nets()
/linux/net/batman-adv/
A Dsoft-interface.h23 extern struct rtnl_link_ops batadv_link_ops;
A Dhard-interface.c92 if (!netdev->rtnl_link_ops) in batadv_getlink_net()
95 if (!netdev->rtnl_link_ops->get_link_net) in batadv_getlink_net()
98 return netdev->rtnl_link_ops->get_link_net(netdev); in batadv_getlink_net()
/linux/drivers/net/can/
A Dvxcan.c160 static struct rtnl_link_ops vxcan_link_ops;
290 static struct rtnl_link_ops vxcan_link_ops = {
A Dvcan.c166 static struct rtnl_link_ops vcan_link_ops __read_mostly = {
/linux/net/netfilter/
A Dnft_meta.c187 if (!in || !in->rtnl_link_ops) in nft_meta_get_eval_kind()
189 strncpy((char *)dest, in->rtnl_link_ops->kind, IFNAMSIZ); in nft_meta_get_eval_kind()
192 if (!out || !out->rtnl_link_ops) in nft_meta_get_eval_kind()
194 strncpy((char *)dest, out->rtnl_link_ops->kind, IFNAMSIZ); in nft_meta_get_eval_kind()
/linux/drivers/net/ethernet/qualcomm/rmnet/
A Drmnet_config.h35 extern struct rtnl_link_ops rmnet_link_ops;
/linux/net/ipv6/
A Dip6_gre.c73 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()
1557 if (dev->rtnl_link_ops == &ip6gre_link_ops || in ip6gre_destroy_tunnels()
1558 dev->rtnl_link_ops == &ip6gre_tap_ops || in ip6gre_destroy_tunnels()
1559 dev->rtnl_link_ops == &ip6erspan_tap_ops) in ip6gre_destroy_tunnels()
1605 ign->fb_tunnel_dev->rtnl_link_ops = &ip6gre_link_ops; in ip6gre_init_net()
2293 static struct rtnl_link_ops ip6gre_link_ops __read_mostly = {
2308 static struct rtnl_link_ops ip6gre_tap_ops __read_mostly = {
[all …]
/linux/include/linux/
A Dif_macvlan.h67 extern int macvlan_link_register(struct rtnl_link_ops *ops);
/linux/drivers/net/can/dev/
A Ddev.c488 dev->rtnl_link_ops = &can_link_ops; in register_candev()
507 if (dev->type != ARPHRD_CAN || dev->rtnl_link_ops != &can_link_ops) in safe_candev_priv()

Completed in 53 milliseconds

1234