Searched refs:id_p (Results 1 – 10 of 10) sorted by relevance
/external/ipsec-tools/src/racoon/ |
D | isakmp_quick.c | 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; 540 VPTRINIT(iph2->id_p); 922 iph2->id_p = NULL; 964 if (iph2->id_p == NULL) { [all …]
|
D | isakmp_ident.c | 579 VPTRINIT(iph1->id_p); 735 if (isakmp_p2ph(&iph1->id_p, pa->ptr) < 0) 806 plogdump(LLV_DEBUG, iph1->id_p->v, iph1->id_p->l); 834 VPTRINIT(iph1->id_p); 1290 VPTRINIT(iph1->id_p); 1430 if (isakmp_p2ph(&iph1->id_p, pa->ptr) < 0) 1483 if (iph1->id_p == NULL || iph1->pl_hash == NULL) 1492 if (iph1->id_p == NULL || iph1->sig_p == NULL) 1560 plogdump(LLV_DEBUG, iph1->id_p->v, iph1->id_p->l); 1585 VPTRINIT(iph1->id_p);
|
D | handler.h | 171 vchar_t *id_p; /* partner's ID minus general header */ member 299 vchar_t *id_p; /* peer's ID minus general header */ member
|
D | isakmp_base.c | 341 if (isakmp_p2ph(&iph1->id_p, pa->ptr) < 0) 384 if (iph1->nonce_p == NULL || iph1->id_p == NULL) { 425 VPTRINIT(iph1->id_p); 862 if (isakmp_p2ph(&iph1->id_p, pa->ptr) < 0) 910 if (iph1->nonce_p == NULL || iph1->id_p == NULL) { 949 VPTRINIT(iph1->id_p);
|
D | oakley.c | 858 + (sw == GENERATE ? iph1->id->l : iph1->id_p->l); 917 bp = (sw == GENERATE ? iph1->id : iph1->id_p); 1055 + (sw == GENERATE ? iph1->id->l : iph1->id_p->l); 1076 bp = (sw == GENERATE ? iph1->id : iph1->id_p); 1176 + (sw == GENERATE ? iph1->id_p->l : iph1->id->l); 1202 bp = (sw == GENERATE ? iph1->id_p : iph1->id); 1262 if (iph1->id_p == NULL || iph1->pl_hash == NULL) { 1329 if (iph1->id_p == NULL) { 1396 iph1->cert_p = dnssec_getcert(iph1->id_p); 1604 if (iph1->id_p == NULL || iph1->pl_hash == NULL) { [all …]
|
D | isakmp_agg.c | 409 if (isakmp_p2ph(&iph1->id_p, pa->ptr) < 0) 618 VPTRINIT(iph1->id_p); 859 if (isakmp_p2ph(&iph1->id_p, pa->ptr) < 0) 972 VPTRINIT(iph1->id_p);
|
D | ipsec_doi.c | 3603 if (iph1->id_p == NULL) { 3608 if (iph1->id_p->l < sizeof(*id_b)) { 3611 (u_long)iph1->id_p->l); 3615 id_b = (struct ipsecdoi_id_b *)iph1->id_p->v; 3694 ident.v = iph1->id_p->v + sizeof(*id_b); 3695 ident.l = iph1->id_p->l - sizeof(*id_b); 3704 if (iph1->id_p->l - sizeof(*id_b) != sizeof(struct in_addr)) 3712 if (iph1->id_p->l - sizeof(*id_b) != sizeof(struct in6_addr)) 4067 iph2->id_p = ipsecdoi_sockaddr2id((struct sockaddr *)&sp->spidx.dst, 4069 if (iph2->id_p == NULL) { [all …]
|
D | isakmp.c | 3443 if (iph2->id_p != NULL 3444 && (_XIDT(iph2->id_p) == IPSECDOI_ID_IPV4_ADDR 3445 || _XIDT(iph2->id_p) == IPSECDOI_ID_IPV6_ADDR 3446 || _XIDT(iph2->id_p) == IPSECDOI_ID_IPV4_ADDR_SUBNET 3447 || _XIDT(iph2->id_p) == IPSECDOI_ID_IPV6_ADDR_SUBNET)) { 3449 error = ipsecdoi_id2sockaddr(iph2->id_p, 3460 if (_XIDT(iph2->id_p) == IPSECDOI_ID_IPV6_ADDR) { 3470 if (_XIDT(iph2->id_p) == idi2type
|
D | handler.c | 358 VPTRINIT(iph1->id_p); 635 VPTRINIT(iph2->id_p);
|
/external/wpa_supplicant/ |
D | eap_psk.c | 32 u8 *id_s, *id_p; member 58 data->id_p = os_malloc(config->nai_len); in eap_psk_init() 59 if (data->id_p) in eap_psk_init() 60 os_memcpy(data->id_p, config->nai, config->nai_len); in eap_psk_init() 63 if (data->id_p == NULL) { in eap_psk_init() 77 os_free(data->id_p); in eap_psk_deinit() 147 os_memcpy((u8 *) (hdr2 + 1), data->id_p, data->id_p_len); in eap_psk_process_1() 155 os_memcpy(buf, data->id_p, data->id_p_len); in eap_psk_process_1()
|