PF_KEY_V2_ROUND
len = sizeof *addr + PF_KEY_V2_ROUND(SA_LEN(src));
len = sizeof *addr + PF_KEY_V2_ROUND(SA_LEN(dst));
len = sizeof *key + PF_KEY_V2_ROUND(hashlen);
len = sizeof *key + PF_KEY_V2_ROUND(keylen);
sid = calloc(PF_KEY_V2_ROUND(len + 1) + sizeof *sid,
PF_KEY_V2_ROUND(len + 1) / PF_KEY_V2_CHUNK;
sid = calloc(PF_KEY_V2_ROUND(len + 1) + sizeof *sid,
PF_KEY_V2_ROUND(len + 1) / PF_KEY_V2_CHUNK;
len = sizeof *addr + PF_KEY_V2_ROUND(SA_LEN(isa->src_net));
len = sizeof(*stag) + PF_KEY_V2_ROUND(strlen(sa->tag) + 1);
PF_KEY_V2_ROUND(srcid_len + 1) + sizeof *sid,
+ PF_KEY_V2_ROUND(srcid_len + 1) / PF_KEY_V2_CHUNK;
PF_KEY_V2_ROUND(dstid_len + 1) + sizeof *sid,
+ PF_KEY_V2_ROUND(dstid_len + 1) / PF_KEY_V2_CHUNK;
len = sizeof *addr + PF_KEY_V2_ROUND(SA_LEN(src));
len = sizeof *addr + PF_KEY_V2_ROUND(SA_LEN(laddr));
len = sizeof *addr + PF_KEY_V2_ROUND(SA_LEN(saddr));
len = sizeof *addr + PF_KEY_V2_ROUND(SA_LEN(saddr));
len = sizeof *addr + PF_KEY_V2_ROUND(SA_LEN(saddr));
sizeof(struct sadb_address) + PF_KEY_V2_ROUND(SA_LEN(src));
len = sizeof(struct sadb_address) + PF_KEY_V2_ROUND(SA_LEN(dst));
sizeof(struct sadb_address) + PF_KEY_V2_ROUND(SA_LEN(dst));