[BACK]Return to pfkeyv2.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / net

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

Diff for /src/sys/net/pfkeyv2.h between version 1.18 and 1.19

version 1.18, 2005/01/14 04:11:55 version 1.19, 2005/02/12 12:31:07
Line 75  you leave this credit intact on any copi
Line 75  you leave this credit intact on any copi
 #define SADB_X_SPDSETIDX  20  #define SADB_X_SPDSETIDX  20
 #define SADB_X_SPDEXPIRE  21    /* not yet */  #define SADB_X_SPDEXPIRE  21    /* not yet */
 #define SADB_X_SPDDELETE2 22    /* by policy id */  #define SADB_X_SPDDELETE2 22    /* by policy id */
 #define SADB_MAX          22  #define SADB_X_NAT_T_NEW_MAPPING 23
   #define SADB_MAX          23
   
 struct sadb_msg {  struct sadb_msg {
   u_int8_t sadb_msg_version;    u_int8_t sadb_msg_version;
Line 255  struct sadb_x_ipsecrequest {
Line 256  struct sadb_x_ipsecrequest {
    */     */
 };  };
   
   /* NAT traversal type, see draft-ietf-ipsec-udp-encaps-06 */
   /* sizeof(struct sadb_x_nat_t_type) == 8 */
   struct sadb_x_nat_t_type {
     u_int16_t sadb_x_nat_t_type_len;
     u_int16_t sadb_x_nat_t_type_exttype;
     u_int8_t sadb_x_nat_t_type_type;
     u_int8_t sadb_x_nat_t_type_reserved[3];
   };
   
   /* NAT traversal source or destination port */
   /* sizeof(struct sadb_x_nat_t_port) == 8 */
   struct sadb_x_nat_t_port {
     u_int16_t sadb_x_nat_t_port_len;
     u_int16_t sadb_x_nat_t_port_exttype;
     u_int16_t sadb_x_nat_t_port_port;
     u_int16_t sadb_x_nat_t_port_reserved;
   };
   
   /* ESP fragmentation size */
   /* sizeof(struct sadb_x_nat_t_frag) == 8 */
   struct sadb_x_nat_t_frag {
     u_int16_t sadb_x_nat_t_frag_len;
     u_int16_t sadb_x_nat_t_frag_exttype;
     u_int16_t sadb_x_nat_t_frag_fraglen;
     u_int16_t sadb_x_nat_t_frag_reserved;
   };
   
   
 #define SADB_EXT_RESERVED             0  #define SADB_EXT_RESERVED             0
 #define SADB_EXT_SA                   1  #define SADB_EXT_SA                   1
 #define SADB_EXT_LIFETIME_CURRENT     2  #define SADB_EXT_LIFETIME_CURRENT     2
Line 275  struct sadb_x_ipsecrequest {
Line 304  struct sadb_x_ipsecrequest {
 #define SADB_X_EXT_KMPRIVATE          17  #define SADB_X_EXT_KMPRIVATE          17
 #define SADB_X_EXT_POLICY             18  #define SADB_X_EXT_POLICY             18
 #define SADB_X_EXT_SA2                19  #define SADB_X_EXT_SA2                19
 #define SADB_EXT_MAX                  19  #define SADB_X_EXT_NAT_T_TYPE         20
   #define SADB_X_EXT_NAT_T_SPORT        21
   #define SADB_X_EXT_NAT_T_DPORT        22
   #define SADB_X_EXT_NAT_T_OA           23
   #define SADB_X_EXT_NAT_T_FRAG         24
   #define SADB_EXT_MAX                  24
   
 #define SADB_SATYPE_UNSPEC      0  #define SADB_SATYPE_UNSPEC      0
 #define SADB_SATYPE_AH          2  #define SADB_SATYPE_AH          2

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

CVSweb <webmaster@jp.NetBSD.org>