Searched refs:sup (Results 1 – 2 of 2) sorted by relevance
273 struct sadb_supported *sup = (struct sadb_supported *)ext; local282 len = (PFKEY_UNUNIT64(sup->sadb_supported_len) - sizeof(*sup))284 alg = (struct sadb_alg *)(sup + 1);
8598 struct sadb_supported *sup; in key_register() local8657 sup = (struct sadb_supported *)(void *)(mtod(n, caddr_t) + off); in key_register()8658 sup->sadb_supported_len = (u_int16_t)PFKEY_UNIT64(alen); in key_register()8659 sup->sadb_supported_exttype = SADB_EXT_SUPPORTED_AUTH; in key_register()8660 off += PFKEY_ALIGN8(sizeof(*sup)); in key_register()8682 sup = (struct sadb_supported *)(void *)(mtod(n, caddr_t) + off); in key_register()8683 sup->sadb_supported_len = PFKEY_UNIT64(elen); in key_register()8684 sup->sadb_supported_exttype = SADB_EXT_SUPPORTED_ENCRYPT; in key_register()8685 off += PFKEY_ALIGN8(sizeof(*sup)); in key_register()