Searched refs:policylen (Results 1 – 2 of 2) sorted by relevance
/external/ipsec-tools/src/libipsec/ |
D | pfkey.c | 882 pfkey_send_spdadd(so, src, prefs, dst, prefd, proto, policy, policylen, seq) in pfkey_send_spdadd() argument 887 int policylen; 895 policy, policylen, seq)) < 0) 909 policy, policylen, seq) in pfkey_send_spdadd2() argument 915 int policylen; 923 policy, policylen, seq)) < 0) 936 pfkey_send_spdupdate(so, src, prefs, dst, prefd, proto, policy, policylen, seq) in pfkey_send_spdupdate() argument 941 int policylen; 949 policy, policylen, seq)) < 0) 963 policy, policylen, seq) in pfkey_send_spdupdate2() argument [all …]
|
/external/ipsec-tools/src/racoon/ |
D | pfkey.c | 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)) { [all …]
|