Home | History | Annotate | Download | only in libpcap

Lines Matching full:ifindex

303 	int	ifindex;	/* interface index of device we're bound to */
417 static int iface_bind(int fd, int ifindex, char *ebuf);
672 int ifindex;
676 ifindex = iface_get_id(sock_fd, device, handle->errbuf);
677 if (ifindex == -1)
689 NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX, ifindex);
768 int ifindex;
772 ifindex = iface_get_id(sock_fd, mondevice, handle->errbuf);
773 if (ifindex == -1)
785 NLA_PUT_U32(msg, NL80211_ATTR_IFINDEX, ifindex);
1683 if (handlep->ifindex != -1 &&
1684 from.sll_ifindex != handlep->ifindex)
1893 if (handlep->ifindex == -1) {
2229 * Is there an "ifindex" file under that name?
2236 "/sys/class/net/%s/ifindex", ent->d_name);
2245 * "ifindex" file, which means it's not a
3338 handlep->ifindex = iface_get_id(sock_fd, device,
3340 if (handlep->ifindex == -1) {
3345 if ((err = iface_bind(sock_fd, handlep->ifindex,
3378 handlep->ifindex = -1;
3405 mr.mr_ifindex = handlep->ifindex;
5053 iface_bind(int fd, int ifindex, char *ebuf)
5061 sll.sll_ifindex = ifindex;