Home
last modified time | relevance | path

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

/external/ipsec-tools/src/racoon/
Disakmp_inf.c404 if(notify->spi_size > 0) {
405 if (ntohs(notify->h.len) < sizeof(*notify) + notify->spi_size) {
410 spi = val2str((char *)(notify + 1), notify->spi_size);
416 ntohl(notify->doi), notify->proto_id, spi, notify->spi_size);
424 l = ntohs(notify->h.len) - sizeof(*notify) - notify->spi_size;
427 nraw += sizeof(*notify) + notify->spi_size;
483 if (tlen != num_spi * delete->spi_size) {
502 if (delete->spi_size != sizeof(isakmp_index)) {
506 delete->spi_size, delete->proto_id);
528 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.c1539 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/wpa_supplicant_6/wpa_supplicant/src/eap_server/
Dikev2.c240 p->spi_size, p->num_transforms); in ikev2_parse_proposal()
264 if (ppos + p->spi_size > pend) { in ikev2_parse_proposal()
269 if (p->spi_size) { in ikev2_parse_proposal()
271 ppos, p->spi_size); in ikev2_parse_proposal()
272 ppos += p->spi_size; in ikev2_parse_proposal()
280 if (p->spi_size != 0) { in ikev2_parse_proposal()
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
Dikev2.c258 p->spi_size, p->num_transforms); in ikev2_parse_proposal()
282 if (ppos + p->spi_size > pend) { in ikev2_parse_proposal()
287 if (p->spi_size) { in ikev2_parse_proposal()
289 ppos, p->spi_size); in ikev2_parse_proposal()
290 ppos += p->spi_size; in ikev2_parse_proposal()
298 if (p->spi_size != 0) { in ikev2_parse_proposal()
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/
Dikev2_common.h55 u8 spi_size; member
/external/ipsec-tools/
DChangeLog183 checking spi_size but it's not. I'm not sure this patch is correct,