Lines Matching refs:id_p
160 struct ipsecdoi_id_b *id, *id_p; local
212 plogdump(LLV_DEBUG, iph2->id_p->v, iph2->id_p->l);
222 id_p = (struct ipsecdoi_id_b *)iph2->id_p->v;
224 && id_p->proto_id == 0
239 tlen += sizeof(*gen) + iph2->id_p->l;
274 p = set_isakmp_payload(p, iph2->id_p, ISAKMP_NPTYPE_NONE);
435 vp = iph2->id_p;
541 VPTRINIT(iph2->id_p);
923 iph2->id_p = NULL;
965 if (iph2->id_p == NULL) {
969 if (isakmp_p2ph(&iph2->id_p, pa->ptr) < 0)
1027 if (iph2->id_p) {
1029 plogdump(LLV_DEBUG, iph2->id_p->v, iph2->id_p->l);
1137 VPTRINIT(iph2->id_p);
1239 if (iph2->id_p != NULL)
1240 tlen += (sizeof(*gen) + iph2->id_p->l
1259 : (iph2->id_p != NULL
1267 (iph2->id_p == NULL)
1273 if (iph2->id_p != NULL) {
1275 p = set_isakmp_payload(p, iph2->id_p, ISAKMP_NPTYPE_ID);
1834 if (iph2->id_p == NULL) {
1850 iddst = vdup(iph2->id_p);
1870 iph2->sainfo = getsainfo(idsrc, iddst, iph2->ph1->id_p, remoteid);
1917 if ((iph2->id_p != NULL && iph2->id == NULL)
1918 || (iph2->id_p == NULL && iph2->id != NULL)) {
2004 if (iph2->id_p != NULL
2005 && (_XIDT(iph2->id_p) == IPSECDOI_ID_IPV4_ADDR
2006 || _XIDT(iph2->id_p) == IPSECDOI_ID_IPV6_ADDR
2007 || _XIDT(iph2->id_p) == IPSECDOI_ID_IPV4_ADDR_SUBNET
2008 || _XIDT(iph2->id_p) == IPSECDOI_ID_IPV6_ADDR_SUBNET)) {
2010 error = ipsecdoi_id2sockaddr(iph2->id_p,
2021 if (_XIDT(iph2->id_p) == IPSECDOI_ID_IPV6_ADDR) {
2030 if (_XIDT(iph2->id_p) == idi2type