Searched refs:cfg_ifname (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/tools/testing/selftests/net/ |
D | psock_snd.c | 43 static char *cfg_ifname = "lo"; variable 176 laddr.sll_ifindex = if_nametoindex(cfg_ifname); in do_bind() 203 laddr.sll_ifindex = if_nametoindex(cfg_ifname); in do_send()
|
D | csum.c | 102 static char *cfg_ifname = "eth0"; variable 417 addr.sll_ifindex = if_nametoindex(cfg_ifname); in send_packet() 419 error(1, errno, "if_nametoindex %s", cfg_ifname); in send_packet() 538 laddr.sll_ifindex = if_nametoindex(cfg_ifname); in recv_prepare_packet_bind() 540 error(1, 0, "if_nametoindex %s", cfg_ifname); in recv_prepare_packet_bind() 795 cfg_ifname = optarg; in parse_args()
|
D | udpgso.c | 59 static const char cfg_ifname[] = "lo"; variable 308 val = get_device_mtu(fd, cfg_ifname); in set_device_mtu() 311 __set_device_mtu(fd, cfg_ifname, mtu); in set_device_mtu() 312 val = get_device_mtu(fd, cfg_ifname); in set_device_mtu()
|
D | toeplitz.c | 73 static char *cfg_ifname = "eth0"; variable 361 ll.sll_ifindex = if_nametoindex(cfg_ifname); in create_ring() 520 cfg_ifname = optarg; in parse_opts()
|