Searched refs:encmode (Results 1 – 8 of 8) sorted by relevance
/external/ipsec-tools/src/racoon/ |
D | proposal.c | 444 natt_udp_encap (pr2->encmode)) 447 s_ipsecdoi_encmode(pr2->encmode), 448 s_ipsecdoi_encmode(pr2->encmode - ph1->natt_options->mode_udp_diff)); 449 pr2->encmode -= ph1->natt_options->mode_udp_diff; 454 natt_udp_encap (pr1->encmode)) 457 s_ipsecdoi_encmode(pr1->encmode), 458 pr1->encmode, 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; [all …]
|
D | nattraversal.c | 218 natt_udp_encap (int encmode) in natt_udp_encap() argument 220 return (encmode == IPSECDOI_ATTR_ENC_MODE_UDPTUNNEL_RFC || in natt_udp_encap() 221 encmode == IPSECDOI_ATTR_ENC_MODE_UDPTRNS_RFC || in natt_udp_encap() 222 encmode == IPSECDOI_ATTR_ENC_MODE_UDPTUNNEL_DRAFT || in natt_udp_encap() 223 encmode == IPSECDOI_ATTR_ENC_MODE_UDPTRNS_DRAFT); in natt_udp_encap()
|
D | pfkey.c | 886 mode = ipsecdoi2pfkey_mode(pr->encmode); 889 "invalid encmode %d\n", pr->encmode); 992 ipsecdoi2pfkey_mode(pr->encmode))); 1076 sa_args.mode = ipsecdoi2pfkey_mode(pr->encmode); 1079 "invalid encmode %d\n", pr->encmode); 1177 u_int proto_id, encmode, sa_mode; local 1237 encmode = pfkey2ipsecdoi_mode(sa_mode); 1238 if (encmode == ~0) { 1363 sa_args.mode = ipsecdoi2pfkey_mode(pr->encmode); 1366 "invalid encmode %d\n", pr->encmode); [all …]
|
D | nattraversal.h | 80 int natt_udp_encap (int encmode);
|
D | proposal.h | 76 int encmode; /* encryption mode */ member
|
D | ipsec_doi.c | 3107 x = isakmp_set_attr_l(x, IPSECDOI_ATTR_ENC_MODE, pr->encmode); 3192 b->encmode, 3193 b->encmode+udp_diff); 3195 b->encmode += udp_diff; 3240 if (pr->encmode != IPSECDOI_ATTR_ENC_MODE_TRNS) 4753 if (pr->encmode && 4754 pr->encmode != (u_int16_t)ntohs(d->lorv)) { 4760 pr->encmode = (u_int16_t)ntohs(d->lorv);
|
D | isakmp_quick.c | 1611 if (pr->encmode == IPSECDOI_ATTR_ENC_MODE_TUNNEL)
|
D | cfparse.y | 115 int encmode; /* for ipsec */ member
|