/linux/drivers/infiniband/ulp/ipoib/ |
A 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()
|
/linux/include/net/ |
A D | rtnetlink.h | 83 int (*newlink)(struct net *src_net, 169 struct net *rtnl_link_get_net(struct net *src_net, struct nlattr *tb[]);
|
/linux/drivers/net/ipvlan/ |
A 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()
|
A D | ipvlan.h | 168 int ipvlan_link_new(struct net *src_net, struct net_device *dev,
|
A D | ipvlan_main.c | 532 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/drivers/net/ |
A 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()
|
A D | macvlan.c | 1408 int macvlan_common_newlink(struct net *src_net, struct net_device *dev, in macvlan_common_newlink() argument 1422 lowerdev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK])); in macvlan_common_newlink() 1527 static int macvlan_newlink(struct net *src_net, struct net_device *dev, in macvlan_newlink() argument 1531 return macvlan_common_newlink(src_net, dev, tb, data, extack); in macvlan_newlink()
|
A D | vxlan.c | 3619 static int vxlan_config_validate(struct net *src_net, struct vxlan_config *conf, in vxlan_config_validate() argument 3624 struct vxlan_net *vn = net_generic(src_net, vxlan_net_id); in vxlan_config_validate() 3709 lowerdev = __dev_get_by_index(src_net, conf->remote_ifindex); in vxlan_config_validate() 3785 struct net *src_net, in vxlan_config_apply() argument 3803 vxlan->net = src_net; in vxlan_config_apply() 3842 static int vxlan_dev_configure(struct net *src_net, struct net_device *dev, in vxlan_dev_configure() argument 3850 ret = vxlan_config_validate(src_net, conf, &lowerdev, vxlan, extack); in vxlan_dev_configure() 3854 vxlan_config_apply(dev, conf, lowerdev, src_net, changelink); in vxlan_dev_configure() 4232 static int vxlan_newlink(struct net *src_net, struct net_device *dev, in vxlan_newlink() argument 4243 return __vxlan_dev_create(src_net, dev, &conf, extack); in vxlan_newlink()
|
A D | gtp.c | 659 static int gtp_newlink(struct net *src_net, struct net_device *dev, in gtp_newlink() argument 887 static struct gtp_dev *gtp_find_dev(struct net *src_net, struct nlattr *nla[]) in gtp_find_dev() argument 899 net = get_net(src_net); in gtp_find_dev()
|
/linux/net/appletalk/ |
A 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() 1631 at_hint.s_net = at->src_net; in atalk_sendmsg() 1675 ddp->deh_snet = at->src_net; in atalk_sendmsg()
|
A D | atalk_proc.c | 179 s->sk_type, ntohs(at->src_net), at->src_node, at->src_port, in atalk_seq_socket_show()
|
/linux/net/hsr/ |
A 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()
|
/linux/net/8021q/ |
A 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()
|
/linux/include/linux/ |
A D | if_macvlan.h | 61 extern int macvlan_common_newlink(struct net *src_net, struct net_device *dev,
|
A D | atalk.h | 39 __be16 src_net; member
|
/linux/drivers/net/wireguard/ |
A 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()
|
/linux/drivers/net/ethernet/qualcomm/rmnet/ |
A 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()
|
/linux/net/ieee802154/6lowpan/ |
A D | core.c | 131 static int lowpan_newlink(struct net *src_net, struct net_device *ldev, in lowpan_newlink() argument
|
/linux/drivers/net/wireless/ |
A 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()
|
/linux/net/core/ |
A D | rtnetlink.c | 1566 struct net *src_net, gfp_t gfp) in rtnl_fill_link_netnsid() argument 1574 int id = peernet2id_alloc(src_net, link_net, gfp); in rtnl_fill_link_netnsid() 1693 struct net_device *dev, struct net *src_net, in rtnl_fill_ifinfo() argument 1791 if (rtnl_fill_link_netnsid(skb, dev, src_net, gfp)) in rtnl_fill_ifinfo() 2176 struct net *rtnl_link_get_net(struct net *src_net, struct nlattr *tb[]) in rtnl_link_get_net() argument 2187 net = get_net(src_net); in rtnl_link_get_net() 2199 static struct net *rtnl_link_get_net_by_nlattr(struct net *src_net, in rtnl_link_get_net_by_nlattr() argument 2205 return rtnl_link_get_net(src_net, tb); in rtnl_link_get_net_by_nlattr() 2208 return get_net(src_net); in rtnl_link_get_net_by_nlattr() 2218 struct net *src_net, in rtnl_link_get_net_capable() argument [all …]
|
/linux/net/ipv6/ |
A D | ip6_gre.c | 1961 static int ip6gre_newlink_common(struct net *src_net, struct net_device *dev, in ip6gre_newlink_common() argument 1995 static int ip6gre_newlink(struct net *src_net, struct net_device *dev, in ip6gre_newlink() argument 2015 err = ip6gre_newlink_common(src_net, dev, tb, data, extack); in ip6gre_newlink() 2228 static int ip6erspan_newlink(struct net *src_net, struct net_device *dev, in ip6erspan_newlink() argument 2249 err = ip6gre_newlink_common(src_net, dev, tb, data, extack); in ip6erspan_newlink()
|
/linux/net/caif/ |
A D | chnl_net.c | 445 static int ipcaif_newlink(struct net *src_net, struct net_device *dev, in ipcaif_newlink() argument
|
/linux/drivers/net/can/dev/ |
A D | netlink.c | 560 static int can_newlink(struct net *src_net, struct net_device *dev, in can_newlink() argument
|
/linux/net/ipv4/ |
A D | ipip.c | 485 static int ipip_newlink(struct net *src_net, struct net_device *dev, in ipip_newlink() argument
|
/linux/drivers/net/ppp/ |
A D | ppp_generic.c | 1213 static int ppp_dev_configure(struct net *src_net, struct net_device *dev, in ppp_dev_configure() argument 1222 ppp->ppp_net = src_net; in ppp_dev_configure() 1283 static int ppp_nl_newlink(struct net *src_net, struct net_device *dev, in ppp_nl_newlink() argument 1323 err = ppp_dev_configure(src_net, dev, &conf); in ppp_nl_newlink()
|