Home
last modified time | relevance | path

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

/xnu-8020.101.4/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.c8426 struct sadb_supported *sup; in key_register() local
8485 sup = (struct sadb_supported *)(void *)(mtod(n, caddr_t) + off); in key_register()
8486 sup->sadb_supported_len = (u_int16_t)PFKEY_UNIT64(alen); in key_register()
8487 sup->sadb_supported_exttype = SADB_EXT_SUPPORTED_AUTH; in key_register()
8488 off += PFKEY_ALIGN8(sizeof(*sup)); in key_register()
8510 sup = (struct sadb_supported *)(void *)(mtod(n, caddr_t) + off); in key_register()
8511 sup->sadb_supported_len = PFKEY_UNIT64(elen); in key_register()
8512 sup->sadb_supported_exttype = SADB_EXT_SUPPORTED_ENCRYPT; in key_register()
8513 off += PFKEY_ALIGN8(sizeof(*sup)); in key_register()