Searched refs:ipi_ifindex (Results 1 - 3 of 3) sorted by relevance

/darwin-on-arm/xnu/bsd/netinet/
H A Din.h634 * set on the socket. In this case ipi_ifindex will contain the interface
639 * if ipi_ifindex is set to non-zero when in_pktinfo is passed as
641 * interface to send the datagram from. If ipi_ifindex is null, ip_spec_dst
644 * Note: if IP_BOUND_IF is set on the socket, ipi_ifindex in the ancillary
649 unsigned int ipi_ifindex; /* send/recv interface index */ member in struct:in_pktinfo
H A Dudp_usrreq.c1261 if (pktinfo->ipi_ifindex > if_index) {
1266 /* If ipi_ifindex is specified it takes precedence over ipi_spec_dst */
1268 if (pktinfo->ipi_ifindex) {
1269 ifp = ifindex2ifnet[pktinfo->ipi_ifindex];
H A Dip_input.c2791 pi.ipi_ifindex = (m && m->m_pkthdr.rcvif) ? m->m_pkthdr.rcvif->if_index : 0;

Completed in 31 milliseconds