Home
last modified time | relevance | path

Searched refs:src_net (Results 1 – 25 of 37) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/
Dipoib_netlink.c96 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/
Drtnetlink.h75 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/
Dmacvtap.c81 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()
Dmacvlan.c1404 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()
Dvxlan.c3616 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()
Dgtp.c646 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()
Dveth.c1291 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/
Dipvtap.c77 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()
Dipvlan.h168 int ipvlan_link_new(struct net *src_net, struct net_device *dev,
Dipvlan_main.c530 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/
Dhsr_netlink.c31 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/
Dddp.c104 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()
Datalk_proc.c179 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/
Dvlan_netlink.c136 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/
Dif_macvlan.h60 extern int macvlan_common_newlink(struct net *src_net, struct net_device *dev,
Datalk.h39 __be16 src_net; member
/kernel/linux/linux-5.10/drivers/net/wireguard/
Ddevice.c292 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/
Drmnet_config.c115 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/
Dcore.c131 static int lowpan_newlink(struct net *src_net, struct net_device *ldev, in lowpan_newlink() argument
/kernel/linux/linux-5.10/drivers/net/wireless/
Dvirt_wifi.c508 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/
Drtnetlink.c1573 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/
Dip6_gre.c1963 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/
Dchnl_net.c450 static int ipcaif_newlink(struct net *src_net, struct net_device *dev, in ipcaif_newlink() argument
/kernel/linux/linux-5.10/net/ipv4/
Dipip.c483 static int ipip_newlink(struct net *src_net, struct net_device *dev, in ipip_newlink() argument
/kernel/linux/linux-5.10/drivers/net/ppp/
Dppp_generic.c1108 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()

12