From 12395cedf39f3f909a5d92e4ce42d84cc3f790d2 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Mon, 10 May 2021 16:28:15 +0200 Subject: [PATCH] ipsec-types: Add identifier for the maximum (=no) CPU ID --- src/libstrongswan/ipsec/ipsec_types.h | 5 +++++ 1 file changed, 5 insertions(+) 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_ @}*/ -- 2.47.2