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

/external/ipsec-tools/src/racoon/
H A 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));
H A Dipsec_doi.c3599 struct ipsecdoi_id_b *id_b; local
3608 if (iph1->id_p->l < sizeof(*id_b)) {
3615 id_b = (struct ipsecdoi_id_b *)iph1->id_p->v;
3621 if (id_b->type != IPSECDOI_ID_IPV4_ADDR
3622 && id_b->type != IPSECDOI_ID_IPV6_ADDR) {
3625 "but %s.\n", s_ipsecdoi_ident(id_b->type));
3632 switch (id_b->type) {
3639 s_ipsecdoi_ident(id_b->type));
3644 if (id_b->type == IPSECDOI_ID_IPV4_ADDR ||
3645 id_b
3754 struct ipsecdoi_id_b id_b; local
4256 struct ipsecdoi_id_b *id_b = (struct ipsecdoi_id_b *)buf->v; local
4385 struct ipsecdoi_id_b *id_b = (struct ipsecdoi_id_b *)id->v; local
[all...]
H A Dcfparse.y1306 struct ipsecdoi_id_b *id_b;
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;
1345 cur_sainfo->id_i = vmalloc(sizeof(*id_b) + idv->l);
1351 id_b
[all...]
H A Doakley.c1915 struct ipsecdoi_id_b *id_b; local
1926 id_b = (struct ipsecdoi_id_b *)iph1->id_p->v;
1927 idlen = iph1->id_p->l - sizeof(*id_b);
1929 switch (id_b->type) {
1943 error = memcmp(id_b + 1, name->v, idlen);
1948 plogdump(LLV_DEBUG, id_b + 1, idlen);
1980 if (check_typeofcertname(id_b->type, type) == 0)
2014 error = memcmp(id_b + 1, a, idlen);
2020 plogdump(LLV_DEBUG, id_b + 1, idlen);
2046 if (check_typeofcertname(id_b
[all...]

Completed in 65 milliseconds