/linux-6.12.1/drivers/infiniband/ulp/ipoib/ |
D | ipoib_netlink.c | 100 static int ipoib_new_child_link(struct net *src_net, struct net_device *dev, in ipoib_new_child_link() argument 112 pdev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK])); in ipoib_new_child_link()
|
/linux-6.12.1/net/hsr/ |
D | hsr_netlink.c | 32 static int hsr_newlink(struct net *src_net, struct net_device *dev, in hsr_newlink() argument 49 link[0] = __dev_get_by_index(src_net, in hsr_newlink() 59 link[1] = __dev_get_by_index(src_net, in hsr_newlink() 72 interlink = __dev_get_by_index(src_net, in hsr_newlink()
|
/linux-6.12.1/include/net/ |
D | rtnetlink.h | 116 int (*newlink)(struct net *src_net, 202 struct net *rtnl_link_get_net(struct net *src_net, struct nlattr *tb[]);
|
/linux-6.12.1/drivers/net/ |
D | macvtap.c | 80 static int macvtap_newlink(struct net *src_net, struct net_device *dev, in macvtap_newlink() argument 108 err = macvlan_common_newlink(src_net, dev, tb, data, extack); in macvtap_newlink()
|
D | macvlan.c | 1443 int macvlan_common_newlink(struct net *src_net, struct net_device *dev, in macvlan_common_newlink() argument 1457 lowerdev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK])); in macvlan_common_newlink() 1568 static int macvlan_newlink(struct net *src_net, struct net_device *dev, in macvlan_newlink() argument 1572 return macvlan_common_newlink(src_net, dev, tb, data, extack); in macvlan_newlink()
|
D | netkit.c | 330 static int netkit_new_link(struct net *src_net, struct net_device *dev, in netkit_new_link() argument 392 net = rtnl_link_get_net(src_net, tbp); in netkit_new_link()
|
D | gtp.c | 1463 static int gtp_newlink(struct net *src_net, struct net_device *dev, in gtp_newlink() argument 1499 gtp->net = src_net; in gtp_newlink() 1739 static struct gtp_dev *gtp_find_dev(struct net *src_net, struct nlattr *nla[]) in gtp_find_dev() argument 1751 net = get_net(src_net); in gtp_find_dev()
|
/linux-6.12.1/drivers/net/ipvlan/ |
D | ipvtap.c | 76 static int ipvtap_newlink(struct net *src_net, struct net_device *dev, in ipvtap_newlink() argument 100 err = ipvlan_link_new(src_net, dev, tb, data, extack); in ipvtap_newlink()
|
D | ipvlan.h | 169 int ipvlan_link_new(struct net *src_net, struct net_device *dev,
|
D | ipvlan_main.c | 535 int ipvlan_link_new(struct net *src_net, struct net_device *dev, in ipvlan_link_new() argument 548 phy_dev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK])); in ipvlan_link_new()
|
/linux-6.12.1/net/appletalk/ |
D | ddp.c | 104 atif->address.s_net == at->src_net) { in atalk_search_socket() 117 if (to->sat_addr.s_net == at->src_net && in atalk_search_socket() 158 if (at->src_net == sat->sat_addr.s_net && in atalk_find_or_insert_socket() 1109 if (at->src_net == sat->sat_addr.s_net && in atalk_pick_and_bind_port() 1140 at->src_net = sat.sat_addr.s_net = ap->s_net; in atalk_autobind() 1173 at->src_net = addr->sat_addr.s_net = ap->s_net; in atalk_bind() 1181 at->src_net = addr->sat_addr.s_net; in atalk_bind() 1286 sat.sat_addr.s_net = at->src_net; in atalk_getname() 1608 at_hint.s_net = at->src_net; in atalk_sendmsg() 1652 ddp->deh_snet = at->src_net; in atalk_sendmsg()
|
D | atalk_proc.c | 179 s->sk_type, ntohs(at->src_net), at->src_node, at->src_port, in atalk_seq_socket_show()
|
/linux-6.12.1/net/8021q/ |
D | vlan_netlink.c | 138 static int vlan_newlink(struct net *src_net, struct net_device *dev, in vlan_newlink() argument 158 real_dev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK])); in vlan_newlink()
|
/linux-6.12.1/include/linux/ |
D | if_macvlan.h | 62 extern int macvlan_common_newlink(struct net *src_net, struct net_device *dev,
|
D | atalk.h | 39 __be16 src_net; member
|
/linux-6.12.1/drivers/net/ethernet/qualcomm/rmnet/ |
D | rmnet_config.c | 120 static int rmnet_newlink(struct net *src_net, struct net_device *dev, in rmnet_newlink() argument 137 real_dev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK])); in rmnet_newlink()
|
/linux-6.12.1/drivers/net/wireguard/ |
D | device.c | 309 static int wg_newlink(struct net *src_net, struct net_device *dev, in wg_newlink() argument 316 rcu_assign_pointer(wg->creating_net, src_net); in wg_newlink()
|
/linux-6.12.1/net/ieee802154/6lowpan/ |
D | core.c | 132 static int lowpan_newlink(struct net *src_net, struct net_device *ldev, in lowpan_newlink() argument
|
/linux-6.12.1/drivers/net/wireless/virtual/ |
D | virt_wifi.c | 522 static int virt_wifi_newlink(struct net *src_net, struct net_device *dev, in virt_wifi_newlink() argument 535 priv->lowerdev = __dev_get_by_index(src_net, in virt_wifi_newlink()
|
/linux-6.12.1/drivers/net/vxlan/ |
D | vxlan_core.c | 3663 int vxlan_vni_in_use(struct net *src_net, struct vxlan_dev *vxlan, in vxlan_vni_in_use() argument 3666 struct vxlan_net *vn = net_generic(src_net, vxlan_net_id); in vxlan_vni_in_use() 3694 static int vxlan_config_validate(struct net *src_net, struct vxlan_config *conf, in vxlan_config_validate() argument 3788 lowerdev = __dev_get_by_index(src_net, conf->remote_ifindex); in vxlan_config_validate() 3837 if (vxlan_vni_in_use(src_net, old, conf, conf->vni)) { in vxlan_config_validate() 3849 struct net *src_net, in vxlan_config_apply() argument 3867 vxlan->net = src_net; in vxlan_config_apply() 3903 static int vxlan_dev_configure(struct net *src_net, struct net_device *dev, in vxlan_dev_configure() argument 3911 ret = vxlan_config_validate(src_net, conf, &lowerdev, vxlan, extack); in vxlan_dev_configure() 3915 vxlan_config_apply(dev, conf, lowerdev, src_net, changelink); in vxlan_dev_configure() [all …]
|
D | vxlan_private.h | 198 int vxlan_vni_in_use(struct net *src_net, struct vxlan_dev *vxlan,
|
/linux-6.12.1/net/ipv6/ |
D | ip6_gre.c | 1974 static int ip6gre_newlink_common(struct net *src_net, struct net_device *dev, in ip6gre_newlink_common() argument 2008 static int ip6gre_newlink(struct net *src_net, struct net_device *dev, in ip6gre_newlink() argument 2028 err = ip6gre_newlink_common(src_net, dev, tb, data, extack); in ip6gre_newlink() 2244 static int ip6erspan_newlink(struct net *src_net, struct net_device *dev, in ip6erspan_newlink() argument 2265 err = ip6gre_newlink_common(src_net, dev, tb, data, extack); in ip6erspan_newlink()
|
/linux-6.12.1/net/core/ |
D | rtnetlink.c | 1667 struct net *src_net, gfp_t gfp) in rtnl_fill_link_netnsid() argument 1675 int id = peernet2id_alloc(src_net, link_net, gfp); in rtnl_fill_link_netnsid() 1841 struct net_device *dev, struct net *src_net, in rtnl_fill_ifinfo() argument 1967 if (rtnl_fill_link_netnsid(skb, dev, src_net, GFP_ATOMIC)) in rtnl_fill_ifinfo() 2348 struct net *rtnl_link_get_net(struct net *src_net, struct nlattr *tb[]) in rtnl_link_get_net() argument 2359 net = get_net(src_net); in rtnl_link_get_net() 2371 static struct net *rtnl_link_get_net_by_nlattr(struct net *src_net, in rtnl_link_get_net_by_nlattr() argument 2377 return rtnl_link_get_net(src_net, tb); in rtnl_link_get_net_by_nlattr() 2380 return get_net(src_net); in rtnl_link_get_net_by_nlattr() 2382 net = get_net_ns_by_id(src_net, nla_get_u32(tb[IFLA_TARGET_NETNSID])); in rtnl_link_get_net_by_nlattr() [all …]
|
/linux-6.12.1/net/caif/ |
D | chnl_net.c | 441 static int ipcaif_newlink(struct net *src_net, struct net_device *dev, in ipcaif_newlink() argument
|
/linux-6.12.1/net/ipv4/ |
D | ipip.c | 439 static int ipip_newlink(struct net *src_net, struct net_device *dev, in ipip_newlink() argument
|