PFKEY2_CHUNK
#define ROUNDUP(x) (((x) + (PFKEY2_CHUNK - 1)) & ~(PFKEY2_CHUNK - 1))
if ((data = reallocarray(NULL, hdr.sadb_msg_len, PFKEY2_CHUNK))
len = hdr.sadb_msg_len * PFKEY2_CHUNK;
msg->sadb_msg_len * PFKEY2_CHUNK;
ext->sadb_ext_len * PFKEY2_CHUNK)) {
if ((data = reallocarray(NULL, hdr.sadb_msg_len, PFKEY2_CHUNK)) == NULL) {
len = hdr.sadb_msg_len * PFKEY2_CHUNK;
msg->sadb_msg_len * PFKEY2_CHUNK;
ext->sadb_ext_len * PFKEY2_CHUNK)) {
#define ROUNDUP(x) (((x) + (PFKEY2_CHUNK - 1)) & ~(PFKEY2_CHUNK - 1))