PFKEY_EXTLEN
while (off < PFKEY_EXTLEN(xpl)) {
if (off != PFKEY_EXTLEN(xpl)) {
while (off < PFKEY_EXTLEN(xpl)) {
PFKEY_EXTLEN(xpl) - off) == NULL) {
return policy ? PFKEY_EXTLEN(policy) : -1;
if (ep < p + sizeof(*ext) || PFKEY_EXTLEN(ext) < sizeof(*ext) ||
ep < p + PFKEY_EXTLEN(ext)) {
p += PFKEY_EXTLEN(ext);
PFKEY_EXTLEN(sup) < sizeof(*sup) ||
sup->sadb_supported_len = PFKEY_EXTLEN(sup);
for (first = true; p < ep; p += PFKEY_EXTLEN(ext)) {
if (setsockopt(so, proto, optname, policy, PFKEY_EXTLEN(policy)) < 0)
printf("\tsetlen:%d\n", PFKEY_EXTLEN(buf));
if (len != PFKEY_EXTLEN(xpl0)) {
if (PFKEY_EXTLEN(xpl0) < sizeof(*xpl0)) {
tlen = PFKEY_EXTLEN(xpl0) - sizeof(*xpl0);
if ((newsp = key_msg2sp(xpl0, PFKEY_EXTLEN(xpl0), &error)) == NULL) {