/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/ |
D | ipoib_netlink.c | 96 static int ipoib_new_child_link(struct net *src_net, struct net_device *dev, in ipoib_new_child_link() argument 108 pdev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK])); in ipoib_new_child_link()
|
/kernel/linux/linux-5.10/include/net/ |
D | rtnetlink.h | 75 int (*newlink)(struct net *src_net, 160 struct net *rtnl_link_get_net(struct net *src_net, struct nlattr *tb[]);
|
/kernel/linux/linux-5.10/drivers/net/ |
D | macvtap.c | 81 static int macvtap_newlink(struct net *src_net, struct net_device *dev, in macvtap_newlink() argument 109 err = macvlan_common_newlink(src_net, dev, tb, data, extack); in macvtap_newlink()
|
D | macvlan.c | 1404 int macvlan_common_newlink(struct net *src_net, struct net_device *dev, in macvlan_common_newlink() argument 1418 lowerdev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK])); in macvlan_common_newlink() 1518 static int macvlan_newlink(struct net *src_net, struct net_device *dev, in macvlan_newlink() argument 1522 return macvlan_common_newlink(src_net, dev, tb, data, extack); in macvlan_newlink()
|
D | vxlan.c | 3616 static int vxlan_config_validate(struct net *src_net, struct vxlan_config *conf, in vxlan_config_validate() argument 3621 struct vxlan_net *vn = net_generic(src_net, vxlan_net_id); in vxlan_config_validate() 3706 lowerdev = __dev_get_by_index(src_net, conf->remote_ifindex); in vxlan_config_validate() 3781 struct net *src_net, in vxlan_config_apply() argument 3799 vxlan->net = src_net; in vxlan_config_apply() 3838 static int vxlan_dev_configure(struct net *src_net, struct net_device *dev, in vxlan_dev_configure() argument 3846 ret = vxlan_config_validate(src_net, conf, &lowerdev, vxlan, extack); in vxlan_dev_configure() 3850 vxlan_config_apply(dev, conf, lowerdev, src_net, changelink); in vxlan_dev_configure() 4228 static int vxlan_newlink(struct net *src_net, struct net_device *dev, in vxlan_newlink() argument 4239 return __vxlan_dev_create(src_net, dev, &conf, extack); in vxlan_newlink()
|
D | gtp.c | 646 static int gtp_newlink(struct net *src_net, struct net_device *dev, in gtp_newlink() argument 871 static struct gtp_dev *gtp_find_dev(struct net *src_net, struct nlattr *nla[]) in gtp_find_dev() argument 883 net = get_net(src_net); in gtp_find_dev()
|
D | veth.c | 1291 static int veth_newlink(struct net *src_net, struct net_device *dev, in veth_newlink() argument 1337 net = rtnl_link_get_net(src_net, tbp); in veth_newlink()
|
/kernel/linux/linux-5.10/drivers/net/ipvlan/ |
D | ipvtap.c | 77 static int ipvtap_newlink(struct net *src_net, struct net_device *dev, in ipvtap_newlink() argument 101 err = ipvlan_link_new(src_net, dev, tb, data, extack); in ipvtap_newlink()
|
D | ipvlan.h | 168 int ipvlan_link_new(struct net *src_net, struct net_device *dev,
|
D | ipvlan_main.c | 530 int ipvlan_link_new(struct net *src_net, struct net_device *dev, in ipvlan_link_new() argument 543 phy_dev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK])); in ipvlan_link_new()
|
/kernel/linux/linux-5.10/net/hsr/ |
D | hsr_netlink.c | 31 static int hsr_newlink(struct net *src_net, struct net_device *dev, in hsr_newlink() argument 48 link[0] = __dev_get_by_index(src_net, in hsr_newlink() 58 link[1] = __dev_get_by_index(src_net, in hsr_newlink()
|
/kernel/linux/linux-5.10/net/appletalk/ |
D | ddp.c | 104 if (to->sat_addr.s_net == at->src_net && in atalk_search_socket() 145 if (at->src_net == sat->sat_addr.s_net && in atalk_find_or_insert_socket() 1096 if (at->src_net == sat->sat_addr.s_net && in atalk_pick_and_bind_port() 1127 at->src_net = sat.sat_addr.s_net = ap->s_net; in atalk_autobind() 1160 at->src_net = addr->sat_addr.s_net = ap->s_net; in atalk_bind() 1168 at->src_net = addr->sat_addr.s_net; in atalk_bind() 1273 sat.sat_addr.s_net = at->src_net; in atalk_getname() 1630 at_hint.s_net = at->src_net; in atalk_sendmsg() 1674 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()
|
/kernel/linux/linux-5.10/net/8021q/ |
D | vlan_netlink.c | 136 static int vlan_newlink(struct net *src_net, struct net_device *dev, in vlan_newlink() argument 156 real_dev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK])); in vlan_newlink()
|
/kernel/linux/linux-5.10/include/linux/ |
D | if_macvlan.h | 60 extern int macvlan_common_newlink(struct net *src_net, struct net_device *dev,
|
D | atalk.h | 39 __be16 src_net; member
|
/kernel/linux/linux-5.10/drivers/net/wireguard/ |
D | device.c | 292 static int wg_newlink(struct net *src_net, struct net_device *dev, in wg_newlink() argument 299 rcu_assign_pointer(wg->creating_net, src_net); in wg_newlink()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/rmnet/ |
D | rmnet_config.c | 115 static int rmnet_newlink(struct net *src_net, struct net_device *dev, in rmnet_newlink() argument 132 real_dev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK])); in rmnet_newlink()
|
/kernel/linux/linux-5.10/net/ieee802154/6lowpan/ |
D | core.c | 131 static int lowpan_newlink(struct net *src_net, struct net_device *ldev, in lowpan_newlink() argument
|
/kernel/linux/linux-5.10/drivers/net/wireless/ |
D | virt_wifi.c | 508 static int virt_wifi_newlink(struct net *src_net, struct net_device *dev, in virt_wifi_newlink() argument 521 priv->lowerdev = __dev_get_by_index(src_net, in virt_wifi_newlink()
|
/kernel/linux/linux-5.10/net/core/ |
D | rtnetlink.c | 1573 struct net *src_net, gfp_t gfp) in rtnl_fill_link_netnsid() argument 1581 int id = peernet2id_alloc(src_net, link_net, gfp); in rtnl_fill_link_netnsid() 1700 struct net_device *dev, struct net *src_net, in rtnl_fill_ifinfo() argument 1798 if (rtnl_fill_link_netnsid(skb, dev, src_net, gfp)) in rtnl_fill_ifinfo() 2164 struct net *rtnl_link_get_net(struct net *src_net, struct nlattr *tb[]) in rtnl_link_get_net() argument 2175 net = get_net(src_net); in rtnl_link_get_net() 2187 static struct net *rtnl_link_get_net_by_nlattr(struct net *src_net, in rtnl_link_get_net_by_nlattr() argument 2193 return rtnl_link_get_net(src_net, tb); in rtnl_link_get_net_by_nlattr() 2196 return get_net(src_net); in rtnl_link_get_net_by_nlattr() 2198 net = get_net_ns_by_id(src_net, nla_get_u32(tb[IFLA_TARGET_NETNSID])); in rtnl_link_get_net_by_nlattr() [all …]
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | ip6_gre.c | 1963 static int ip6gre_newlink_common(struct net *src_net, struct net_device *dev, in ip6gre_newlink_common() argument 1997 static int ip6gre_newlink(struct net *src_net, struct net_device *dev, in ip6gre_newlink() argument 2017 err = ip6gre_newlink_common(src_net, dev, tb, data, extack); in ip6gre_newlink() 2230 static int ip6erspan_newlink(struct net *src_net, struct net_device *dev, in ip6erspan_newlink() argument 2251 err = ip6gre_newlink_common(src_net, dev, tb, data, extack); in ip6erspan_newlink()
|
/kernel/linux/linux-5.10/net/caif/ |
D | chnl_net.c | 450 static int ipcaif_newlink(struct net *src_net, struct net_device *dev, in ipcaif_newlink() argument
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | ipip.c | 483 static int ipip_newlink(struct net *src_net, struct net_device *dev, in ipip_newlink() argument
|
/kernel/linux/linux-5.10/drivers/net/ppp/ |
D | ppp_generic.c | 1108 static int ppp_dev_configure(struct net *src_net, struct net_device *dev, in ppp_dev_configure() argument 1117 ppp->ppp_net = src_net; in ppp_dev_configure() 1178 static int ppp_nl_newlink(struct net *src_net, struct net_device *dev, in ppp_nl_newlink() argument 1218 err = ppp_dev_configure(src_net, dev, &conf); in ppp_nl_newlink()
|