Home
last modified time | relevance | path

Searched refs:spi_size (Results 1 – 9 of 9) sorted by relevance

/external/ipsec-tools/src/racoon/
Disakmp_inf.c408 if(notify->spi_size > 0) {
409 if (ntohs(notify->h.len) < sizeof(*notify) + notify->spi_size) {
414 spi = val2str((char *)(notify + 1), notify->spi_size);
420 ntohl(notify->doi), notify->proto_id, spi, notify->spi_size);
428 l = ntohs(notify->h.len) - sizeof(*notify) - notify->spi_size;
431 nraw += sizeof(*notify) + notify->spi_size;
487 if (tlen != num_spi * delete->spi_size) {
506 if (delete->spi_size != sizeof(isakmp_index)) {
510 delete->spi_size, delete->proto_id);
532 if (delete->spi_size != sizeof(u_int32_t)) {
[all …]
Disakmp.h206 u_int8_t spi_size; /* SPI Size */ member
315 u_int8_t spi_size; /* SPI Size */ member
379 u_int8_t spi_size; /* SPI Size */ member
422 u_int8_t spi_size; /* SPI Size */ member
Dsecurity.c114 bp = (caddr_t)prop + sizeof(struct isakmp_pl_p) + prop->spi_size;
116 (sizeof(struct isakmp_pl_p) + prop->spi_size);
Dproposal.c777 if (sizeof(newpr->spi) < p->prop->spi_size) {
779 "invalid spi size %d.\n", p->prop->spi_size);
789 newpr->spisize = p->prop->spi_size;
793 spi -= p->prop->spi_size;
794 memcpy(spi, p->prop + 1, p->prop->spi_size);
805 t->prop->spi_size, t->prop->num_t,
Dipsec_doi.c229 sizeof(struct isakmp_pl_p) + s->prop->spi_size;
251 + s->prop->spi_size;
347 prop->spi_size, prop->num_t);
1065 if (p->prop->spi_size != r->prop->spi_size) {
1068 p->prop->spi_size);
1371 if (check_spi_size(prop->proto_id, prop->spi_size) < 0)
1470 bp = (caddr_t)prop + sizeof(struct isakmp_pl_p) + prop->spi_size;
1472 - (sizeof(struct isakmp_pl_p) + prop->spi_size);
1577 newtlen += p->prop->spi_size;
1598 + p->prop->spi_size;
[all …]
Disakmp_quick.c1538 n->spi_size = sizeof(iph2->approval->head->spisize);
/external/tcpdump/
Disakmp.h209 u_int8_t spi_size; /* SPI Size */ member
310 u_int8_t spi_size; /* SPI Size */ member
354 u_int8_t spi_size; /* SPI Size */ member
Dprint-isakmp.c494 if (prop.spi_size) { in isakmp_p_print()
496 if (!rawprint((caddr_t)(p + 1), prop.spi_size)) in isakmp_p_print()
500 ext = (struct isakmp_gen *)((u_char *)(p + 1) + prop.spi_size); in isakmp_p_print()
1047 if (n.spi_size) { in isakmp_n_print()
1049 if (!rawprint((caddr_t)(p + 1), n.spi_size)) in isakmp_n_print()
1052 return (u_char *)(p + 1) + n.spi_size; in isakmp_n_print()
1067 if (n.spi_size) { in isakmp_n_print()
1069 if (!rawprint((caddr_t)(p + 1), n.spi_size)) in isakmp_n_print()
1073 cp = (u_char *)(p + 1) + n.spi_size; in isakmp_n_print()
1102 item_len - sizeof(*p) - n.spi_size, in isakmp_n_print()
[all …]
/external/ipsec-tools/
DChangeLog151 checking spi_size but it's not. I'm not sure this patch is correct,