diff options
Diffstat (limited to 'sys/bsm/audit_internal.h')
-rw-r--r-- | sys/bsm/audit_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/bsm/audit_internal.h b/sys/bsm/audit_internal.h index 2c7a1ef..19bec45 100644 --- a/sys/bsm/audit_internal.h +++ b/sys/bsm/audit_internal.h @@ -72,7 +72,9 @@ typedef struct au_record au_record_t; * token structures may contain pointers of whose contents we do not know the * size (e.g text tokens). */ +#define AUDIT_HEADER_EX_SIZE(a) ((a)->ai_termid.at_type+18+sizeof(u_int32_t)) #define AUDIT_HEADER_SIZE 18 +#define MAX_AUDIT_HEADER_SIZE (5*sizeof(u_int32_t)+18) #define AUDIT_TRAILER_SIZE 7 /* |