Lines Matching defs:ifn_index
101 * to a VRF we lookup the ifn/ifn_index, if the ifn does
190 sctp_find_ifn(void *ifn, uint32_t ifn_index)
196 KASSERT(ifn != NULL, ("sctp_find_ifn(NULL, %u) called", ifn_index));
197 hash_ifn_head = &SCTP_BASE_INFO(vrf_ifn_hash)[(ifn_index & SCTP_BASE_INFO(vrf_ifn_hashmark))];
199 if (sctp_ifnp->ifn_index == ifn_index &&
268 if (sctp_find_ifn(sctp_ifnp->ifn_p, sctp_ifnp->ifn_index) == NULL) {
362 sctp_add_addr_to_vrf(uint32_t vrf_id, void *ifn, uint32_t ifn_index,
396 sctp_ifnp = sctp_find_ifn(ifn, ifn_index);
419 sctp_ifnp->ifn_index = ifn_index;
425 sctp_ifnp->ifn_mtu = SCTP_GATHER_MTU_FROM_IFN_INFO(ifn, ifn_index);
431 hash_ifn_head = &SCTP_BASE_INFO(vrf_ifn_hash)[(ifn_index & SCTP_BASE_INFO(vrf_ifn_hashmark))];
441 if (sctp_ifap->ifn_p->ifn_index == ifn_index &&
445 sctp_ifap->ifn_p->ifn_name, ifn_index,
468 sctp_ifap->ifn_p->ifn_index, if_name,
469 ifn_index);
581 sctp_del_addr_from_vrf(vrf_id, addr, ifn, ifn_index);
606 void *ifn, uint32_t ifn_index)
627 if (ifn_index != sctp_ifap->ifn_p->ifn_index ||
630 sctp_ifap->ifn_p->ifn_index,
654 ifn_index);
3844 net->ro._s_addr->ifn_p->ifn_index);