Lines Matching defs:ifindex
1443 unsigned int ifindex = 0;
1473 ifp = ip_multicast_if(&mreqs.imr_interface, &ifindex);
1849 unsigned int ifindex;
1910 ifindex = 0;
1912 ifindex = imo->imo_multicast_ifp->if_index;
1916 error = sooptcopyout(sopt, &ifindex, sizeof (ifindex));
1989 unsigned int ifindex = 0;
1998 ifp = ip_multicast_if(&new_ina, &ifindex);
2361 unsigned int ifindex = 0;
2412 ifp = ip_multicast_if(&mreqs.imr_interface, &ifindex);
2589 unsigned int ifindex = 0;
2629 ifp = ip_multicast_if(&addr, &ifindex);
2652 if (ifindex)
2876 unsigned int ifindex;
2929 error = sooptcopyin(sopt, &ifindex, sizeof (ifindex),
2930 sizeof (ifindex));
2944 if (ifindex == 0) {
2953 /* Don't need to check is ifindex is < 0 since it's unsigned */
2954 if ((unsigned int)if_index < ifindex) {
2960 ifp = ifindex2ifnet[ifindex];
3092 * keyed by (ifindex, group).
3110 uint32_t fmode, ifindex;
3121 ifindex = name[0];
3123 if (ifindex <= 0 || ifindex > (u_int)if_index) {
3124 IGMP_PRINTF(("%s: ifindex %u out of range\n",
3125 __func__, ifindex));
3138 ifp = ifindex2ifnet[ifindex];
3141 IGMP_PRINTF(("%s: no ifp for ifindex %u\n", __func__, ifindex));
3203 unsigned int ifindex;
3209 ifindex = ntohl(a->s_addr) & 0xffffff;
3211 /* Don't need to check is ifindex is < 0 since it's unsigned */
3212 if ((unsigned int)if_index < ifindex) {
3216 ifp = ifindex2ifnet[ifindex];
3219 *ifindexp = ifindex;