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);
8523 struct sadb_supported *sup; in key_register() local8582 sup = (struct sadb_supported *)(void *)(mtod(n, caddr_t) + off); in key_register()8583 sup->sadb_supported_len = (u_int16_t)PFKEY_UNIT64(alen); in key_register()8584 sup->sadb_supported_exttype = SADB_EXT_SUPPORTED_AUTH; in key_register()8585 off += PFKEY_ALIGN8(sizeof(*sup)); in key_register()8607 sup = (struct sadb_supported *)(void *)(mtod(n, caddr_t) + off); in key_register()8608 sup->sadb_supported_len = PFKEY_UNIT64(elen); in key_register()8609 sup->sadb_supported_exttype = SADB_EXT_SUPPORTED_ENCRYPT; in key_register()8610 off += PFKEY_ALIGN8(sizeof(*sup)); in key_register()