src_net 96 drivers/infiniband/ulp/ipoib/ipoib_netlink.c static int ipoib_new_child_link(struct net *src_net, struct net_device *dev, src_net 108 drivers/infiniband/ulp/ipoib/ipoib_netlink.c pdev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK])); src_net 448 drivers/net/bonding/bond_netlink.c static int bond_newlink(struct net *src_net, struct net_device *bond_dev, src_net 1395 drivers/net/caif/caif_hsi.c static int caif_hsi_newlink(struct net *src_net, struct net_device *dev, src_net 1208 drivers/net/can/dev.c static int can_newlink(struct net *src_net, struct net_device *dev, src_net 107 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c static int rmnet_newlink(struct net *src_net, struct net_device *dev, src_net 124 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c real_dev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK])); src_net 653 drivers/net/gtp.c static int gtp_newlink(struct net *src_net, struct net_device *dev, src_net 881 drivers/net/gtp.c static struct gtp_dev *gtp_find_dev(struct net *src_net, struct nlattr *nla[]) src_net 893 drivers/net/gtp.c net = get_net(src_net); src_net 168 drivers/net/ipvlan/ipvlan.h int ipvlan_link_new(struct net *src_net, struct net_device *dev, src_net 510 drivers/net/ipvlan/ipvlan_main.c int ipvlan_link_new(struct net *src_net, struct net_device *dev, src_net 523 drivers/net/ipvlan/ipvlan_main.c phy_dev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK])); src_net 77 drivers/net/ipvlan/ipvtap.c static int ipvtap_newlink(struct net *src_net, struct net_device *dev, src_net 101 drivers/net/ipvlan/ipvtap.c err = ipvlan_link_new(src_net, dev, tb, data, extack); src_net 1377 drivers/net/macvlan.c int macvlan_common_newlink(struct net *src_net, struct net_device *dev, src_net 1391 drivers/net/macvlan.c lowerdev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK])); src_net 1491 drivers/net/macvlan.c static int macvlan_newlink(struct net *src_net, struct net_device *dev, src_net 1495 drivers/net/macvlan.c return macvlan_common_newlink(src_net, dev, tb, data, extack); src_net 81 drivers/net/macvtap.c static int macvtap_newlink(struct net *src_net, struct net_device *dev, src_net 109 drivers/net/macvtap.c err = macvlan_common_newlink(src_net, dev, tb, data, extack); src_net 1006 drivers/net/ppp/ppp_generic.c static int ppp_dev_configure(struct net *src_net, struct net_device *dev, src_net 1015 drivers/net/ppp/ppp_generic.c ppp->ppp_net = src_net; src_net 1076 drivers/net/ppp/ppp_generic.c static int ppp_nl_newlink(struct net *src_net, struct net_device *dev, src_net 1116 drivers/net/ppp/ppp_generic.c err = ppp_dev_configure(src_net, dev, &conf); src_net 2181 drivers/net/team/team.c static int team_newlink(struct net *src_net, struct net_device *dev, src_net 1236 drivers/net/veth.c static int veth_newlink(struct net *src_net, struct net_device *dev, src_net 1282 drivers/net/veth.c net = rtnl_link_get_net(src_net, tbp); src_net 1324 drivers/net/vrf.c static int vrf_newlink(struct net *src_net, struct net_device *dev, src_net 3338 drivers/net/vxlan.c static int vxlan_config_validate(struct net *src_net, struct vxlan_config *conf, src_net 3343 drivers/net/vxlan.c struct vxlan_net *vn = net_generic(src_net, vxlan_net_id); src_net 3428 drivers/net/vxlan.c lowerdev = __dev_get_by_index(src_net, conf->remote_ifindex); src_net 3503 drivers/net/vxlan.c struct net *src_net, src_net 3521 drivers/net/vxlan.c vxlan->net = src_net; src_net 3557 drivers/net/vxlan.c static int vxlan_dev_configure(struct net *src_net, struct net_device *dev, src_net 3565 drivers/net/vxlan.c ret = vxlan_config_validate(src_net, conf, &lowerdev, vxlan, extack); src_net 3569 drivers/net/vxlan.c vxlan_config_apply(dev, conf, lowerdev, src_net, changelink); src_net 3945 drivers/net/vxlan.c static int vxlan_newlink(struct net *src_net, struct net_device *dev, src_net 3956 drivers/net/vxlan.c return __vxlan_dev_create(src_net, dev, &conf, extack); src_net 487 drivers/net/wireless/virt_wifi.c static int virt_wifi_newlink(struct net *src_net, struct net_device *dev, src_net 500 drivers/net/wireless/virt_wifi.c priv->lowerdev = __dev_get_by_index(src_net, src_net 39 include/linux/atalk.h __be16 src_net; src_net 59 include/linux/if_macvlan.h extern int macvlan_common_newlink(struct net *src_net, struct net_device *dev, src_net 73 include/net/rtnetlink.h int (*newlink)(struct net *src_net, src_net 158 include/net/rtnetlink.h struct net *rtnl_link_get_net(struct net *src_net, struct nlattr *tb[]); src_net 136 net/8021q/vlan_netlink.c static int vlan_newlink(struct net *src_net, struct net_device *dev, src_net 156 net/8021q/vlan_netlink.c real_dev = __dev_get_by_index(src_net, nla_get_u32(tb[IFLA_LINK])); src_net 179 net/appletalk/atalk_proc.c s->sk_type, ntohs(at->src_net), at->src_node, at->src_port, src_net 103 net/appletalk/ddp.c if (to->sat_addr.s_net == at->src_net && src_net 144 net/appletalk/ddp.c if (at->src_net == sat->sat_addr.s_net && src_net 1088 net/appletalk/ddp.c if (at->src_net == sat->sat_addr.s_net && src_net 1119 net/appletalk/ddp.c at->src_net = sat.sat_addr.s_net = ap->s_net; src_net 1152 net/appletalk/ddp.c at->src_net = addr->sat_addr.s_net = ap->s_net; src_net 1160 net/appletalk/ddp.c at->src_net = addr->sat_addr.s_net; src_net 1265 net/appletalk/ddp.c sat.sat_addr.s_net = at->src_net; src_net 1622 net/appletalk/ddp.c at_hint.s_net = at->src_net; src_net 1651 net/appletalk/ddp.c ddp->deh_snet = at->src_net; src_net 1308 net/bridge/br_netlink.c static int br_dev_newlink(struct net *src_net, struct net_device *dev, src_net 462 net/caif/chnl_net.c static int ipcaif_newlink(struct net *src_net, struct net_device *dev, src_net 1526 net/core/rtnetlink.c struct net *src_net, gfp_t gfp) src_net 1534 net/core/rtnetlink.c int id = peernet2id_alloc(src_net, link_net, gfp); src_net 1588 net/core/rtnetlink.c struct net_device *dev, struct net *src_net, src_net 1684 net/core/rtnetlink.c if (rtnl_fill_link_netnsid(skb, dev, src_net, gfp)) src_net 2037 net/core/rtnetlink.c struct net *rtnl_link_get_net(struct net *src_net, struct nlattr *tb[]) src_net 2048 net/core/rtnetlink.c net = get_net(src_net); src_net 2060 net/core/rtnetlink.c static struct net *rtnl_link_get_net_by_nlattr(struct net *src_net, src_net 2066 net/core/rtnetlink.c return rtnl_link_get_net(src_net, tb); src_net 2069 net/core/rtnetlink.c return get_net(src_net); src_net 2071 net/core/rtnetlink.c net = get_net_ns_by_id(src_net, nla_get_u32(tb[IFLA_TARGET_NETNSID])); src_net 2079 net/core/rtnetlink.c struct net *src_net, src_net 2084 net/core/rtnetlink.c net = rtnl_link_get_net_by_nlattr(src_net, tb); src_net 30 net/hsr/hsr_netlink.c static int hsr_newlink(struct net *src_net, struct net_device *dev, src_net 45 net/hsr/hsr_netlink.c link[0] = __dev_get_by_index(src_net, src_net 51 net/hsr/hsr_netlink.c link[1] = __dev_get_by_index(src_net, src_net 123 net/ieee802154/6lowpan/core.c static int lowpan_newlink(struct net *src_net, struct net_device *ldev, src_net 1309 net/ipv4/ip_gre.c static int ipgre_newlink(struct net *src_net, struct net_device *dev, src_net 1327 net/ipv4/ip_gre.c static int erspan_newlink(struct net *src_net, struct net_device *dev, src_net 574 net/ipv4/ip_vti.c static int vti_newlink(struct net *src_net, struct net_device *dev, src_net 494 net/ipv4/ipip.c static int ipip_newlink(struct net *src_net, struct net_device *dev, src_net 1934 net/ipv6/ip6_gre.c static int ip6gre_newlink_common(struct net *src_net, struct net_device *dev, src_net 1970 net/ipv6/ip6_gre.c static int ip6gre_newlink(struct net *src_net, struct net_device *dev, src_net 1990 net/ipv6/ip6_gre.c err = ip6gre_newlink_common(src_net, dev, tb, data, extack); src_net 2203 net/ipv6/ip6_gre.c static int ip6erspan_newlink(struct net *src_net, struct net_device *dev, src_net 2224 net/ipv6/ip6_gre.c err = ip6gre_newlink_common(src_net, dev, tb, data, extack); src_net 1994 net/ipv6/ip6_tunnel.c static int ip6_tnl_newlink(struct net *src_net, struct net_device *dev, src_net 994 net/ipv6/ip6_vti.c static int vti6_newlink(struct net *src_net, struct net_device *dev, src_net 1564 net/ipv6/sit.c static int ipip6_newlink(struct net *src_net, struct net_device *dev, src_net 654 net/xfrm/xfrm_interface.c static int xfrmi_newlink(struct net *src_net, struct net_device *dev,