Searched refs:natt_options (Results 1 – 9 of 9) sorted by relevance
/external/ipsec-tools/src/racoon/ |
D | nattraversal.c | 292 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()
|
D | isakmp_base.c | 374 vid_string_by_id(iph1->natt_options->version)); 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); 636 if (NATT_AVAILABLE(iph1) && iph1->natt_options && 637 pa->type == iph1->natt_options->payload_nat_d) { 873 vid_string_by_id(iph1->natt_options->version)); 960 vid_natt = set_vendorid(iph1->natt_options->version); 1126 if (pa->type == iph1->natt_options->payload_nat_d) 1365 natd[0], iph1->natt_options->payload_nat_d); 1367 natd[1], iph1->natt_options->payload_nat_d);
|
D | isakmp_agg.c | 444 if (NATT_AVAILABLE(iph1) && iph1->natt_options != NULL && 445 pa->type == iph1->natt_options->payload_nat_d) { 508 vid_string_by_id(iph1->natt_options->version)); 731 natd[0], iph1->natt_options->payload_nat_d); 733 natd[1], iph1->natt_options->payload_nat_d); 884 vid_string_by_id(iph1->natt_options->version)); 1036 vid_natt = set_vendorid(iph1->natt_options->version); 1242 plist = isakmp_plist_append(plist, natd[0], iph1->natt_options->payload_nat_d); 1243 plist = isakmp_plist_append(plist, natd[1], iph1->natt_options->payload_nat_d); 1381 if (NATT_AVAILABLE(iph1) && iph1->natt_options != NULL && [all …]
|
D | isakmp_ident.c | 318 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) { 927 vid_string_by_id(iph1->natt_options->version)); 1031 vid_natt = set_vendorid(iph1->natt_options->version); 1176 if (NATT_AVAILABLE(iph1) && iph1->natt_options != NULL && 1177 pa->type == iph1->natt_options->payload_nat_d) 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);
|
D | proposal.c | 448 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;
|
D | handler.h | 135 struct ph1natt_options *natt_options; /* Selected NAT-T IKE version */ member
|
D | handler.c | 299 if (iph1->natt_options) { 300 racoon_free(iph1->natt_options); 301 iph1->natt_options = NULL;
|
D | pfkey.c | 1111 sa_args.l_natt_type = iph2->ph1->natt_options->encaps_type;
|
D | ipsec_doi.c | 3188 int udp_diff = iph2->ph1->natt_options->mode_udp_diff;
|