Lines Matching refs:ifname
40 char ifname[100];
111 pcap_lookupnet(l2->ifname, &pcap_netp, &pcap_maskp, pcap_err);
112 l2->pcap = pcap_open_live(l2->ifname, 2500, 0, 10, pcap_err);
115 fprintf(stderr, "ifname='%s'\n", l2->ifname);
152 __func__, l2->ifname, strerror(errno));
203 const char *ifname, const u8 *own_addr, unsigned short protocol,
213 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname));
218 if (eth_get(l2->ifname, l2->own_addr) < 0) {
220 "interface '%s'.\n", l2->ifname);
261 if (os_strcmp(dev->name, l2->ifname) != 0)