Lines Matching refs:ifname
50 char ifname[100];
168 pcap_lookupnet(l2->ifname, &pcap_netp, &pcap_maskp, pcap_err);
169 l2->pcap = pcap_open_live(l2->ifname, 2500, 0, 1, pcap_err);
172 fprintf(stderr, "ifname='%s'\n", l2->ifname);
199 const char *ifname, const u8 *own_addr, unsigned short protocol,
210 if (os_strncmp(ifname, "\\Device\\NPF_", 12) == 0)
211 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname));
213 os_snprintf(l2->ifname, sizeof(l2->ifname), "\\Device\\NPF_%s",
214 ifname);
309 if (os_strcmp(dev->name, l2->ifname) != 0)