Lines Matching refs:if_proto_hash
140 * List of if_proto structures in if_proto_hash[] is protected by
627 if (ifp->if_proto_hash != NULL)
628 proto = SLIST_FIRST(&ifp->if_proto_hash[i]);
771 if (ifp->if_proto_hash == NULL)
776 SLIST_FOREACH(proto, &ifp->if_proto_hash[i], next_hash) {
3023 if (ifp->if_proto_hash != NULL) {
3029 SLIST_FOREACH(proto, &ifp->if_proto_hash[i],
3982 prev_proto = SLIST_FIRST(&ifp->if_proto_hash[hash_value]);
3988 SLIST_INSERT_HEAD(&ifp->if_proto_hash[hash_value],
4144 SLIST_REMOVE(&ifp->if_proto_hash[proto_hash_value(proto_family)],
4317 VERIFY(ifp->if_proto_hash == NULL);
4318 ifp->if_proto_hash = zalloc(dlif_phash_zone);
4319 if (ifp->if_proto_hash == NULL) {
4325 bzero(ifp->if_proto_hash, dlif_phash_size);
4983 proto = SLIST_FIRST(&ifp->if_proto_hash[i]);
4989 proto = SLIST_FIRST(&ifp->if_proto_hash[i]);
4992 VERIFY(SLIST_EMPTY(&ifp->if_proto_hash[i]));
4994 zfree(dlif_phash_zone, ifp->if_proto_hash);
4995 ifp->if_proto_hash = NULL;
5462 * if_proto_hash[0-3] are for PF_INET, PF_INET6, PF_APPLETALK
5466 * if_proto_hash[4] is for other protocols; we expect anything