Searched refs:cfg_ifname (Results 1 – 3 of 3) sorted by relevance
43 static char *cfg_ifname = "lo"; variable176 laddr.sll_ifindex = if_nametoindex(cfg_ifname); in do_bind()203 laddr.sll_ifindex = if_nametoindex(cfg_ifname); in do_send()
73 static char *cfg_ifname = "eth0"; variable361 ll.sll_ifindex = if_nametoindex(cfg_ifname); in create_ring()520 cfg_ifname = optarg; in parse_opts()
102 static char *cfg_ifname = "eth0"; variable417 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()819 cfg_ifname = optarg; in parse_args()