Lines Matching refs:if_proto_hash
337 if (ifp->if_proto_hash) {
338 proto = SLIST_FIRST(&ifp->if_proto_hash[i]);
440 if (ifp->if_proto_hash != NULL) {
443 SLIST_FOREACH(proto, &ifp->if_proto_hash[i], next_hash) {
1145 if (ifp->if_proto_hash) {
1151 SLIST_FOREACH(proto, &ifp->if_proto_hash[i], next_hash) {
2057 struct if_proto* prev_proto = SLIST_FIRST(&ifp->if_proto_hash[hash_value]);
2063 SLIST_INSERT_HEAD(&ifp->if_proto_hash[hash_value], proto, next_hash);
2238 SLIST_REMOVE(&ifp->if_proto_hash[proto_hash_value(proto_family)], proto, if_proto, next_hash);
2315 struct if_proto **prev_nextptr = &SLIST_FIRST(&ifp->if_proto_hash[i]);
2453 if ((ifp->if_eflags & IFEF_REUSE) == 0 || ifp->if_proto_hash == NULL) {
2470 ifp->if_proto_hash = new_proto_list;
2865 * if_proto_hash[0-3] are for PF_INET, PF_INET6, PF_APPLETALK
2869 * if_proto_hash[4] is for other protocols; we expect anything