Lines Matching refs:ifname
44 char ifname[100];
115 pcap_lookupnet(l2->ifname, &pcap_netp, &pcap_maskp, pcap_err);
116 l2->pcap = pcap_open_live(l2->ifname, 2500, 0, 10, pcap_err);
119 fprintf(stderr, "ifname='%s'\n", l2->ifname);
157 __func__, l2->ifname, strerror(errno));
234 const char *ifname, const u8 *own_addr, unsigned short protocol,
244 os_strlcpy(l2->ifname, ifname, sizeof(l2->ifname));
249 if (eth_get(l2->ifname, l2->own_addr) < 0) {
251 "interface '%s'.\n", l2->ifname);
292 if (os_strcmp(dev->name, l2->ifname) != 0)