Home
last modified time | relevance | path

Searched refs:spisize (Results 1 – 5 of 5) sorted by relevance

/external/ipsec-tools/src/racoon/
Dproposal.c414 if (pr1->spisize == pr2->spisize)
421 if (pr1->spisize == sizeof(u_int16_t) &&
422 pr2->spisize == sizeof(u_int32_t)) {
424 } else if (pr2->spisize == sizeof(u_int16_t) &&
425 pr1->spisize == sizeof(u_int32_t)) {
438 (int)pr2->spisize, (int)pr1->spisize);
492 newpr->spisize = pr1->spisize;
789 newpr->spisize = p->prop->spi_size;
952 (int)pr->spisize,
1104 newpr->spisize = 2;
[all …]
Disakmp_inf.c656 tlen = sizeof(*d) + pr->spisize;
669 d->spi_size = pr->spisize;
677 spi -= pr->spisize;
678 memcpy(d + 1, spi, pr->spisize);
852 tlen = sizeof(*n) + pr->spisize;
867 n->spi_size = pr->spisize;
871 memcpy((caddr_t)(n + 1) + pr->spisize, data->v, data->l);
1066 tlen = sizeof(*n) + pr->spisize;
1086 n->spi_size = pr->spisize;
1090 memcpy((caddr_t)(n + 1) + pr->spisize, data->v, data->l);
Dproposal.h75 size_t spisize; /* spi size */ member
Disakmp_quick.c1527 tlen = sizeof(struct isakmp_pl_n) + iph2->approval->head->spisize;
1539 n->spi_size = sizeof(iph2->approval->head->spisize);
1541 memcpy(n + 1, &iph2->approval->head->spi, iph2->approval->head->spisize);
Dipsec_doi.c1677 spi -= pr->spisize;
1678 memcpy((caddr_t)p->prop + sizeof(*p->prop), spi, pr->spisize);
1720 + pr->spisize);