| version 1.100, 2000/02/16 12:40:40 |
version 1.101, 2000/02/17 10:59:35 |
| Line 194 int ipprintfs = 0; |
|
| Line 194 int ipprintfs = 0; |
|
| struct rttimer_queue *ip_mtudisc_timeout_q = NULL; |
struct rttimer_queue *ip_mtudisc_timeout_q = NULL; |
| |
|
| extern struct domain inetdomain; |
extern struct domain inetdomain; |
| extern struct protosw inetsw[]; |
|
| u_char ip_protox[IPPROTO_MAX]; |
|
| int ipqmaxlen = IFQ_MAXLEN; |
int ipqmaxlen = IFQ_MAXLEN; |
| struct in_ifaddrhead in_ifaddr; |
struct in_ifaddrhead in_ifaddr; |
| struct in_ifaddrhashhead *in_ifaddrhashtbl; |
struct in_ifaddrhashhead *in_ifaddrhashtbl; |
| Line 466 ip_input(struct mbuf *m) |
|
| Line 464 ip_input(struct mbuf *m) |
|
| * in the list may have previously cleared it. |
* in the list may have previously cleared it. |
| */ |
*/ |
| m0 = m; |
m0 = m; |
| for (pfh = pfil_hook_get(PFIL_IN); pfh; pfh = pfh->pfil_link.tqe_next) |
pfh = pfil_hook_get(PFIL_IN, &inetsw[ip_protox[IPPROTO_IP]]); |
| |
for (; pfh; pfh = pfh->pfil_link.tqe_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); |
| if (rv) |
if (rv) |
| return; |
return; |
| m = m0; |
m = m0; |