Home
last modified time | relevance | path

Searched refs:policylen (Results 1 – 2 of 2) sorted by relevance

/external/ipsec-tools/src/libipsec/
Dpfkey.c861 int policylen, u_int32_t seq) in pfkey_send_spdadd() argument
868 policy, policylen, seq)) < 0) in pfkey_send_spdadd()
883 u_int64_t vtime, caddr_t policy, int policylen, u_int32_t seq) in pfkey_send_spdadd2() argument
890 policy, policylen, seq)) < 0) in pfkey_send_spdadd2()
905 int policylen, u_int32_t seq) in pfkey_send_spdupdate() argument
912 policy, policylen, seq)) < 0) in pfkey_send_spdupdate()
927 u_int64_t vtime, caddr_t policy, int policylen, u_int32_t seq) in pfkey_send_spdupdate2() argument
934 policy, policylen, seq)) < 0) in pfkey_send_spdupdate2()
949 int policylen, u_int32_t seq) in pfkey_send_spddelete() argument
953 if (policylen != sizeof(struct sadb_x_policy)) { in pfkey_send_spddelete()
[all …]
/external/ipsec-tools/src/racoon/
Dpfkey.c2023 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)) {
[all …]