Lines Matching refs:if_index
583 int if_index = 0;
655 if_index = ((struct in_pktinfo *)CMSG_DATA(cmptr))->ipi_ifindex;
665 if_index = *((unsigned int *)CMSG_DATA(cmptr));
667 if_index = ((struct sockaddr_dl *)CMSG_DATA(cmptr))->sdl_index;
679 if_index =((struct in6_pktinfo *)CMSG_DATA(cmptr))->ipi6_ifindex;
686 if (!indextoname(listen->fd, if_index, ifr.ifr_name) ||
687 !iface_check(listen->family, &dst_addr, ifr.ifr_name, &if_index))
719 m, &source_addr, &dst_addr, if_index);
722 else if (forward_query(listen->fd, &source_addr, &dst_addr, if_index,