Lines Matching refs:policylen
2023 int policylen; local
2033 policylen = sizeof(struct sadb_x_policy);
2042 policylen += PFKEY_ALIGN8(xisrlen);
2050 policylen += ctxlen;
2055 policy = racoon_malloc(policylen);
2056 memset((void*)policy, 0xcd, policylen);
2064 xpl->sadb_x_policy_len = PFKEY_UNIT64(policylen);
2163 *policylen0 = policylen;
2181 int policylen = 0; local
2187 if (getsadbpolicy(&policy, &policylen, SADB_X_SPDUPDATE, iph2)) {
2201 policy, policylen, 0) < 0) {
2303 int policylen = 0; local
2309 if (getsadbpolicy(&policy, &policylen, SADB_X_SPDADD, iph2)) {
2323 policy, policylen, 0) < 0) {
2425 int policylen; local
2427 if (getsadbpolicy(&policy, &policylen, SADB_X_SPDDELETE, iph2)) {
2440 policy, policylen, 0) < 0) {