X-Git-Url: https://git.saurik.com/apple/ipsec.git/blobdiff_plain/5122e997b817982e567ac8959bcb3aa7a6dd5cf7..d1e348cfd503b08e7d34b7683d23aae209af0a71:/ipsec-tools/racoon/isakmp.h diff --git a/ipsec-tools/racoon/isakmp.h b/ipsec-tools/racoon/isakmp.h index 06ee511..8a3936e 100644 --- a/ipsec-tools/racoon/isakmp.h +++ b/ipsec-tools/racoon/isakmp.h @@ -348,6 +348,8 @@ struct isakmp_pl_n { #define ISAKMP_NTYPE_CERTIFICATE_UNAVAILABLE 28 #define ISAKMP_NTYPE_UNSUPPORTED_EXCHANGE_TYPE 29 #define ISAKMP_NTYPE_UNEQUAL_PAYLOAD_LENGTHS 30 +#define ISAKMP_NTYPE_MINERROR 1 +#define ISAKMP_NTYPE_MAXERROR 16383 /* NOTIFY MESSAGES - STATUS TYPES */ #define ISAKMP_NTYPE_CONNECTED 16384 /* 4.6.3 IPSEC DOI Notify Message Types */ @@ -362,6 +364,7 @@ struct isakmp_pl_n { #define ISAKMP_NTYPE_LOAD_BALANCE 40501 #define ISAKMP_NTYPE_HEARTBEAT 40503 + /* using only to log */ #define ISAKMP_LOG_RETRY_LIMIT_REACHED 65530 @@ -444,4 +447,15 @@ struct isakmp_pl_lb { u_int32_t address; /* redirect address */ } __attribute__((__packed__)); +/* Responder-Lifetime Notification */ +struct isakmp_pl_resp_lifetime { + struct isakmp_gen h; + u_int32_t doi; /* Domain of Interpretation */ + u_int8_t proto_id; /* Protocol-Id */ + u_int8_t spi_size; /* SPI Size */ + u_int16_t type; /* Notify type */ + /* spi follows next */ + /* data follows next */ +} __attribute__((__packed__)); + #endif /* _ISAKMP_H */