Home
last modified time | relevance | path

Searched refs:natd (Results 1 – 4 of 4) sorted by relevance

/external/ipsec-tools/src/racoon/
Disakmp_agg.c446 struct natd_payload *natd; local
447 natd = (struct natd_payload *)racoon_malloc(sizeof(*natd));
448 if (!natd)
451 natd->payload = NULL;
453 if (isakmp_p2ph (&natd->payload, pa->ptr) < 0)
456 natd->seq = natd_seq++;
458 TAILQ_INSERT_TAIL(&natd_tree, natd, chain);
503 struct natd_payload *natd = NULL; local
514 while ((natd = TAILQ_FIRST(&natd_tree)) != NULL) {
518 natd->payload, natd->seq);
[all …]
Disakmp_base.c528 vchar_t *natd[2] = { NULL, NULL }; local
531 if ((natd[0] = natt_hash_addr (iph1, iph1->remote)) == NULL) {
537 if ((natd[1] = natt_hash_addr (iph1, iph1->local)) == NULL) {
543 plist = isakmp_plist_append(plist, natd[0], iph1->natt_options->payload_nat_d);
544 plist = isakmp_plist_append(plist, natd[1], iph1->natt_options->payload_nat_d);
1346 vchar_t *natd[2] = { NULL, NULL }; local
1350 if ((natd[0] = natt_hash_addr(iph1, iph1->remote)) == NULL) {
1357 if ((natd[1] = natt_hash_addr(iph1, iph1->local)) == NULL) {
1365 natd[0], iph1->natt_options->payload_nat_d);
1367 natd[1], iph1->natt_options->payload_nat_d);
Disakmp_ident.c1657 vchar_t *natd[2] = { NULL, NULL }; local
1702 if ((natd[0] = natt_hash_addr (iph1, iph1->remote)) == NULL) {
1708 if ((natd[1] = natt_hash_addr (iph1, iph1->local)) == NULL) {
1715 plist = isakmp_plist_append(plist, natd[0], iph1->natt_options->payload_nat_d);
1716 plist = isakmp_plist_append(plist, natd[1], iph1->natt_options->payload_nat_d);
1739 if (natd[0])
1740 vfree(natd[0]);
1741 if (natd[1])
1742 vfree(natd[1]);
Dnattraversal.c124 vchar_t *natd; in natt_hash_addr() local
175 natd = oakley_hash (buf, iph1); in natt_hash_addr()
178 return natd; in natt_hash_addr()