Home
last modified time | relevance | path

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

12

/Linux-v6.6/drivers/infiniband/ulp/ipoib/
Dipoib_netlink.c100 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-v6.6/include/net/
Drtnetlink.h97 int (*newlink)(struct net *src_net,
183 struct net *rtnl_link_get_net(struct net *src_net, struct nlattr *tb[]);
/Linux-v6.6/drivers/net/ipvlan/
Dipvtap.c76 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()
Dipvlan.h169 int ipvlan_link_new(struct net *src_net, struct net_device *dev,
Dipvlan_main.c532 int ipvlan_link_new(struct net *src_net, struct net_device *dev, in ipvlan_link_new() argument
545 phy_dev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK])); in ipvlan_link_new()
/Linux-v6.6/drivers/net/
Dmacvtap.c80 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()
Dmacvlan.c1452 int macvlan_common_newlink(struct net *src_net, struct net_device *dev, in macvlan_common_newlink() argument
1466 lowerdev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK])); in macvlan_common_newlink()
1577 static int macvlan_newlink(struct net *src_net, struct net_device *dev, in macvlan_newlink() argument
1581 return macvlan_common_newlink(src_net, dev, tb, data, extack); in macvlan_newlink()
Dgtp.c1045 static int gtp_newlink(struct net *src_net, struct net_device *dev, in gtp_newlink() argument
1076 gtp->net = src_net; in gtp_newlink()
1285 static struct gtp_dev *gtp_find_dev(struct net *src_net, struct nlattr *nla[]) in gtp_find_dev() argument
1297 net = get_net(src_net); in gtp_find_dev()
/Linux-v6.6/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()
/Linux-v6.6/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()
1631 at_hint.s_net = at->src_net; in atalk_sendmsg()
1675 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()
/Linux-v6.6/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()
/Linux-v6.6/include/linux/
Dif_macvlan.h62 extern int macvlan_common_newlink(struct net *src_net, struct net_device *dev,
Datalk.h39 __be16 src_net; member
/Linux-v6.6/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_config.c120 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-v6.6/net/ieee802154/6lowpan/
Dcore.c132 static int lowpan_newlink(struct net *src_net, struct net_device *ldev, in lowpan_newlink() argument
/Linux-v6.6/drivers/net/wireguard/
Ddevice.c310 static int wg_newlink(struct net *src_net, struct net_device *dev, in wg_newlink() argument
317 rcu_assign_pointer(wg->creating_net, src_net); in wg_newlink()
/Linux-v6.6/drivers/net/wireless/virtual/
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()
/Linux-v6.6/drivers/net/vxlan/
Dvxlan_private.h198 int vxlan_vni_in_use(struct net *src_net, struct vxlan_dev *vxlan,
Dvxlan_core.c3547 int vxlan_vni_in_use(struct net *src_net, struct vxlan_dev *vxlan, in vxlan_vni_in_use() argument
3550 struct vxlan_net *vn = net_generic(src_net, vxlan_net_id); in vxlan_vni_in_use()
3578 static int vxlan_config_validate(struct net *src_net, struct vxlan_config *conf, in vxlan_config_validate() argument
3666 lowerdev = __dev_get_by_index(src_net, conf->remote_ifindex); in vxlan_config_validate()
3715 if (vxlan_vni_in_use(src_net, old, conf, conf->vni)) { in vxlan_config_validate()
3727 struct net *src_net, in vxlan_config_apply() argument
3745 vxlan->net = src_net; in vxlan_config_apply()
3781 static int vxlan_dev_configure(struct net *src_net, struct net_device *dev, in vxlan_dev_configure() argument
3789 ret = vxlan_config_validate(src_net, conf, &lowerdev, vxlan, extack); in vxlan_dev_configure()
3793 vxlan_config_apply(dev, conf, lowerdev, src_net, changelink); in vxlan_dev_configure()
[all …]
/Linux-v6.6/net/ipv6/
Dip6_gre.c1975 static int ip6gre_newlink_common(struct net *src_net, struct net_device *dev, in ip6gre_newlink_common() argument
2009 static int ip6gre_newlink(struct net *src_net, struct net_device *dev, in ip6gre_newlink() argument
2029 err = ip6gre_newlink_common(src_net, dev, tb, data, extack); in ip6gre_newlink()
2242 static int ip6erspan_newlink(struct net *src_net, struct net_device *dev, in ip6erspan_newlink() argument
2263 err = ip6gre_newlink_common(src_net, dev, tb, data, extack); in ip6erspan_newlink()
/Linux-v6.6/net/core/
Drtnetlink.c1627 struct net *src_net, gfp_t gfp) in rtnl_fill_link_netnsid() argument
1635 int id = peernet2id_alloc(src_net, link_net, gfp); in rtnl_fill_link_netnsid()
1778 struct net_device *dev, struct net *src_net, in rtnl_fill_ifinfo() argument
1884 if (rtnl_fill_link_netnsid(skb, dev, src_net, gfp)) in rtnl_fill_ifinfo()
2292 struct net *rtnl_link_get_net(struct net *src_net, struct nlattr *tb[]) in rtnl_link_get_net() argument
2303 net = get_net(src_net); in rtnl_link_get_net()
2315 static struct net *rtnl_link_get_net_by_nlattr(struct net *src_net, in rtnl_link_get_net_by_nlattr() argument
2321 return rtnl_link_get_net(src_net, tb); in rtnl_link_get_net_by_nlattr()
2324 return get_net(src_net); in rtnl_link_get_net_by_nlattr()
2326 net = get_net_ns_by_id(src_net, nla_get_u32(tb[IFLA_TARGET_NETNSID])); in rtnl_link_get_net_by_nlattr()
[all …]
/Linux-v6.6/net/caif/
Dchnl_net.c442 static int ipcaif_newlink(struct net *src_net, struct net_device *dev, in ipcaif_newlink() argument
/Linux-v6.6/net/ipv4/
Dipip.c430 static int ipip_newlink(struct net *src_net, struct net_device *dev, in ipip_newlink() argument
/Linux-v6.6/drivers/net/can/dev/
Dnetlink.c627 static int can_newlink(struct net *src_net, struct net_device *dev, in can_newlink() argument

12