Searched refs:PFKEY_EXTLEN (Results 1 - 6 of 6) sorted by relevance

/freebsd-10.0-release/lib/libipsec/
H A Dipsec_get_policylen.c48 return policy ? PFKEY_EXTLEN(policy) : -1;
H A Dipsec_dump_policy.c135 while (off < PFKEY_EXTLEN(xpl)) {
141 if (off != PFKEY_EXTLEN(xpl)) {
148 while (off < PFKEY_EXTLEN(xpl)) {
152 PFKEY_EXTLEN(xpl) - off) == NULL) {
H A Dpfkey.c763 PFKEY_EXTLEN(sup) < sizeof(*sup) ||
779 sup->sadb_supported_len = PFKEY_EXTLEN(sup);
1744 if (ep < p + sizeof(*ext) || PFKEY_EXTLEN(ext) < sizeof(*ext) ||
1745 ep < p + PFKEY_EXTLEN(ext)) {
1798 p += PFKEY_EXTLEN(ext);
/freebsd-10.0-release/sbin/setkey/
H A Dtest-policy.c83 printf("\tsetlen:%d\n", PFKEY_EXTLEN(buf));
114 if (setsockopt(so, proto, optname, policy, PFKEY_EXTLEN(policy)) < 0)
/freebsd-10.0-release/sys/net/
H A Dpfkeyv2.h417 #define PFKEY_EXTLEN(msg) \ macro
/freebsd-10.0-release/sys/netipsec/
H A Dkey.c1399 if (len != PFKEY_EXTLEN(xpl0)) {
1429 if (PFKEY_EXTLEN(xpl0) < sizeof(*xpl0)) {
1437 tlen = PFKEY_EXTLEN(xpl0) - sizeof(*xpl0);
1893 if ((newsp = key_msg2sp(xpl0, PFKEY_EXTLEN(xpl0), &error)) == NULL) {

Completed in 145 milliseconds