Print this page
8927 sadb_x_kmc_t's KM cookie should be 64-bits
Reviewed by: Jason King <jason.king@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Yuri Pankov <yuripv@gmx.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/inet/ipsec_impl.h
          +++ new/usr/src/uts/common/inet/ipsec_impl.h
↓ open down ↓ 228 lines elided ↑ open up ↑
 229  229          uint8_t         ipp_auth_alg;            /* DOI number */
 230  230          uint8_t         ipp_encr_alg;            /* DOI number */
 231  231          uint8_t         ipp_esp_auth_alg;        /* DOI number */
 232  232          uint16_t        ipp_ah_minbits;          /* AH: min keylen */
 233  233          uint16_t        ipp_ah_maxbits;          /* AH: max keylen */
 234  234          uint16_t        ipp_espe_minbits;        /* ESP encr: min keylen */
 235  235          uint16_t        ipp_espe_maxbits;        /* ESP encr: max keylen */
 236  236          uint16_t        ipp_espa_minbits;        /* ESP auth: min keylen */
 237  237          uint16_t        ipp_espa_maxbits;        /* ESP auth: max keylen */
 238  238          uint32_t        ipp_km_proto;            /* key mgmt protocol */
 239      -        uint32_t        ipp_km_cookie;           /* key mgmt cookie */
      239 +        uint64_t        ipp_km_cookie;           /* key mgmt cookie */
 240  240          uint32_t        ipp_replay_depth;        /* replay window */
 241  241          /* XXX add lifetimes */
 242  242  } ipsec_prot_t;
 243  243  
 244  244  #define IPSEC_MAX_KEYBITS (0xffff)
 245  245  
 246  246  /*
 247  247   * An individual policy action, possibly a member of a chain.
 248  248   *
 249  249   * Action chains may be shared between multiple policy rules.
↓ open down ↓ 788 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX