Home
last modified time | relevance | path

Searched refs:ph1 (Results 1 – 20 of 20) sorted by relevance

/netbsd-src/crypto/dist/ipsec-tools/src/racoon/
H A Devt.c299 evt_phase1(ph1, type, optdata) in evt_phase1() argument
300 const struct ph1handle *ph1; in evt_phase1()
309 if (ph1->local)
310 memcpy(&e->evt.ec_ph1src, ph1->local, sysdep_sa_len(ph1->local));
311 if (ph1->remote)
312 memcpy(&e->evt.ec_ph1dst, ph1->remote, sysdep_sa_len(ph1->remote));
314 evtmsg_broadcast(&ph1->evt_listeners, e);
328 struct ph1handle *ph1 = ph2->ph1; local
333 if (ph1) {
334 if (ph1->local)
[all …]
H A Disakmp_quick.c149 iph2->msgid = isakmp_newmsgid2(iph2->ph1);
150 iph2->ivm = oakley_newiv2(iph2->ph1, iph2->msgid);
218 iph2->nonce = eay_set_random(iph2->ph1->rmconf->nonce_size);
266 iph2->ph1->rmconf->support_proxy == 0 &&
279 && (iph2->ph1->natt_flags & NAT_DETECTED)) {
280 natoa = iph2->ph1->natt_options->payload_nat_oa;
360 hash = oakley_compute_hash1(iph2->ph1, iph2->msgid, body);
423 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
427 msg = oakley_do_decrypt(iph2->ph1, msg0, iph2->ivm->iv, iph2->ivm->ive);
445 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
[all …]
H A Dproposal.c194 cmpsaprop_alloc(ph1, pp1, pp2, side) in cmpsaprop_alloc() argument
195 struct ph1handle *ph1; in cmpsaprop_alloc()
217 switch (ph1->rmconf->pcheck_level) {
443 if ((ph1->natt_flags & NAT_DETECTED) &&
448 s_ipsecdoi_encmode(pr2->encmode - ph1->natt_options->mode_udp_diff));
449 pr2->encmode -= ph1->natt_options->mode_udp_diff;
453 if ((ph1->natt_flags & NAT_DETECTED) &&
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 …]
H A Dadmin.c425 struct ph1handle *ph1; local
431 ph1 = getph1byaddr(src, dst, 0);
432 if (ph1 != NULL) {
433 event_list = &ph1->evt_listeners;
434 if (ph1->status == PHASE1ST_ESTABLISHED)
479 ph1 = isakmp_ph1begin_i(rmconf, dst, src);
480 if (ph1 == NULL)
483 event_list = &ph1->evt_listeners;
H A Devt.h122 void evt_phase1 __P((const struct ph1handle *ph1, int type, vchar_t *optdata));
135 #define evt_phase1(ph1, type, optdata) ; argument
H A Disakmp.c986 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
994 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
999 isakmp_info_send_n1(iph2->ph1, error, NULL);
1023 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
1392 isakmp_info_send_n1(iph2->ph1, error, NULL);
1407 plog(LLV_ERROR, LOCATION, iph2->ph1->remote,
1903 if (iph2->ph1->status >= PHASE1ST_EXPIRED) {
1906 isakmp_pindex(&iph2->ph1->index, iph2->msgid));
1913 isakmp_pindex(&iph2->ph1->index, iph2->msgid));
1919 if (isakmp_send(iph2->ph1, iph2->sendbuf) < 0){
[all …]
H A Dhandler.c593 if (p->msgid == msgid && p->ph1 == iph1)
925 iph2->ph1 = iph1;
934 if (iph2->ph1 != NULL) {
936 iph2->ph1->ph2cnt--;
937 iph2->ph1 = NULL;
1293 if (iph2->ph1 != NULL) in revalidate_ph2()
1294 iph1=iph2->ph1; in revalidate_ph2()
H A Dpfkey.c957 natt_type = iph2->ph1->natt_options->encaps_type;
1192 sa_args.l_natt_type = iph2->ph1->natt_options->encaps_type;
1193 sa_args.l_natt_sport = extract_port(iph2->ph1->remote);
1194 sa_args.l_natt_dport = extract_port(iph2->ph1->local);
1197 sa_args.l_natt_frag = iph2->ph1->rmconf->esp_frag;
1480 sa_args.l_natt_sport = extract_port(iph2->ph1->local);
1481 sa_args.l_natt_dport = extract_port(iph2->ph1->remote);
1484 sa_args.l_natt_frag = iph2->ph1->rmconf->esp_frag;
1686 iph1hint = iph2->ph1;
2984 if (iph2->ph1)
[all …]
H A Dhandler.h352 struct ph1handle *ph1; /* back pointer to isakmp status */ member
H A Disakmp_inf.c825 struct ph1handle *iph1 = iph2->ph1;
981 tmp = oakley_do_encrypt(iph2->ph1, iph2->sendbuf, iph2->ivm->ive,
990 if (isakmp_send(iph2->ph1, iph2->sendbuf) < 0) {
H A Doakley.c575 res = oakley_prf(iph2->ph1->skeyid_d, buf, iph2->ph1);
648 this = oakley_prf(iph2->ph1->skeyid_d, seed,
649 iph2->ph1);
H A Disakmp_cfg.c1285 tmp = oakley_do_encrypt(iph2->ph1, iph2->sendbuf,
1294 if (isakmp_send(iph2->ph1, iph2->sendbuf) < 0) {
H A Dipsec_doi.c1028 pr = cmpsaprop_alloc(iph2->ph1, q1, q2, iph2->side);
3146 if (iph2->ph1->natt_flags & NAT_DETECTED) {
3147 int udp_diff = iph2->ph1->natt_options->mode_udp_diff;
/netbsd-src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/nvidia/
H A Dtegra132-norrin.dts178 ph1 {
179 nvidia,pins = "ph1";
/netbsd-src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
H A Dtegra124-venice2.dts167 ph1 {
168 nvidia,pins = "ph1";
H A Dtegra124-nyan-blaze.dts237 ph1 {
238 nvidia,pins = "ph1";
H A Dtegra124-nyan-big.dts239 ph1 {
240 nvidia,pins = "ph1";
H A Dtegra124-apalis.dtsi406 ph1 {
407 nvidia,pins = "ph1";
H A Dtegra124-jetson-tk1.dts288 ph1 {
289 nvidia,pins = "ph1";
H A Dtegra124-apalis-v1.2.dtsi409 ph1 {
410 nvidia,pins = "ph1";