Home
last modified time | relevance | path

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

/external/ipsec-tools/src/racoon/
Dnattraversal.c292 if (! iph1->natt_options->float_port){ in natt_float_ports()
298 set_port (iph1->local, iph1->natt_options->float_port); in natt_float_ports()
299 set_port (iph1->remote, iph1->natt_options->float_port); in natt_float_ports()
308 if (! iph1->natt_options) in natt_handle_vendorid()
309 iph1->natt_options = racoon_calloc (1, sizeof (*iph1->natt_options)); in natt_handle_vendorid()
311 if (! iph1->natt_options) { in natt_handle_vendorid()
317 if (iph1->natt_options->version < vid_numeric) in natt_handle_vendorid()
318 if (natt_fill_options (iph1->natt_options, vid_numeric) == 0) in natt_handle_vendorid()
Disakmp_agg.c471 if (NATT_AVAILABLE(iph1) && iph1->natt_options != NULL &&
472 pa->type == iph1->natt_options->payload_nat_d) {
535 vid_string_by_id(iph1->natt_options->version));
758 natd[0], iph1->natt_options->payload_nat_d);
760 natd[1], iph1->natt_options->payload_nat_d);
941 vid_string_by_id(iph1->natt_options->version));
1093 vid_natt = set_vendorid(iph1->natt_options->version);
1299 plist = isakmp_plist_append(plist, natd[0], iph1->natt_options->payload_nat_d);
1300 plist = isakmp_plist_append(plist, natd[1], iph1->natt_options->payload_nat_d);
1438 if (NATT_AVAILABLE(iph1) && iph1->natt_options != NULL &&
[all …]
Disakmp_base.c401 vid_string_by_id(iph1->natt_options->version));
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);
663 if (NATT_AVAILABLE(iph1) && iph1->natt_options &&
664 pa->type == iph1->natt_options->payload_nat_d) {
927 vid_string_by_id(iph1->natt_options->version));
1014 vid_natt = set_vendorid(iph1->natt_options->version);
1180 if (pa->type == iph1->natt_options->payload_nat_d)
1419 natd[0], iph1->natt_options->payload_nat_d);
1421 natd[1], iph1->natt_options->payload_nat_d);
Disakmp_ident.c342 vid_string_by_id(iph1->natt_options->version));
505 if (NATT_AVAILABLE(iph1) && iph1->natt_options != NULL &&
506 pa->type == iph1->natt_options->payload_nat_d) {
975 vid_string_by_id(iph1->natt_options->version));
1079 vid_natt = set_vendorid(iph1->natt_options->version);
1224 if (NATT_AVAILABLE(iph1) && iph1->natt_options != NULL &&
1225 pa->type == iph1->natt_options->payload_nat_d)
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);
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;
Dhandler.h135 struct ph1natt_options *natt_options; /* Selected NAT-T IKE version */ member
Dhandler.c299 if (iph1->natt_options) {
300 racoon_free(iph1->natt_options);
301 iph1->natt_options = NULL;
Dpfkey.c1111 sa_args.l_natt_type = iph2->ph1->natt_options->encaps_type;
Dipsec_doi.c3188 int udp_diff = iph2->ph1->natt_options->mode_udp_diff;