Lines Matching refs:ph1
306 evt_phase1(ph1, type, optdata)
307 const struct ph1handle *ph1;
316 if (ph1->local)
317 memcpy(&e->evt.ec_ph1src, ph1->local, sysdep_sa_len(ph1->local));
318 if (ph1->remote)
319 memcpy(&e->evt.ec_ph1dst, ph1->remote, sysdep_sa_len(ph1->remote));
321 evtmsg_broadcast(&ph1->evt_listeners, e);
335 struct ph1handle *ph1 = ph2->ph1;
340 if (ph1) {
341 if (ph1->local)
342 memcpy(&e->evt.ec_ph1src, ph1->local, sysdep_sa_len(ph1->local));
343 if (ph1->remote)
344 memcpy(&e->evt.ec_ph1dst, ph1->remote, sysdep_sa_len(ph1->remote));
349 if (ph1)
350 evtmsg_broadcast(&ph1->evt_listeners, e);