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

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

Diff for /src/sys/netinet/raw_ip.c between version 1.105 and 1.106

version 1.105, 2008/04/12 05:58:22 version 1.106, 2008/04/23 06:09:04
Line 97  __KERNEL_RCSID(0, "$NetBSD$");
Line 97  __KERNEL_RCSID(0, "$NetBSD$");
   
 #ifdef IPSEC  #ifdef IPSEC
 #include <netinet6/ipsec.h>  #include <netinet6/ipsec.h>
 #endif /*IPSEC*/  #include <netinet6/ipsec_private.h>
   #endif /* IPSEC */
   
 #ifdef FAST_IPSEC  #ifdef FAST_IPSEC
 #include <netipsec/ipsec.h>  #include <netipsec/ipsec.h>
 #include <netipsec/ipsec_var.h>                 /* XXX ipsecstat namespace */  #include <netipsec/ipsec_var.h>
 #endif  /* FAST_IPSEC*/  #include <netipsec/ipsec_private.h>
   #endif  /* FAST_IPSEC */
   
 struct inpcbtable rawcbtable;  struct inpcbtable rawcbtable;
   
Line 200  rip_input(struct mbuf *m, ...)
Line 202  rip_input(struct mbuf *m, ...)
 #if defined(IPSEC) || defined(FAST_IPSEC)  #if defined(IPSEC) || defined(FAST_IPSEC)
                 /* check AH/ESP integrity. */                  /* check AH/ESP integrity. */
                 else if (ipsec4_in_reject_so(m, last->inp_socket)) {                  else if (ipsec4_in_reject_so(m, last->inp_socket)) {
                         ipsecstat.in_polvio++;                          IPSEC_STATINC(IPSEC_STAT_IN_POLVIO);
                         /* do not inject data to pcb */                          /* do not inject data to pcb */
                 }                  }
 #endif /*IPSEC*/  #endif /*IPSEC*/
Line 215  rip_input(struct mbuf *m, ...)
Line 217  rip_input(struct mbuf *m, ...)
         /* check AH/ESP integrity. */          /* check AH/ESP integrity. */
         if (last != NULL && ipsec4_in_reject_so(m, last->inp_socket)) {          if (last != NULL && ipsec4_in_reject_so(m, last->inp_socket)) {
                 m_freem(m);                  m_freem(m);
                 ipsecstat.in_polvio++;                  IPSEC_STATINC(IPSEC_STAT_IN_POLVIO);
                 IP_STATDEC(IP_STAT_DELIVERED);                  IP_STATDEC(IP_STAT_DELIVERED);
                 /* do not inject data to pcb */                  /* do not inject data to pcb */
         } else          } else

Legend:
Removed from v.1.105  
changed lines
  Added in v.1.106

CVSweb <webmaster@jp.NetBSD.org>