show kind of notify contained in messages in log
[strongswan.git] / src / charon / encoding / payloads / notify_payload.c
index d700965..e27d3c6 100644 (file)
@@ -81,6 +81,59 @@ ENUM_NEXT(notify_type_names, EAP_ONLY_AUTHENTICATION, EAP_ONLY_AUTHENTICATION, A
        "EAP_ONLY_AUTHENTICATION");
 ENUM_END(notify_type_names, EAP_ONLY_AUTHENTICATION);
 
+
+ENUM_BEGIN(notify_type_short_names, UNSUPPORTED_CRITICAL_PAYLOAD, UNSUPPORTED_CRITICAL_PAYLOAD,
+       "CRIT");
+ENUM_NEXT(notify_type_short_names, INVALID_IKE_SPI, INVALID_MAJOR_VERSION, UNSUPPORTED_CRITICAL_PAYLOAD,
+       "INVAL_IKE_SPI",
+       "INVAL_MAJOR");
+ENUM_NEXT(notify_type_short_names, INVALID_SYNTAX, INVALID_SYNTAX, INVALID_MAJOR_VERSION,
+       "INVAL_SYN");
+ENUM_NEXT(notify_type_short_names, INVALID_MESSAGE_ID, INVALID_MESSAGE_ID, INVALID_SYNTAX,
+       "INVAL_MID");
+ENUM_NEXT(notify_type_short_names, INVALID_SPI, INVALID_SPI, INVALID_MESSAGE_ID,
+       "INVAL_SPI");
+ENUM_NEXT(notify_type_short_names, NO_PROPOSAL_CHOSEN, NO_PROPOSAL_CHOSEN, INVALID_SPI,
+       "NO_PROP");
+ENUM_NEXT(notify_type_short_names, INVALID_KE_PAYLOAD, INVALID_KE_PAYLOAD, NO_PROPOSAL_CHOSEN,
+       "INVAL_KE");
+ENUM_NEXT(notify_type_short_names, AUTHENTICATION_FAILED, AUTHENTICATION_FAILED, INVALID_KE_PAYLOAD,
+       "AUTH_FAILED");
+ENUM_NEXT(notify_type_short_names, SINGLE_PAIR_REQUIRED, UNEXPECTED_NAT_DETECTED, AUTHENTICATION_FAILED,
+       "SINGLE_PAIR",
+       "NO_ADD_SAS",
+       "INT_ADDR_FAIL",
+       "FAIL_CP_REQ",
+       "TS_UNACCEPT",
+       "INVAL_SEL",
+       "UNACCEPT_ADDR",
+       "UNEXPECT_NAT");
+ENUM_NEXT(notify_type_short_names, INITIAL_CONTACT, AUTH_LIFETIME, UNEXPECTED_NAT_DETECTED,
+       "INIT_CONTACT",
+       "SET_WINSIZE",
+       "ADD_TS_POSS",
+       "IPCOMP_SUPP",
+       "NATD_S_IP",
+       "NATD_D_IP",
+       "COOKIE",
+       "USE_TRANSP",
+       "HTTP_CERT_LOOK",
+       "REKEY_SA",
+       "ESP_TFC_PAD_N",
+       "NON_FIRST_FRAG",
+       "MOBIKE_SUP",
+       "ADD_4_ADDR",
+       "ADD_6_ADDR",
+       "NO_ADD_ADDR",
+       "UPD_SA_ADDR",
+       "COOKIE2",
+       "NO_NATS",
+       "AUTH_LFT");
+ENUM_NEXT(notify_type_short_names, EAP_ONLY_AUTHENTICATION, EAP_ONLY_AUTHENTICATION, AUTH_LIFETIME,
+       "EAP_ONLY");
+ENUM_END(notify_type_short_names, EAP_ONLY_AUTHENTICATION);
+
+
 typedef struct private_notify_payload_t private_notify_payload_t;
 
 /**