Searched refs:PFKEY_EXTLEN (Results 1 – 6 of 6) sorted by relevance
135 while (off < PFKEY_EXTLEN(xpl)) {141 if (off != PFKEY_EXTLEN(xpl)) {148 while (off < PFKEY_EXTLEN(xpl)) {152 PFKEY_EXTLEN(xpl) - off) == NULL) {
48 return policy ? PFKEY_EXTLEN(policy) : -1;
765 PFKEY_EXTLEN(sup) < sizeof(*sup) ||781 sup->sadb_supported_len = PFKEY_EXTLEN(sup);1782 if (ep < p + sizeof(*ext) || PFKEY_EXTLEN(ext) < sizeof(*ext) ||1783 ep < p + PFKEY_EXTLEN(ext)) {1833 p += PFKEY_EXTLEN(ext);
83 printf("\tsetlen:%d\n", PFKEY_EXTLEN(buf)); in main()114 if (setsockopt(so, proto, optname, policy, PFKEY_EXTLEN(policy)) < 0) in test()
444 #define PFKEY_EXTLEN(msg) \ macro
1499 if (len != PFKEY_EXTLEN(xpl0)) { in key_msg2sp()1530 if (PFKEY_EXTLEN(xpl0) < sizeof(*xpl0)) { in key_msg2sp()1538 tlen = PFKEY_EXTLEN(xpl0) - sizeof(*xpl0); in key_msg2sp()2059 if ((newsp = key_msg2sp(xpl0, PFKEY_EXTLEN(xpl0), &error)) == NULL) { in key_spdadd()