Home
last modified time | relevance | path

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

/drivers/infiniband/ulp/ipoib/
Dipoib_netlink.c101 static int ipoib_new_child_link(struct net *src_net, struct net_device *dev, in ipoib_new_child_link() argument
113 pdev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK])); in ipoib_new_child_link()
/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.c533 int ipvlan_link_new(struct net *src_net, struct net_device *dev, in ipvlan_link_new() argument
546 phy_dev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK])); in ipvlan_link_new()
/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.c1411 int macvlan_common_newlink(struct net *src_net, struct net_device *dev, in macvlan_common_newlink() argument
1425 lowerdev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK])); in macvlan_common_newlink()
1532 static int macvlan_newlink(struct net *src_net, struct net_device *dev, in macvlan_newlink() argument
1536 return macvlan_common_newlink(src_net, dev, tb, data, extack); in macvlan_newlink()
Dgtp.c662 static int gtp_newlink(struct net *src_net, struct net_device *dev, in gtp_newlink() argument
890 static struct gtp_dev *gtp_find_dev(struct net *src_net, struct nlattr *nla[]) in gtp_find_dev() argument
902 net = get_net(src_net); in gtp_find_dev()
Dveth.c1638 static int veth_newlink(struct net *src_net, struct net_device *dev, in veth_newlink() argument
1681 net = rtnl_link_get_net(src_net, tbp); in veth_newlink()
Dvrf.c1740 static int vrf_newlink(struct net *src_net, struct net_device *dev, in vrf_newlink() argument
/drivers/net/wireguard/
Ddevice.c293 static int wg_newlink(struct net *src_net, struct net_device *dev, in wg_newlink() argument
300 rcu_assign_pointer(wg->creating_net, src_net); in wg_newlink()
/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()
/drivers/net/wireless/
Dvirt_wifi.c531 static int virt_wifi_newlink(struct net *src_net, struct net_device *dev, in virt_wifi_newlink() argument
544 priv->lowerdev = __dev_get_by_index(src_net, in virt_wifi_newlink()
/drivers/net/vxlan/
Dvxlan_core.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()
3782 struct net *src_net, in vxlan_config_apply() argument
3800 vxlan->net = src_net; in vxlan_config_apply()
3837 static int vxlan_dev_configure(struct net *src_net, struct net_device *dev, in vxlan_dev_configure() argument
3845 ret = vxlan_config_validate(src_net, conf, &lowerdev, vxlan, extack); in vxlan_dev_configure()
3849 vxlan_config_apply(dev, conf, lowerdev, src_net, changelink); in vxlan_dev_configure()
4227 static int vxlan_newlink(struct net *src_net, struct net_device *dev, in vxlan_newlink() argument
4238 return __vxlan_dev_create(src_net, dev, &conf, extack); in vxlan_newlink()
/drivers/net/can/dev/
Dnetlink.c349 static int can_newlink(struct net *src_net, struct net_device *dev, in can_newlink() argument
/drivers/net/ppp/
Dppp_generic.c1218 static int ppp_dev_configure(struct net *src_net, struct net_device *dev, in ppp_dev_configure() argument
1227 ppp->ppp_net = src_net; in ppp_dev_configure()
1288 static int ppp_nl_newlink(struct net *src_net, struct net_device *dev, in ppp_nl_newlink() argument
1328 err = ppp_dev_configure(src_net, dev, &conf); in ppp_nl_newlink()
/drivers/net/bonding/
Dbond_netlink.c474 static int bond_newlink(struct net *src_net, struct net_device *bond_dev, in bond_newlink() argument
/drivers/net/wwan/
Dwwan_core.c851 static int wwan_rtnl_newlink(struct net *src_net, struct net_device *dev, in wwan_rtnl_newlink() argument
/drivers/net/team/
Dteam.c2217 static int team_newlink(struct net *src_net, struct net_device *dev, in team_newlink() argument