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

/darwin-on-arm/xnu/bsd/netkey/
H A Dkey_debug.c269 struct sadb_supported *sup = (struct sadb_supported *)ext; local
277 len = (PFKEY_UNUNIT64(sup->sadb_supported_len) - sizeof(*sup))
279 alg = (struct sadb_alg *)(sup + 1);
H A Dkey.c7688 struct sadb_supported *sup; local
7740 sup = (struct sadb_supported *)(void *)(mtod(n, caddr_t) + off);
7741 sup->sadb_supported_len = PFKEY_UNIT64(alen);
7742 sup->sadb_supported_exttype = SADB_EXT_SUPPORTED_AUTH;
7743 off += PFKEY_ALIGN8(sizeof(*sup));
7764 sup = (struct sadb_supported *)(void *)(mtod(n, caddr_t) + off);
7765 sup->sadb_supported_len = PFKEY_UNIT64(elen);
7766 sup->sadb_supported_exttype = SADB_EXT_SUPPORTED_ENCRYPT;
7767 off += PFKEY_ALIGN8(sizeof(*sup));

Completed in 40 milliseconds