Home
last modified time | relevance | path

Searched refs:newmsg (Results 1 – 3 of 3) sorted by relevance

/external/ipsec-tools/src/libipsec/
Dpfkey.c383 struct sadb_msg *newmsg; local
428 if ((newmsg = CALLOC((size_t)len, struct sadb_msg *)) == NULL) {
432 ep = ((caddr_t)(void *)newmsg) + len;
434 p = pfkey_setsadbmsg((void *)newmsg, ep, SADB_GETSPI,
437 free(newmsg);
443 free(newmsg);
451 free(newmsg);
459 free(newmsg);
468 free(newmsg);
483 free(newmsg);
[all …]
/external/ipsec-tools/src/racoon/
Dpfkey.c2730 struct sadb_msg *newmsg; local
2734 newmsg = racoon_calloc(1, len);
2735 if (newmsg == NULL) {
2741 memset(newmsg, 0, len);
2742 newmsg->sadb_msg_version = PF_KEY_V2;
2743 newmsg->sadb_msg_type = SADB_ACQUIRE;
2744 newmsg->sadb_msg_errno = ENOENT; /* XXX */
2745 newmsg->sadb_msg_satype = iph2->satype;
2746 newmsg->sadb_msg_len = PFKEY_UNIT64(len);
2747 newmsg->sadb_msg_reserved = 0;
[all …]
Disakmp.c3027 vchar_t *newmsg; local
3030 if ((newmsg = isakmp_frag_reassembly(iph1)) == NULL) {
3035 return isakmp_main(newmsg, remote, local);