3 *** ip6_input.c.orig Sun Feb 13 14:32:01 2000
4 --- ip6_input.c Wed Apr 26 22:31:34 2000
9 extern struct domain inet6domain;
10 extern struct ip6protosw inet6sw[];
11 + extern int (*fr_checkp) __P((struct ip *, int, struct ifnet *, int, struct mbuf **));
13 u_char ip6_protox[IPPROTO_MAX];
14 static int ip6qmaxlen = IFQ_MAXLEN;
18 ip6stat.ip6s_badvers++;
19 in6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_hdrerr);
24 + struct mbuf *m1 = m;
26 + if ((*fr_checkp)(ip6, sizeof(*ip6), m->m_pkthdr.rcvif,
29 + ip6 = mtod(m = m1, struct ip6_hdr *);
32 ip6stat.ip6s_nxthist[ip6->ip6_nxt]++;
33 *** ip6_output.c.orig Fri Mar 10 01:57:16 2000
34 --- ip6_output.c Wed Apr 26 22:34:34 2000
38 #include <netinet6/ip6_fw.h>
41 + extern int (*fr_checkp) __P((struct ip *, int, struct ifnet *, int, struct mbuf **));
43 static MALLOC_DEFINE(M_IPMOPTS, "ip6_moptions", "internet multicast options");
49 ip6->ip6_src.s6_addr16[1] = 0;
50 if (IN6_IS_SCOPE_LINKLOCAL(&ip6->ip6_dst))
51 ip6->ip6_dst.s6_addr16[1] = 0;
55 + struct mbuf *m1 = m;
57 + if ((error = (*fr_checkp)(ip6, sizeof(*ip6), ifp, 1, &m1)) ||
60 + ip6 = mtod(m = m1, struct ip6_hdr *);