Home
last modified time | relevance | path

Searched refs:sup (Results 1 – 2 of 2) sorted by relevance

/xnu-8792.41.9/bsd/netkey/
H A Dkey_debug.c273 struct sadb_supported *sup = (struct sadb_supported *)ext; local
282 len = (PFKEY_UNUNIT64(sup->sadb_supported_len) - sizeof(*sup))
284 alg = (struct sadb_alg *)(sup + 1);
H A Dkey.c8495 struct sadb_supported *sup; in key_register() local
8554 sup = (struct sadb_supported *)(void *)(mtod(n, caddr_t) + off); in key_register()
8555 sup->sadb_supported_len = (u_int16_t)PFKEY_UNIT64(alen); in key_register()
8556 sup->sadb_supported_exttype = SADB_EXT_SUPPORTED_AUTH; in key_register()
8557 off += PFKEY_ALIGN8(sizeof(*sup)); in key_register()
8579 sup = (struct sadb_supported *)(void *)(mtod(n, caddr_t) + off); in key_register()
8580 sup->sadb_supported_len = PFKEY_UNIT64(elen); in key_register()
8581 sup->sadb_supported_exttype = SADB_EXT_SUPPORTED_ENCRYPT; in key_register()
8582 off += PFKEY_ALIGN8(sizeof(*sup)); in key_register()