Searched refs:UTUN_CRYPTO_ARGS_HDR_SIZE (Results 1 - 2 of 2) sorted by relevance

/darwin-on-arm/xnu/bsd/net/
H A Dif_utun_crypto.h213 // don't change the order, number, or size of elements above this line (in this struct). otherwise UTUN_CRYPTO_ARGS_HDR_SIZE breaks backwards compatibility
282 #define UTUN_CRYPTO_ARGS_HDR_SIZE ((size_t)(&((utun_crypto_args_t *)0)->u)) macro
283 #define UTUN_CRYPTO_ARGS_VARARGS_BUF(args) ((u_int8_t *)args + UTUN_CRYPTO_ARGS_HDR_SIZE + args->args_ulen)
284 #define UTUN_CRYPTO_ARGS_TOTAL_SIZE(args) ((size_t)(UTUN_CRYPTO_ARGS_HDR_SIZE + args->args_ulen + args->varargs_buflen))
H A Dif_utun_crypto.c66 if (len < UTUN_CRYPTO_ARGS_HDR_SIZE) {
131 if (len < UTUN_CRYPTO_ARGS_HDR_SIZE) {
425 if (len < UTUN_CRYPTO_ARGS_HDR_SIZE) {
481 if (len < UTUN_CRYPTO_ARGS_HDR_SIZE) {

Completed in 72 milliseconds