Return to ip_input.c CVS log | Up to [cvs.NetBSD.org] / src / sys / netinet |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.39, 1996/10/13 02:03:05 | version 1.40, 1996/10/22 11:27:05 | ||
---|---|---|---|
|
|
||
for (pfh = pfil_hook_get(PFIL_IN); pfh; pfh = pfh->pfil_link.le_next) | for (pfh = pfil_hook_get(PFIL_IN); pfh; pfh = pfh->pfil_link.le_next) | ||
if (pfh->pfil_func) { | if (pfh->pfil_func) { | ||
if (pfh->pfil_func(ip, hlen, m->m_pkthdr.rcvif, 0, &m0)) | if (pfh->pfil_func(ip, hlen, m->m_pkthdr.rcvif, 0, &m0)) | ||
goto bad; | goto next; | ||
ip = mtod(m = m0, struct ip *); | else | ||
ip = mtod(m = m0, struct ip *); | |||
} | } | ||
#endif /* PFIL_HOOKS */ | #endif /* PFIL_HOOKS */ | ||