Home
last modified time | relevance | path

Searched refs:cfg_ifname (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/tools/testing/selftests/net/
Dpsock_snd.c43 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()
Dcsum.c102 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()
Dudpgso.c59 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()
Dtoeplitz.c73 static char *cfg_ifname = "eth0"; variable
361 ll.sll_ifindex = if_nametoindex(cfg_ifname); in create_ring()
520 cfg_ifname = optarg; in parse_opts()