Searched refs:ifindex (Results 1 - 15 of 15) sorted by relevance

/darwin-on-arm/xnu/bsd/net/
H A Dntstat.h82 u_int32_t ifindex; member in struct:nstat_route_add_param
113 u_int32_t ifindex; member in struct:nstat_tcp_descriptor
147 u_int32_t ifindex; member in struct:nstat_udp_descriptor
185 u_int32_t ifindex; member in struct:nstat_route_descriptor
H A Dif_llreach.c625 uint32_t ifindex; variable
639 ifindex = name[0];
641 if (ifindex <= 0 || ifindex > (u_int)if_index) {
642 printf("%s: ifindex %u out of range\n", __func__, ifindex);
647 ifp = ifindex2ifnet[ifindex];
650 printf("%s: no ifp for ifindex %u\n", __func__, ifindex);
H A Dntstat.c330 struct rtentry *rt = rt_lookup(TRUE, dst.sa, mask.sa, rnh, param->ifindex);
520 desc->ifindex = rt->rt_ifp->if_index;
1022 desc->ifindex = (inp->inp_last_outifp == NULL) ? 0 :
1219 desc->ifindex = (inp->inp_last_outifp == NULL) ? 0 :
H A Droute.c3336 unsigned int ifindex; local
3357 ifindex = rt->rt_ifp->if_index;
3364 (size_t)net_dest, 1, 0, ifindex);
3367 ifindex = rt->rt_ifp->if_index;
3411 gwrt = rtalloc1_scoped_locked(gw, 1, 0, ifindex);
H A Dkpi_interface.c2155 extern void udp_get_ports_used(unsigned int ifindex, uint8_t *bitfield);
2156 extern void tcp_get_ports_used(unsigned int ifindex, uint8_t *bitfield);
H A Ddlil.c427 extern uint32_t udp_count_opportunistic(unsigned int ifindex,
429 extern uint32_t tcp_count_opportunistic(unsigned int ifindex,
/darwin-on-arm/xnu/bsd/netinet/
H A Din_mcast.c1443 unsigned int ifindex = 0; local
1473 ifp = ip_multicast_if(&mreqs.imr_interface, &ifindex);
1849 unsigned int ifindex; local
1910 ifindex = 0;
1912 ifindex = imo->imo_multicast_ifp->if_index;
1916 error = sooptcopyout(sopt, &ifindex, sizeof (ifindex));
1989 unsigned int ifindex = 0; local
1998 ifp = ip_multicast_if(&new_ina, &ifindex);
2361 unsigned int ifindex local
2589 unsigned int ifindex = 0; local
2876 unsigned int ifindex; local
3110 uint32_t fmode, ifindex; variable
3203 unsigned int ifindex; local
[all...]
H A Din_pcblist.c388 inpcb_get_ports_used(unsigned int ifindex, uint8_t *bitfield, struct inpcbinfo *pcbinfo) argument
396 (ifindex == 0 || inp->inp_last_outifp == NULL || ifindex == inp->inp_last_outifp->if_index)) {
406 inpcb_count_opportunistic(unsigned int ifindex, struct inpcbinfo *pcbinfo, argument
422 ifindex == inp->inp_last_outifp->if_index) {
H A Dudp_usrreq.c1203 udp_get_ports_used(unsigned int ifindex, uint8_t *bitfield) argument
1205 inpcb_get_ports_used(ifindex, bitfield, &udbinfo);
1209 udp_count_opportunistic(unsigned int ifindex, u_int32_t flags) argument
1211 return inpcb_count_opportunistic(ifindex, &udbinfo, flags);
1258 /* Check for a valid ifindex in pktinfo */
1360 * If socket was bound to an ifindex, tell ip_output about it.
H A Dtcp_subr.c1694 tcp_get_ports_used(unsigned int ifindex, uint8_t *bitfield) argument
1696 inpcb_get_ports_used(ifindex, bitfield, &tcbinfo);
1700 tcp_count_opportunistic(unsigned int ifindex, u_int32_t flags) argument
1702 return inpcb_count_opportunistic(ifindex, &tcbinfo, flags);
H A Dtcp_var.h1056 uint32_t tcp_count_opportunistic(unsigned int ifindex, u_int32_t flags);
/darwin-on-arm/xnu/bsd/netinet6/
H A Din6_mcast.c1893 * Since ipv6_mreq contains an ifindex and ip_mreq contains an AF_INET
2286 uint32_t ifindex = 0; local
2341 ifindex = mreq.ipv6mr_interface;
2382 ifindex = gsr.gsr_interface;
2402 if (ifindex != 0) {
2404 if ((u_int)if_index < ifindex) {
2408 ifp = ifindex2ifnet[ifindex];
2418 * Some badly behaved applications don't pass an ifindex
2427 ifindex = ntohs(gsa->sin6.sin6_addr.s6_addr16[1]);
2428 if (ifindex
2565 u_int ifindex; local
2947 uint32_t fmode, ifindex; variable
[all...]
H A Dnd6.h425 u_long ifindex; member in struct:in6_ndifreq
434 u_int32_t ifindex; member in struct:in6_ndifreq_32
439 u_long ifindex __attribute__((aligned(8))); member in struct:in6_ndifreq_64
H A Dnd6_rtr.c951 unsigned int ifindex; local
972 ifindex = i;
982 ifindex = i;
985 /* Don't need to check is ifindex is < 0 since it's unsigned */
986 if (if_index < ifindex ||
987 (dr_ifp = ifindex2ifnet[ifindex]) == NULL) {
4192 int ifindex)
4200 if (ifindex < 0 || if_index < ifindex) {
4204 def_ifp = ifindex2ifnet[ifindex];
4191 nd6_setdefaultiface( int ifindex) argument
[all...]
H A Dnd6.c2615 bcopy(&j, &ndif_64->ifindex, sizeof (j));
2617 bcopy(&nd6_defifindex, &ndif_32->ifindex,
2633 bcopy(&ndif_64->ifindex, &j, sizeof (j));
2636 bcopy(&ndif_32->ifindex, &idx, sizeof (idx));

Completed in 131 milliseconds