|
|
| Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
| version 1.48, 1997/02/26 04:09:32 | version 1.49, 1997/04/15 00:41:52 | ||
|---|---|---|---|
|
|
||
| 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) { | ||
| rv = pfh->pfil_func(ip, hlen, m->m_pkthdr.rcvif, 0, &m0); | rv = pfh->pfil_func(ip, hlen, m->m_pkthdr.rcvif, 0, &m0); | ||
| ip = mtod(m = m0, struct ip *); | |||
| if (rv) | if (rv) | ||
| goto next; | goto next; | ||
| ip = mtod(m = m0, struct ip *); | |||
| } | } | ||
| #endif /* PFIL_HOOKS */ | #endif /* PFIL_HOOKS */ | ||