3 *** ip6_input.c.orig Sat Jul 15 07:14:34 2000
4 --- ip6_input.c Thu Oct 19 17:14:37 2000
9 extern struct domain inet6domain;
10 extern struct ip6protosw inet6sw[];
11 + extern int (*fr_checkp) __P((struct ip *, int, struct ifnet *, int,
14 u_char ip6_protox[IPPROTO_MAX];
15 static int ip6qmaxlen = IFQ_MAXLEN;
19 ip6stat.ip6s_badvers++;
20 in6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_hdrerr);
25 + struct mbuf *m1 = m;
27 + if ((*fr_checkp)(ip6, sizeof(*ip6), m->m_pkthdr.rcvif,
30 + ip6 = mtod(m = m1, struct ip6_hdr *);
33 ip6stat.ip6s_nxthist[ip6->ip6_nxt]++;
35 *** ip6_output.c.orig Sat Jul 15 07:14:35 2000
36 --- ip6_output.c Thu Oct 19 17:13:53 2000
40 #include <netinet6/ip6_fw.h>
43 + extern int (*fr_checkp) __P((struct ip *, int, struct ifnet *, int, struct mbuf **));
45 static MALLOC_DEFINE(M_IPMOPTS, "ip6_moptions", "internet multicast options");
51 ip6->ip6_src.s6_addr16[1] = 0;
52 if (IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_dst))
53 ip6->ip6_dst.s6_addr16[1] = 0;
57 + struct mbuf *m1 = m;
59 + if ((error = (*fr_checkp)(ip6, sizeof(*ip6), ifp, 1, &m1)) ||
62 + ip6 = mtod(m = m1, struct ip6_hdr *);