[BACK]Return to ip6_input.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / netinet6

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/netinet6/ip6_input.c between version and

version, 2000/08/27 01:25:08 version, 2001/03/11 21:12:36
Line 111 
Line 111 
 #include <netinet6/ip6_fw.h>  #include <netinet6/ip6_fw.h>
 #endif  #endif
   #ifdef IPSEC
   #include <netinet6/ipsec.h>
 #include <netinet6/ip6protosw.h>  #include <netinet6/ip6protosw.h>
 /* we need it for NLOOP. */  /* we need it for NLOOP. */
Line 695  ip6_input(m)
Line 699  ip6_input(m)
                         goto bad;                          goto bad;
                 }                  }
   #ifdef IPSEC
                    * enforce IPsec policy checking if we are seeing last header.
                    * note that we do not visit this with protocols with pcb layer
                    * code - like udp/tcp/raw ip.
                   if ((inet6sw[ip6_protox[nxt]].pr_flags & PR_LASTHDR) != 0 &&
                       ipsec6_in_reject(m, NULL)) {
                           goto bad;
                 nxt = (*inet6sw[ip6_protox[nxt]].pr_input)(&m, &off, nxt);                  nxt = (*inet6sw[ip6_protox[nxt]].pr_input)(&m, &off, nxt);
         }          }
         return;          return;

Removed from v.  
changed lines
  Added in v.

CVSweb <webmaster@jp.NetBSD.org>