/linux-6.1.9/include/net/ |
D | rtnetlink.h | 77 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,
|
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()
|
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()
|
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()
|
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()
|
D | ip_tunnels.h | 168 struct rtnl_link_ops *rtnl_link_ops; member 276 struct rtnl_link_ops *ops, char *devname); 279 struct rtnl_link_ops *ops);
|
D | amt.h | 400 return dev->rtnl_link_ops && !strcmp(dev->rtnl_link_ops->kind, "amt"); in netif_is_amt()
|
/linux-6.1.9/net/core/ |
D | rtnetlink.c | 390 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/ |
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()
|
/linux-6.1.9/drivers/net/ |
D | dummy.c | 150 static struct rtnl_link_ops dummy_link_ops __read_mostly = { 169 dev_dummy->rtnl_link_ops = &dummy_link_ops; in dummy_init_one()
|
D | macvtap.c | 141 static struct rtnl_link_ops macvtap_link_ops __read_mostly = { 160 if (dev->rtnl_link_ops != &macvtap_link_ops) in macvtap_device_event()
|
D | vsockmon.c | 117 static struct rtnl_link_ops vsockmon_link_ops __read_mostly = {
|
D | nlmon.c | 112 static struct rtnl_link_ops nlmon_link_ops __read_mostly = {
|
/linux-6.1.9/drivers/infiniband/ulp/ipoib/ |
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()
|
/linux-6.1.9/net/batman-adv/ |
D | soft-interface.h | 23 extern struct rtnl_link_ops batadv_link_ops;
|
/linux-6.1.9/net/openvswitch/ |
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()
|
/linux-6.1.9/drivers/net/ipvlan/ |
D | ipvtap.c | 129 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/ |
D | netlink.c | 54 struct rtnl_link_ops dsa_link_ops __read_mostly = {
|
/linux-6.1.9/net/ipv4/ |
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() 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/ |
D | rmnet_config.h | 35 extern struct rtnl_link_ops rmnet_link_ops;
|
/linux-6.1.9/drivers/net/can/ |
D | vxcan.c | 173 static struct rtnl_link_ops vxcan_link_ops; 303 static struct rtnl_link_ops vxcan_link_ops = {
|
D | vcan.c | 175 static struct rtnl_link_ops vcan_link_ops __read_mostly = {
|
/linux-6.1.9/net/netfilter/ |
D | nft_meta.c | 186 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/ |
D | if_macvlan.h | 68 extern int macvlan_link_register(struct rtnl_link_ops *ops);
|
/linux-6.1.9/Documentation/translations/zh_CN/infiniband/ |
D | ipoib.rst | 41 子接口的创建/删除也可以使用IPoIB的rtnl_link_ops来完成,使用两种
|