In /usr/include/intel-ipsec-mb.h uint128_t is defined as:
/* 128-bit data type that is not in sdtint.h */
typedef struct {
uint64_t low;
uint64_t high;
} uint128_t;
However, this clashes with other definitions of uint128_t such as the one in /usr/include/bluetooth/bluetooth.h, e.g:
typedef struct {
uint8_t data[16];
} uint128_t;
This causes conflict when including these two header files. Since uint128_t may in the future clash with an ISO C uint128_t native type it maybe better to rename the uint128_t in intel-ipsec-mb.h so it won't clash. Perhaps something like __ipsec_uint128_t
Otherwise we get build failures such as:
/usr/include/bluetooth/bluetooth.h:345:3: error: conflicting types for ‘uint128_t’
345 | } uint128_t;
| ^~~~~~~~~
In file included from stress-ng.h:131,
from stress-l2cap.c:25:
/usr/include/intel-ipsec-mb.h:42:3: note: previous declaration of ‘uint128_t’ was here
42 | } uint128_t;
| ^~~~~~~~~
In /usr/include/intel-ipsec-mb.h uint128_t is defined as:
However, this clashes with other definitions of uint128_t such as the one in /usr/include/bluetooth/bluetooth.h, e.g:
This causes conflict when including these two header files. Since uint128_t may in the future clash with an ISO C uint128_t native type it maybe better to rename the uint128_t in intel-ipsec-mb.h so it won't clash. Perhaps something like __ipsec_uint128_t
Otherwise we get build failures such as: