Home
last modified time | relevance | path

Searched refs:id_b (Results 1 – 4 of 4) sorted by relevance

/external/ipsec-tools/src/racoon/
Ddnssec.c64 struct ipsecdoi_id_b *id_b; local
70 id_b = (struct ipsecdoi_id_b *)id->v;
72 namelen = id->l - sizeof(*id_b);
79 memcpy(name, id_b + 1, namelen);
82 switch (id_b->type) {
98 s_ipsecdoi_ident(id_b->type));
Dipsec_doi.c3603 struct ipsecdoi_id_b *id_b; local
3612 if (iph1->id_p->l < sizeof(*id_b)) {
3619 id_b = (struct ipsecdoi_id_b *)iph1->id_p->v;
3625 if (id_b->type != IPSECDOI_ID_IPV4_ADDR
3626 && id_b->type != IPSECDOI_ID_IPV6_ADDR) {
3629 "but %s.\n", s_ipsecdoi_ident(id_b->type));
3636 switch (id_b->type) {
3643 s_ipsecdoi_ident(id_b->type));
3648 if (id_b->type == IPSECDOI_ID_IPV4_ADDR ||
3649 id_b->type == IPSECDOI_ID_IPV6_ADDR) {
[all …]
Dcfparse.y1306 struct ipsecdoi_id_b *id_b; variable
1316 $$ = vmalloc(sizeof(*id_b) + $2->l);
1322 id_b = (struct ipsecdoi_id_b *)$$->v;
1323 id_b->type = idtype2doi($1);
1325 id_b->proto_id = 0;
1326 id_b->port = 0;
1328 memcpy($$->v + sizeof(*id_b), $2->v, $2->l);
1338 struct ipsecdoi_id_b *id_b; variable
1345 cur_sainfo->id_i = vmalloc(sizeof(*id_b) + idv->l);
1351 id_b = (struct ipsecdoi_id_b *)cur_sainfo->id_i->v;
[all …]
Doakley.c1938 struct ipsecdoi_id_b *id_b; local
1949 id_b = (struct ipsecdoi_id_b *)iph1->id_p->v;
1950 idlen = iph1->id_p->l - sizeof(*id_b);
1952 switch (id_b->type) {
1966 error = memcmp(id_b + 1, name->v, idlen);
1971 plogdump(LLV_DEBUG, id_b + 1, idlen);
2003 if (check_typeofcertname(id_b->type, type) == 0)
2037 error = memcmp(id_b + 1, a, idlen);
2043 plogdump(LLV_DEBUG, id_b + 1, idlen);
2069 if (check_typeofcertname(id_b->type, type) == 0)
[all …]