[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 1.22.2.2 and 1.22.2.3

version 1.22.2.2, 2000/08/27 01:25:08 version 1.22.2.3, 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>
   #endif
   
 #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)) {
                           ipsec6stat.in_polvio++;
                           goto bad;
                   }
   #endif
   
                 nxt = (*inet6sw[ip6_protox[nxt]].pr_input)(&m, &off, nxt);                  nxt = (*inet6sw[ip6_protox[nxt]].pr_input)(&m, &off, nxt);
         }          }
         return;          return;

Legend:
Removed from v.1.22.2.2  
changed lines
  Added in v.1.22.2.3

CVSweb <webmaster@jp.NetBSD.org>