[BACK]Return to udp_usrreq.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/udp_usrreq.c between version 1.146 and 1.146.4.1

version 1.146, 2006/01/21 00:15:36 version 1.146.4.1, 2006/04/22 11:40:11
Line 95  __KERNEL_RCSID(0, "$NetBSD$");
Line 95  __KERNEL_RCSID(0, "$NetBSD$");
 #include <netinet/udp.h>  #include <netinet/udp.h>
 #include <netinet/udp_var.h>  #include <netinet/udp_var.h>
   
 #ifdef IPSEC_NAT_T  
 #include <netinet6/ipsec.h>  
 #include <netinet6/esp.h>  
 #endif  
   
 #ifdef INET6  #ifdef INET6
 #include <netinet/ip6.h>  #include <netinet/ip6.h>
 #include <netinet/icmp6.h>  #include <netinet/icmp6.h>
Line 124  __KERNEL_RCSID(0, "$NetBSD$");
Line 119  __KERNEL_RCSID(0, "$NetBSD$");
 #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>                 /* XXX ipsecstat namespace */
   #include <netipsec/esp.h>
 #ifdef INET6  #ifdef INET6
 #include <netipsec/ipsec6.h>  #include <netipsec/ipsec6.h>
 #endif  #endif
Line 131  __KERNEL_RCSID(0, "$NetBSD$");
Line 127  __KERNEL_RCSID(0, "$NetBSD$");
   
 #ifdef IPSEC  #ifdef IPSEC
 #include <netinet6/ipsec.h>  #include <netinet6/ipsec.h>
   #include <netinet6/esp.h>
 #include <netkey/key.h>  #include <netkey/key.h>
 #endif /*IPSEC*/  #endif /*IPSEC*/
   
Line 1549  udp4_espinudp(mp, off, src, so)
Line 1546  udp4_espinudp(mp, off, src, so)
         ((u_int16_t *)(tag + 1))[1] = dport;          ((u_int16_t *)(tag + 1))[1] = dport;
         m_tag_prepend(n, tag);          m_tag_prepend(n, tag);
   
   #ifdef FAST_IPSEC
           ipsec4_common_input(n, iphdrlen);
   #else
         esp4_input(n, iphdrlen);          esp4_input(n, iphdrlen);
   #endif
   
         /* We handled it, it shoudln't be handled by UDP */          /* We handled it, it shoudln't be handled by UDP */
         return 1;          return 1;

Legend:
Removed from v.1.146  
changed lines
  Added in v.1.146.4.1

CVSweb <webmaster@jp.NetBSD.org>