Lines Matching refs:id_p
161 struct ipsecdoi_id_b *id, *id_p;
213 plogdump(LLV_DEBUG, iph2->id_p->v, iph2->id_p->l);
223 id_p = (struct ipsecdoi_id_b *)iph2->id_p->v;
225 && id_p->proto_id == 0
240 tlen += sizeof(*gen) + iph2->id_p->l;
275 p = set_isakmp_payload(p, iph2->id_p, ISAKMP_NPTYPE_NONE);
436 vp = iph2->id_p;
542 VPTRINIT(iph2->id_p);
924 iph2->id_p = NULL;
966 if (iph2->id_p == NULL) {
970 if (isakmp_p2ph(&iph2->id_p, pa->ptr) < 0)
1028 if (iph2->id_p) {
1030 plogdump(LLV_DEBUG, iph2->id_p->v, iph2->id_p->l);
1138 VPTRINIT(iph2->id_p);
1240 if (iph2->id_p != NULL)
1241 tlen += (sizeof(*gen) + iph2->id_p->l
1260 : (iph2->id_p != NULL
1268 (iph2->id_p == NULL)
1274 if (iph2->id_p != NULL) {
1276 p = set_isakmp_payload(p, iph2->id_p, ISAKMP_NPTYPE_ID);
1835 if (iph2->id_p == NULL) {
1851 iddst = vdup(iph2->id_p);
1871 iph2->sainfo = getsainfo(idsrc, iddst, iph2->ph1->id_p, remoteid);
1918 if ((iph2->id_p != NULL && iph2->id == NULL)
1919 || (iph2->id_p == NULL && iph2->id != NULL)) {
2005 if (iph2->id_p != NULL
2006 && (_XIDT(iph2->id_p) == IPSECDOI_ID_IPV4_ADDR
2007 || _XIDT(iph2->id_p) == IPSECDOI_ID_IPV6_ADDR
2008 || _XIDT(iph2->id_p) == IPSECDOI_ID_IPV4_ADDR_SUBNET
2009 || _XIDT(iph2->id_p) == IPSECDOI_ID_IPV6_ADDR_SUBNET)) {
2011 error = ipsecdoi_id2sockaddr(iph2->id_p,
2022 if (_XIDT(iph2->id_p) == IPSECDOI_ID_IPV6_ADDR) {
2031 if (_XIDT(iph2->id_p) == idi2type