Lines Matching refs:encmode
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;
466 if (pr1->encmode != pr2->encmode) {
470 s_ipsecdoi_encmode(pr2->encmode),
471 s_ipsecdoi_encmode(pr1->encmode));
493 newpr->encmode = pr1->encmode;
837 if (newpr->encmode == 0)
838 newpr->encmode = IPSECDOI_ATTR_ENC_MODE_TRNS;
955 s_ipsecdoi_attr_v(IPSECDOI_ATTR_ENC_MODE, pr->encmode),
1108 newpr->encmode = pfkey2ipsecdoi_mode(req->saidx.mode);
1111 newpr->encmode +=
1116 newpr->encmode = encmodesv;
1241 newpr->encmode = pr->encmode;