1 *** /sys/netinet/ip_input.c.orig Sat May 24 13:37:16 1997
2 --- /sys/netinet/ip_input.c Sat May 24 13:38:58 1997
7 #include <netinet/ip_fw.h>
9 + #if defined(IPFILTER_LKM) || defined(IPFILTER)
10 + int (*fr_checkp) __P((struct ip *, int, struct ifnet *, int, struct mbuf **));
14 static int ip_rsvp_on;
18 * - Wrap: fake packet's addr/port <unimpl.>
19 * - Encapsulate: put it in another IP and send out. <unimp.>
21 + #if defined(IPFILTER_LKM) || defined(IPFILTER)
23 + struct mbuf *m1 = m;
25 + if ((*fr_checkp)(ip, hlen, m->m_pkthdr.rcvif, 0, &m1) || !m1)
27 + ip = mtod(m = m1, struct ip *);