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.

Split Close
Expand all
Collapse all
          --- old/iked/ike_pfkey.h
          +++ new/iked/ike_pfkey.h
↓ open down ↓ 74 lines elided ↑ open up ↑
  75   75   *
  76   76   */
  77   77  
  78   78  struct sadb_request_method {
  79   79          int (*getspi) ();
  80   80          int (*acquire_error) ();
  81   81          int (*update_inbound) ();
  82   82          int (*add_outbound) ();
  83   83          int (*delete_sa) ();
  84   84          int (*get) ();
       85 +#ifdef sun
       86 +        int (*inverse_acquire)();
       87 +#endif /* sun/OpenSolaris */
  85   88  };
  86   89  
  87   90  struct sadb_response_method {
  88   91          int (*getspi_response)();
  89   92          int (*update_response)();
  90   93          int (*expired)();
  91   94          int (*get_response)();
  92   95  };
  93   96  
  94   97  #define SADB_LIST_HEAD(nam_, typ_)      TAILQ_HEAD(nam_, typ_)
↓ open down ↓ 32 lines elided ↑ open up ↑
 127  130  #endif
 128  131  extern int sadb_socket(void);
 129  132  extern uint32_t sadb_new_seq(void);
 130  133  extern void sadb_poll(void);
 131  134  extern void sadb_request_initialize(struct sadb_request *,
 132  135                                      struct sadb_request_method *,
 133  136                                      struct sadb_response_method *,
 134  137                                      uint32_t,
 135  138                                      void *);
 136  139  extern void sadb_request_finish(struct sadb_request *);
      140 +#ifdef sun
      141 +#ifndef _INVACQ_T
      142 +#define _INVACQ_T /* Guard against double-include. */
      143 +typedef struct invacq_s {
      144 +        /* IKEv1 data */
      145 +        struct ph2handle *iph2;                 /* Referenced */
      146 +
      147 +        /* IKEv2 data */
      148 +        struct ikev2_sa *ikev2_sa;              /* Referenced */
      149 +        struct sockaddr *local;                 /* Alloced/copied */
      150 +        struct sockaddr *remote;                /* Alloced/copied */
      151 +        struct ikev2_payload_header *sa_payload;/* Alloced/copied */
      152 +        struct ikev2_payload_header *ts_i;      /* Alloced/copied */
      153 +        struct ikev2_payload_header *ts_r;      /* Alloced/copied */
      154 +        struct ikev2_payload_header *cfg;       /* Alloced/copied */
      155 +        rc_vchar_t *g_i;                        /* Alloced/copied */
      156 +        rc_vchar_t *n_i;                        /* Alloced/copied */
      157 +        struct ikev2_child_param *child_param;  /* Alloced/copied */
      158 +        struct ikev2_child_sa *old_child_sa;    /* Referenced. */
      159 +        uint32_t message_id;                    /* Copied */
      160 +        boolean_t is_createchild;               /* Copied */
      161 +        rc_vchar_t *packet;
      162 +
      163 +        /* inverse-ACQUIRE data. */
      164 +        struct rcpfk_msg *answer;
      165 +        int (*receiver)(struct invacq_s *);
      166 +        struct sadb_request request;
      167 +} invacq_t;
      168 +#endif
      169 +extern int extract_extended_acquire(struct rcpfk_msg *, struct rcf_selector **,
      170 +    struct rcf_remote **);
      171 +#endif
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX