Home | History | Annotate | Download | only in src

Lines Matching defs:ifr

644       struct ifreq ifr;
686 if (!indextoname(listen->fd, if_index, ifr.ifr_name) ||
687 !iface_check(listen->family, &dst_addr, ifr.ifr_name, &if_index))
692 ioctl(listen->fd, SIOCGIFNETMASK, &ifr) == -1)
695 netmask = ((struct sockaddr_in *) &ifr.ifr_addr)->sin_addr;