Home
last modified time | relevance | path

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

/external/ipsec-tools/src/racoon/
Disakmp_agg.c473 struct natd_payload *natd; local
474 natd = (struct natd_payload *)racoon_malloc(sizeof(*natd));
475 if (!natd)
478 natd->payload = NULL;
480 if (isakmp_p2ph (&natd->payload, pa->ptr) < 0)
483 natd->seq = natd_seq++;
485 TAILQ_INSERT_TAIL(&natd_tree, natd, chain);
530 struct natd_payload *natd = NULL; local
541 while ((natd = TAILQ_FIRST(&natd_tree)) != NULL) {
545 natd->payload, natd->seq);
[all …]
Disakmp_base.c555 vchar_t *natd[2] = { NULL, NULL }; local
558 if ((natd[0] = natt_hash_addr (iph1, iph1->remote)) == NULL) {
564 if ((natd[1] = natt_hash_addr (iph1, iph1->local)) == NULL) {
570 plist = isakmp_plist_append(plist, natd[0], iph1->natt_options->payload_nat_d);
571 plist = isakmp_plist_append(plist, natd[1], iph1->natt_options->payload_nat_d);
1400 vchar_t *natd[2] = { NULL, NULL }; local
1404 if ((natd[0] = natt_hash_addr(iph1, iph1->remote)) == NULL) {
1411 if ((natd[1] = natt_hash_addr(iph1, iph1->local)) == NULL) {
1419 natd[0], iph1->natt_options->payload_nat_d);
1421 natd[1], iph1->natt_options->payload_nat_d);
Disakmp_ident.c1705 vchar_t *natd[2] = { NULL, NULL }; local
1750 if ((natd[0] = natt_hash_addr (iph1, iph1->remote)) == NULL) {
1756 if ((natd[1] = natt_hash_addr (iph1, iph1->local)) == NULL) {
1763 plist = isakmp_plist_append(plist, natd[0], iph1->natt_options->payload_nat_d);
1764 plist = isakmp_plist_append(plist, natd[1], iph1->natt_options->payload_nat_d);
1787 if (natd[0])
1788 vfree(natd[0]);
1789 if (natd[1])
1790 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()