Home
last modified time | relevance | path

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

1234

/linux-6.1.9/include/net/
Drtnetlink.h77 struct rtnl_link_ops { struct
139 int __rtnl_link_register(struct rtnl_link_ops *ops); argument
140 void __rtnl_link_unregister(struct rtnl_link_ops *ops);
142 int rtnl_link_register(struct rtnl_link_ops *ops);
143 void rtnl_link_unregister(struct rtnl_link_ops *ops);
186 const struct rtnl_link_ops *ops,
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()
Dbareudp.h12 return dev->rtnl_link_ops && in netif_is_bareudp()
13 !strcmp(dev->rtnl_link_ops->kind, "bareudp"); in netif_is_bareudp()
Dgeneve.h67 return dev->rtnl_link_ops && in netif_is_geneve()
68 !strcmp(dev->rtnl_link_ops->kind, "geneve"); in netif_is_geneve()
Dgtp.h72 return dev->rtnl_link_ops && in netif_is_gtp()
73 !strcmp(dev->rtnl_link_ops->kind, "gtp"); in netif_is_gtp()
Dip_tunnels.h168 struct rtnl_link_ops *rtnl_link_ops; member
276 struct rtnl_link_ops *ops, char *devname);
279 struct rtnl_link_ops *ops);
Damt.h400 return dev->rtnl_link_ops && !strcmp(dev->rtnl_link_ops->kind, "amt"); in netif_is_amt()
/linux-6.1.9/net/core/
Drtnetlink.c390 static const struct rtnl_link_ops *rtnl_link_ops_get(const char *kind) in rtnl_link_ops_get()
392 const struct rtnl_link_ops *ops; in rtnl_link_ops_get()
411 int __rtnl_link_register(struct rtnl_link_ops *ops) in __rtnl_link_register()
435 int rtnl_link_register(struct rtnl_link_ops *ops) in rtnl_link_register()
451 static void __rtnl_kill_links(struct net *net, struct rtnl_link_ops *ops) in __rtnl_kill_links()
457 if (dev->rtnl_link_ops == ops) in __rtnl_kill_links()
471 void __rtnl_link_unregister(struct rtnl_link_ops *ops) in __rtnl_link_unregister()
517 void rtnl_link_unregister(struct rtnl_link_ops *ops) in rtnl_link_unregister()
531 const struct rtnl_link_ops *ops; in rtnl_link_get_slave_info_data_size()
540 ops = master_dev->rtnl_link_ops; in rtnl_link_get_slave_info_data_size()
[all …]
/linux-6.1.9/net/hsr/
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-6.1.9/drivers/net/
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()
Dmacvtap.c141 static struct rtnl_link_ops macvtap_link_ops __read_mostly = {
160 if (dev->rtnl_link_ops != &macvtap_link_ops) in macvtap_device_event()
Dvsockmon.c117 static struct rtnl_link_ops vsockmon_link_ops __read_mostly = {
Dnlmon.c112 static struct rtnl_link_ops nlmon_link_ops __read_mostly = {
/linux-6.1.9/drivers/infiniband/ulp/ipoib/
Dipoib_netlink.c168 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()
/linux-6.1.9/net/batman-adv/
Dsoft-interface.h23 extern struct rtnl_link_ops batadv_link_ops;
/linux-6.1.9/net/openvswitch/
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-6.1.9/drivers/net/ipvlan/
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-6.1.9/net/dsa/
Dnetlink.c54 struct rtnl_link_ops dsa_link_ops __read_mostly = {
/linux-6.1.9/net/ipv4/
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()
1049 struct rtnl_link_ops *ops, char *devname) in ip_tunnel_init_net()
1055 itn->rtnl_link_ops = ops; in ip_tunnel_init_net()
1091 struct rtnl_link_ops *ops) in ip_tunnel_destroy()
1097 if (dev->rtnl_link_ops == ops) in ip_tunnel_destroy()
1115 struct rtnl_link_ops *ops) in ip_tunnel_delete_nets()
/linux-6.1.9/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_config.h35 extern struct rtnl_link_ops rmnet_link_ops;
/linux-6.1.9/drivers/net/can/
Dvxcan.c173 static struct rtnl_link_ops vxcan_link_ops;
303 static struct rtnl_link_ops vxcan_link_ops = {
Dvcan.c175 static struct rtnl_link_ops vcan_link_ops __read_mostly = {
/linux-6.1.9/net/netfilter/
Dnft_meta.c186 if (!in || !in->rtnl_link_ops) in nft_meta_get_eval_kind()
188 strncpy((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 strncpy((char *)dest, out->rtnl_link_ops->kind, IFNAMSIZ); in nft_meta_get_eval_kind()
/linux-6.1.9/include/linux/
Dif_macvlan.h68 extern int macvlan_link_register(struct rtnl_link_ops *ops);
/linux-6.1.9/Documentation/translations/zh_CN/infiniband/
Dipoib.rst41 子接口的创建/删除也可以使用IPoIB的rtnl_link_ops来完成,使用两种

1234