]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
ipsec-types: Add identifier for the maximum (=no) CPU ID
authorTobias Brunner <tobias@strongswan.org>
Mon, 10 May 2021 14:28:15 +0000 (16:28 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 28 May 2025 14:35:26 +0000 (16:35 +0200)
src/libstrongswan/ipsec/ipsec_types.h

index b3a26ce8eece92022df7f8caf355c94f913bb9ce..4da3e8727c500ac3c84bc2186bde43d8c66b8ab5 100644 (file)
@@ -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_ @}*/