/linux-6.12.1/drivers/net/can/ |
D | vxcan.c | 202 if (ifmp && tbp[IFLA_IFNAME]) { in vxcan_newlink() 203 nla_strscpy(ifname, tbp[IFLA_IFNAME], IFNAMSIZ); in vxcan_newlink() 239 if (tb[IFLA_IFNAME]) in vxcan_newlink() 240 nla_strscpy(dev->name, tb[IFLA_IFNAME], IFNAMSIZ); in vxcan_newlink()
|
/linux-6.12.1/tools/testing/selftests/net/tcp_ao/lib/ |
D | netlink.c | 123 if (rtattr_pack(nh, req_sz, IFLA_IFNAME, peer, strlen(peer))) in veth_pack_peerb() 154 if (rtattr_pack(&req.nh, sizeof(req), IFLA_IFNAME, name, strlen(name))) in __add_veth() 369 if (rtattr_pack(&req.nh, sizeof(req), IFLA_IFNAME, name, strlen(name))) in __add_vrf()
|
/linux-6.12.1/tools/bpf/bpftool/ |
D | netlink_dumper.c | 78 libbpf_nla_getattr_str(tb[IFLA_IFNAME])); in do_xdp_dump()
|
D | net.c | 386 tb[IFLA_IFNAME] in dump_link_nlmsg() 387 ? libbpf_nla_getattr_str(tb[IFLA_IFNAME]) in dump_link_nlmsg()
|
/linux-6.12.1/drivers/net/ |
D | netkit.c | 381 if (ifmp && tbp[IFLA_IFNAME]) { in netkit_new_link() 382 nla_strscpy(ifname, tbp[IFLA_IFNAME], IFNAMSIZ); in netkit_new_link() 430 if (tb[IFLA_IFNAME]) in netkit_new_link() 431 nla_strscpy(dev->name, tb[IFLA_IFNAME], IFNAMSIZ); in netkit_new_link()
|
D | veth.c | 1803 if (ifmp && tbp[IFLA_IFNAME]) { in veth_newlink() 1804 nla_strscpy(ifname, tbp[IFLA_IFNAME], IFNAMSIZ); in veth_newlink() 1856 if (tb[IFLA_IFNAME]) in veth_newlink() 1857 nla_strscpy(dev->name, tb[IFLA_IFNAME], IFNAMSIZ); in veth_newlink()
|
/linux-6.12.1/tools/testing/selftests/net/ |
D | tap.c | 112 rtattr_add_str(&req.nh, IFLA_IFNAME, dev); in dev_create() 165 rtattr_add_str(&req.nh, IFLA_IFNAME, dev); in dev_delete()
|
D | tun.c | 91 rta->rta_type = IFLA_IFNAME; in tun_delete()
|
D | ipsec.c | 273 if (rtattr_pack(nh, req_sz, IFLA_IFNAME, peer, strlen(peer))) in veth_pack_peerb() 327 if (rtattr_pack(&req.nh, sizeof(req), IFLA_IFNAME, peera, strlen(peera))) in veth_add()
|
/linux-6.12.1/net/core/ |
D | rtnetlink.c | 1869 if (nla_put_string(skb, IFLA_IFNAME, devname)) in rtnl_fill_ifinfo() 2007 [IFLA_IFNAME] = { .type = NLA_STRING, .len = IFNAMSIZ-1 }, 2812 if (tb[IFLA_IFNAME]) in do_setlink() 2813 nla_strscpy(ifname, tb[IFLA_IFNAME], IFNAMSIZ); in do_setlink() 3184 if (tb[IFLA_IFNAME]) in rtnl_dev_get() 3185 nla_strscpy(ifname, tb[IFLA_IFNAME], IFNAMSIZ); in rtnl_dev_get() 3216 else if (tb[IFLA_IFNAME] || tb[IFLA_ALT_IFNAME]) in rtnl_setlink() 3319 else if (tb[IFLA_IFNAME] || tb[IFLA_ALT_IFNAME]) in rtnl_dellink() 3327 if (tb[IFLA_IFNAME] || tb[IFLA_ALT_IFNAME] || ifm->ifi_index > 0) in rtnl_dellink() 3502 if (tb[IFLA_IFNAME]) { in rtnl_newlink_create() [all …]
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | xfrm_info.c | 221 rtattr_add_str(nh, IFLA_IFNAME, "ipsec0"); in setup_xfrmi_external_dev()
|
D | tc_redirect.c | 184 addattr_l(&req.n, sizeof(req), IFLA_IFNAME, prim, strlen(prim)); in create_netkit() 191 addattr_l(&req.n, sizeof(req), IFLA_IFNAME, peer, strlen(peer)); in create_netkit()
|
D | tc_netkit.c | 54 addattr_l(&req.n, sizeof(req), IFLA_IFNAME, netkit_name, in create_netkit()
|
/linux-6.12.1/tools/include/uapi/linux/ |
D | if_link.h | 300 IFLA_IFNAME, enumerator
|
/linux-6.12.1/include/uapi/linux/ |
D | if_link.h | 300 IFLA_IFNAME, enumerator
|
/linux-6.12.1/drivers/net/ppp/ |
D | ppp_generic.c | 1343 if (!tb[IFLA_IFNAME] || !nla_len(tb[IFLA_IFNAME]) || !*(char *)nla_data(tb[IFLA_IFNAME])) in ppp_nl_newlink()
|
/linux-6.12.1/net/wireless/ |
D | wext-core.c | 437 if (nla_put_string(skb, IFLA_IFNAME, dev->name)) in rtnetlink_ifinfo_prep()
|
/linux-6.12.1/net/bridge/ |
D | br_netlink.c | 485 if (nla_put_string(skb, IFLA_IFNAME, dev->name) || in br_fill_ifinfo()
|
/linux-6.12.1/net/ipv6/ |
D | addrconf.c | 6069 if (nla_put_string(skb, IFLA_IFNAME, dev->name) || in inet6_fill_ifinfo()
|