From: Tobias Brunner Date: Mon, 10 May 2021 14:28:15 +0000 (+0200) Subject: ipsec-types: Add identifier for the maximum (=no) CPU ID X-Git-Tag: 6.0.2dr1~5^2~27 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=12395cedf39f3f909a5d92e4ce42d84cc3f790d2;p=thirdparty%2Fstrongswan.git ipsec-types: Add identifier for the maximum (=no) CPU ID --- diff --git a/src/libstrongswan/ipsec/ipsec_types.h b/src/libstrongswan/ipsec/ipsec_types.h index b3a26ce8ee..4da3e8727c 100644 --- a/src/libstrongswan/ipsec/ipsec_types.h +++ b/src/libstrongswan/ipsec/ipsec_types.h @@ -278,4 +278,9 @@ bool if_id_from_string(const char *value, uint32_t *if_id); */ void allocate_unique_if_ids(uint32_t *in, uint32_t *out); +/** + * Maximum CPU ID (used if no CPU ID specified). + */ +#define CPU_ID_MAX UINT32_MAX + #endif /** IPSEC_TYPES_H_ @}*/