Home
last modified time | relevance | path

Searched refs:natt_options (Results 1 – 10 of 10) sorted by relevance

/netbsd-src/crypto/dist/ipsec-tools/src/racoon/
H A Dnattraversal.c297 if (!iph1->natt_options->float_port) { in natt_float_ports()
303 set_port(iph1->local, iph1->natt_options->float_port); in natt_float_ports()
304 set_port(iph1->remote, iph1->natt_options->float_port); in natt_float_ports()
332 if (!iph1->natt_options) in natt_handle_vendorid()
333 iph1->natt_options = racoon_calloc(1, sizeof(*iph1->natt_options)); in natt_handle_vendorid()
335 if (!iph1->natt_options) { in natt_handle_vendorid()
341 if (iph1->natt_options->version < vid_numeric) in natt_handle_vendorid()
342 if (natt_fill_options(iph1->natt_options, vid_numeric) == 0) in natt_handle_vendorid()
H A Disakmp_agg.c426 if (NATT_AVAILABLE(iph1) && iph1->natt_options != NULL &&
427 pa->type == iph1->natt_options->payload_nat_d) {
490 vid_string_by_id(iph1->natt_options->version));
709 natd[0], iph1->natt_options->payload_nat_d);
711 natd[1], iph1->natt_options->payload_nat_d);
862 vid_string_by_id(iph1->natt_options->version));
998 vid_natt = set_vendorid(iph1->natt_options->version);
1206 plist = isakmp_plist_append(plist, natd[0], iph1->natt_options->payload_nat_d);
1207 plist = isakmp_plist_append(plist, natd[1], iph1->natt_options->payload_nat_d);
1342 if (NATT_AVAILABLE(iph1) && iph1->natt_options != NULL &&
[all …]
H A Disakmp_base.c369 vid_string_by_id(iph1->natt_options->version));
538 plist = isakmp_plist_append(plist, natd[0], iph1->natt_options->payload_nat_d);
539 plist = isakmp_plist_append(plist, natd[1], iph1->natt_options->payload_nat_d);
629 if (NATT_AVAILABLE(iph1) && iph1->natt_options &&
630 pa->type == iph1->natt_options->payload_nat_d) {
860 vid_string_by_id(iph1->natt_options->version));
947 vid_natt = set_vendorid(iph1->natt_options->version);
1111 if (pa->type == iph1->natt_options->payload_nat_d)
1348 natd[0], iph1->natt_options->payload_nat_d);
1350 natd[1], iph1->natt_options->payload_nat_d);
H A Disakmp_ident.c319 vid_string_by_id(iph1->natt_options->version));
481 if (NATT_AVAILABLE(iph1) && iph1->natt_options != NULL &&
482 pa->type == iph1->natt_options->payload_nat_d) {
922 vid_string_by_id(iph1->natt_options->version));
1026 vid_natt = set_vendorid(iph1->natt_options->version);
1168 if (NATT_AVAILABLE(iph1) && iph1->natt_options != NULL &&
1169 pa->type == iph1->natt_options->payload_nat_d)
1694 plist = isakmp_plist_append(plist, natd[0], iph1->natt_options->payload_nat_d);
1695 plist = isakmp_plist_append(plist, natd[1], iph1->natt_options->payload_nat_d);
H A Dproposal.c448 s_ipsecdoi_encmode(pr2->encmode - ph1->natt_options->mode_udp_diff));
449 pr2->encmode -= ph1->natt_options->mode_udp_diff;
459 s_ipsecdoi_encmode(pr1->encmode - ph1->natt_options->mode_udp_diff),
460 pr1->encmode - ph1->natt_options->mode_udp_diff);
461 pr1->encmode -= ph1->natt_options->mode_udp_diff;
1065 encmodesv += iph2->ph1->natt_options->mode_udp_diff;
1112 iph2->ph1->natt_options->mode_udp_diff;
H A Dhandler.h139 struct ph1natt_options *natt_options; /* Selected NAT-T IKE version */ member
H A Dhandler.c392 if (iph1->natt_options) {
393 racoon_free(iph1->natt_options);
394 iph1->natt_options = NULL;
H A Disakmp_quick.c280 natoa = iph2->ph1->natt_options->payload_nat_oa;
1535 natoa = iph2->ph1->natt_options->payload_nat_oa;
H A Dpfkey.c957 natt_type = iph2->ph1->natt_options->encaps_type;
1192 sa_args.l_natt_type = iph2->ph1->natt_options->encaps_type;
H A Dipsec_doi.c3147 int udp_diff = iph2->ph1->natt_options->mode_udp_diff;