Lines Matching refs:ifname
56 char ifname[100];
174 pcap_lookupnet(l2->ifname, &pcap_netp, &pcap_maskp, pcap_err);
175 l2->pcap = pcap_open_live(l2->ifname, 2500, 0, 1, pcap_err);
178 fprintf(stderr, "ifname='%s'\n", l2->ifname);
205 const char *ifname, const u8 *own_addr, unsigned short protocol,
216 if (os_strncmp(ifname, "\\Device\\NPF_", 12) == 0)
217 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname));
219 os_snprintf(l2->ifname, sizeof(l2->ifname), "\\Device\\NPF_%s",
220 ifname);
315 if (os_strcmp(dev->name, l2->ifname) != 0)