Searched refs:src_net (Results 1 - 25 of 41) sorted by relevance

12

/linux-master/drivers/infiniband/ulp/ipoib/
H A Dipoib_netlink.c100 static int ipoib_new_child_link(struct net *src_net, struct net_device *dev, argument
112 pdev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK]));
/linux-master/include/net/
H A Drtnetlink.h98 int (*newlink)(struct net *src_net,
184 struct net *rtnl_link_get_net(struct net *src_net, struct nlattr *tb[]);
/linux-master/include/linux/
H A Datalk.h39 __be16 src_net; member in struct:atalk_sock
H A Dif_macvlan.h62 extern int macvlan_common_newlink(struct net *src_net, struct net_device *dev,
/linux-master/drivers/net/
H A Dmacvtap.c80 static int macvtap_newlink(struct net *src_net, struct net_device *dev, argument
108 err = macvlan_common_newlink(src_net, dev, tb, data, extack);
H A Dgtp.c1032 static int gtp_newlink(struct net *src_net, struct net_device *dev, argument
1063 gtp->net = src_net;
1273 static struct gtp_dev *gtp_find_dev(struct net *src_net, struct nlattr *nla[])
1285 net = get_net(src_net);
1272 gtp_find_dev(struct net *src_net, struct nlattr *nla[]) argument
H A Dmacvlan.c1441 int macvlan_common_newlink(struct net *src_net, struct net_device *dev, argument
1455 lowerdev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK]));
1566 static int macvlan_newlink(struct net *src_net, struct net_device *dev, argument
1570 return macvlan_common_newlink(src_net, dev, tb, data, extack);
H A Dnetkit.c310 static int netkit_new_link(struct net *src_net, struct net_device *dev, argument
369 net = rtnl_link_get_net(src_net, tbp);
/linux-master/drivers/net/ipvlan/
H A Dipvtap.c76 static int ipvtap_newlink(struct net *src_net, struct net_device *dev, argument
100 err = ipvlan_link_new(src_net, dev, tb, data, extack);
H A Dipvlan.h169 int ipvlan_link_new(struct net *src_net, struct net_device *dev,
H A Dipvlan_main.c534 int ipvlan_link_new(struct net *src_net, struct net_device *dev, argument
547 phy_dev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK]));
/linux-master/net/hsr/
H A Dhsr_netlink.c31 static int hsr_newlink(struct net *src_net, struct net_device *dev, argument
48 link[0] = __dev_get_by_index(src_net,
58 link[1] = __dev_get_by_index(src_net,
/linux-master/net/ieee802154/6lowpan/
H A Dcore.c132 static int lowpan_newlink(struct net *src_net, struct net_device *ldev, argument
/linux-master/net/8021q/
H A Dvlan_netlink.c140 static int vlan_newlink(struct net *src_net, struct net_device *dev, argument
160 real_dev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK]));
/linux-master/net/appletalk/
H A Dddp.c104 if (to->sat_addr.s_net == at->src_net &&
145 if (at->src_net == sat->sat_addr.s_net &&
1096 if (at->src_net == sat->sat_addr.s_net &&
1127 at->src_net = sat.sat_addr.s_net = ap->s_net;
1160 at->src_net = addr->sat_addr.s_net = ap->s_net;
1168 at->src_net = addr->sat_addr.s_net;
1273 sat.sat_addr.s_net = at->src_net;
1595 at_hint.s_net = at->src_net;
1639 ddp->deh_snet = at->src_net;
H A Datalk_proc.c179 s->sk_type, ntohs(at->src_net), at->src_node, at->src_port,
/linux-master/drivers/net/ethernet/qualcomm/rmnet/
H A Drmnet_config.c120 static int rmnet_newlink(struct net *src_net, struct net_device *dev, argument
137 real_dev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK]));
/linux-master/drivers/net/wireguard/
H A Ddevice.c309 static int wg_newlink(struct net *src_net, struct net_device *dev, argument
316 rcu_assign_pointer(wg->creating_net, src_net);
/linux-master/drivers/net/wireless/virtual/
H A Dvirt_wifi.c508 static int virt_wifi_newlink(struct net *src_net, struct net_device *dev, argument
521 priv->lowerdev = __dev_get_by_index(src_net,
/linux-master/drivers/net/vxlan/
H A Dvxlan_private.h198 int vxlan_vni_in_use(struct net *src_net, struct vxlan_dev *vxlan,
H A Dvxlan_core.c3633 int vxlan_vni_in_use(struct net *src_net, struct vxlan_dev *vxlan,
3636 struct vxlan_net *vn = net_generic(src_net, vxlan_net_id);
3664 static int vxlan_config_validate(struct net *src_net, struct vxlan_config *conf,
3758 lowerdev = __dev_get_by_index(src_net, conf->remote_ifindex);
3807 if (vxlan_vni_in_use(src_net, old, conf, conf->vni)) {
3819 struct net *src_net,
3837 vxlan->net = src_net;
3873 static int vxlan_dev_configure(struct net *src_net, struct net_device *dev,
3881 ret = vxlan_config_validate(src_net, conf, &lowerdev, vxlan, extack);
3885 vxlan_config_apply(dev, conf, lowerdev, src_net, changelin
3629 vxlan_vni_in_use(struct net *src_net, struct vxlan_dev *vxlan, struct vxlan_config *conf, __be32 vni) argument
3660 vxlan_config_validate(struct net *src_net, struct vxlan_config *conf, struct net_device **lower, struct vxlan_dev *old, struct netlink_ext_ack *extack) argument
3812 vxlan_config_apply(struct net_device *dev, struct vxlan_config *conf, struct net_device *lowerdev, struct net *src_net, bool changelink) argument
3869 vxlan_dev_configure(struct net *src_net, struct net_device *dev, struct vxlan_config *conf, bool changelink, struct netlink_ext_ack *extack) argument
4287 vxlan_newlink(struct net *src_net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack) argument
[all...]
/linux-master/net/caif/
H A Dchnl_net.c443 static int ipcaif_newlink(struct net *src_net, struct net_device *dev, argument
/linux-master/net/ipv6/
H A Dip6_gre.c1978 static int ip6gre_newlink_common(struct net *src_net, struct net_device *dev, argument
2012 static int ip6gre_newlink(struct net *src_net, struct net_device *dev, argument
2032 err = ip6gre_newlink_common(src_net, dev, tb, data, extack);
2245 static int ip6erspan_newlink(struct net *src_net, struct net_device *dev, argument
2266 err = ip6gre_newlink_common(src_net, dev, tb, data, extack);
/linux-master/net/core/
H A Drtnetlink.c1635 struct net *src_net, gfp_t gfp)
1643 int id = peernet2id_alloc(src_net, link_net, gfp);
1809 struct net_device *dev, struct net *src_net,
1912 if (rtnl_fill_link_netnsid(skb, dev, src_net, gfp))
2303 struct net *rtnl_link_get_net(struct net *src_net, struct nlattr *tb[]) argument
2314 net = get_net(src_net);
2326 static struct net *rtnl_link_get_net_by_nlattr(struct net *src_net, argument
2332 return rtnl_link_get_net(src_net, tb);
2335 return get_net(src_net);
2337 net = get_net_ns_by_id(src_net, nla_get_u3
1633 rtnl_fill_link_netnsid(struct sk_buff *skb, const struct net_device *dev, struct net *src_net, gfp_t gfp) argument
1808 rtnl_fill_ifinfo(struct sk_buff *skb, struct net_device *dev, struct net *src_net, int type, u32 pid, u32 seq, u32 change, unsigned int flags, u32 ext_filter_mask, u32 event, int *new_nsid, int new_ifindex, int tgt_netnsid, gfp_t gfp) argument
2344 rtnl_link_get_net_capable(const struct sk_buff *skb, struct net *src_net, struct nlattr *tb[], int cap) argument
[all...]
/linux-master/drivers/net/can/dev/
H A Dnetlink.c627 static int can_newlink(struct net *src_net, struct net_device *dev, argument

Completed in 405 milliseconds

12