Print this page
Current snapshot of OpenSolaris port.
Checkpoint
Checkpoint
Merge from parent.
Merge with WIDE update.
Pull from WIDE.
Pull from WIDE.
Checkpoint
Re-update.
blah
WIDE update
Update from WIDE.


 215 #define PHASE2ST_GETSPISENT     3
 216 #define PHASE2ST_GETSPIDONE     4
 217 #define PHASE2ST_MSG1SENT       5
 218 #define PHASE2ST_STATUS6        6
 219 #define PHASE2ST_COMMIT         7
 220 #define PHASE2ST_ADDSA          8
 221 #define PHASE2ST_ESTABLISHED    9
 222 #define PHASE2ST_EXPIRED        10
 223 #define PHASE2ST_MAX            11
 224 
 225 struct ph2handle {
 226         struct sockaddr *src;   /* my address of SA. */
 227         struct sockaddr *dst;   /* peer's address of SA. */
 228 
 229         /*
 230          * copy ip address from ID payloads when ID type is ip address.
 231          * In other case, they must be null.
 232          */
 233         struct sockaddr *src_id;
 234         struct sockaddr *dst_id;




 235 

 236         struct sadb_request sadb_request;
 237 #if 0
 238         uint32_t spid;          /* policy id by kernel */
 239 #endif
 240         struct rcf_selector *selector;
 241 
 242         int status;             /* ipsec sa status */
 243         uint8_t side;           /* INITIATOR or RESPONDER */
 244 
 245         struct sched *sce;      /* schedule for expire */
 246         struct sched *scr;      /* schedule for resend */
 247         int retry_counter;      /* for resend. */
 248         rc_vchar_t *sendbuf;    /* buffer for re-sending */
 249         rc_vchar_t *msg1;       /* buffer for re-sending */
 250         /* used for responder's first message */
 251 
 252         int retry_checkph1;     /* counter to wait phase 1 finished. */
 253         /* NOTE: actually it's timer. */
 254 
 255         uint32_t seq;           /* sequence number used by PF_KEY */




 215 #define PHASE2ST_GETSPISENT     3
 216 #define PHASE2ST_GETSPIDONE     4
 217 #define PHASE2ST_MSG1SENT       5
 218 #define PHASE2ST_STATUS6        6
 219 #define PHASE2ST_COMMIT         7
 220 #define PHASE2ST_ADDSA          8
 221 #define PHASE2ST_ESTABLISHED    9
 222 #define PHASE2ST_EXPIRED        10
 223 #define PHASE2ST_MAX            11
 224 
 225 struct ph2handle {
 226         struct sockaddr *src;   /* my address of SA. */
 227         struct sockaddr *dst;   /* peer's address of SA. */
 228 
 229         /*
 230          * copy ip address from ID payloads when ID type is ip address.
 231          * In other case, they must be null.
 232          */
 233         struct sockaddr *src_id;
 234         struct sockaddr *dst_id;
 235 #ifdef ENABLE_NATT
 236         struct sockaddr *natoa_src;     /* peer's view of my address */
 237         struct sockaddr *natoa_dst;     /* peer's view of his address */
 238 #endif
 239 
 240 
 241         struct sadb_request sadb_request;
 242 #if 0
 243         uint32_t spid;          /* policy id by kernel */
 244 #endif
 245         struct rcf_selector *selector;
 246 
 247         int status;             /* ipsec sa status */
 248         uint8_t side;           /* INITIATOR or RESPONDER */
 249 
 250         struct sched *sce;      /* schedule for expire */
 251         struct sched *scr;      /* schedule for resend */
 252         int retry_counter;      /* for resend. */
 253         rc_vchar_t *sendbuf;    /* buffer for re-sending */
 254         rc_vchar_t *msg1;       /* buffer for re-sending */
 255         /* used for responder's first message */
 256 
 257         int retry_checkph1;     /* counter to wait phase 1 finished. */
 258         /* NOTE: actually it's timer. */
 259 
 260         uint32_t seq;           /* sequence number used by PF_KEY */