Searched refs:spi_size (Results 1 - 8 of 8) sorted by relevance

/macosx-10.10/ipsec-286.1.1/ipsec-tools/racoon/
H A Disakmp.h211 u_int8_t spi_size; /* SPI Size */ member in struct:isakmp_pl_p
320 u_int8_t spi_size; /* SPI Size */ member in struct:isakmp_pl_n
386 u_int8_t spi_size; /* SPI Size */ member in struct:isakmp_pl_d
442 u_int8_t spi_size; /* SPI Size */ member in struct:isakmp_pl_ru
454 u_int8_t spi_size; /* SPI Size */ member in struct:isakmp_pl_lb
466 u_int8_t spi_size; /* SPI Size */ member in struct:isakmp_pl_resp_lifetime
H A Disakmp_inf.c130 if (ntohs(notify->h.len) < sizeof(*notify) + notify->spi_size) {
132 "invalid spi_size in notification payload.\n");
135 spi = val2str((char *)(notify + 1), notify->spi_size);
140 ntohl(notify->doi), notify->proto_id, spi, notify->spi_size);
145 int len = ntohs(notify->h.len) - (sizeof(*notify) + notify->spi_size);
147 attrpl = (struct isakmp_pl_attr *)((char *)(notify + 1) + notify->spi_size);
161 if (ntohs(notify->h.len) < sizeof(*notify) + notify->spi_size) {
163 "invalid spi_size in notification payload.\n");
166 spi = val2str((char *)(notify + 1), notify->spi_size);
171 ntohl(notify->doi), notify->proto_id, spi, notify->spi_size);
[all...]
H A Dproposal.c754 if (sizeof(newpr->spi) < p->prop->spi_size) {
756 "invalid spi size %d.\n", p->prop->spi_size);
766 newpr->spisize = p->prop->spi_size;
770 spi -= p->prop->spi_size;
771 memcpy(spi, p->prop + 1, p->prop->spi_size);
782 t->prop->spi_size, t->prop->num_t,
H A Dipsec_doi.c218 sizeof(struct isakmp_pl_p) + s->prop->spi_size;
240 + s->prop->spi_size;
310 prop->spi_size, prop->num_t);
1276 if (check_spi_size(prop->proto_id, prop->spi_size) < 0)
1375 bp = (caddr_t)prop + sizeof(struct isakmp_pl_p) + prop->spi_size;
1377 - (sizeof(struct isakmp_pl_p) + prop->spi_size);
1486 newtlen += p->prop->spi_size;
1509 + p->prop->spi_size;
1522 memset(bp + sizeof(struct isakmp_pl_p), 0, p->prop->spi_size);
1658 + p->prop->spi_size;
2591 int spi_size = 0; local
[all...]
H A Disakmp_quick.c1975 n->spi_size = sizeof(iph2->approval->head->spisize);
H A Disakmp.c3666 np.spi_size = sizeof(isakmp_index);
/macosx-10.10/tcpdump-61/tcpdump/
H A Disakmp.h220 u_int8_t spi_size; /* SPI Size */ member in struct:ikev1_pl_p
321 u_int8_t spi_size; /* SPI Size */ member in struct:ikev1_pl_n
365 u_int8_t spi_size; /* SPI Size */ member in struct:ikev1_pl_d
398 u_int8_t spi_size; /* SPI Size */
450 u_int8_t spi_size; /* SPI Size */
397 u_int8_t spi_size; /* SPI Size */ member in struct:ikev2_p
449 u_int8_t spi_size; /* SPI Size */ member in struct:ikev2_n
H A Dprint-isakmp.c618 if (prop.spi_size) {
620 if (!rawprint(ndo, (caddr_t)(p + 1), prop.spi_size))
624 ext = (struct isakmp_gen *)((u_char *)(p + 1) + prop.spi_size);
1254 if (n.spi_size) {
1256 if (!rawprint(ndo, (caddr_t)(p + 1), n.spi_size))
1259 return (u_char *)(p + 1) + n.spi_size;
1274 if (n.spi_size) {
1276 if (!rawprint(ndo, (caddr_t)(p + 1), n.spi_size))
1280 cp = (u_char *)(p + 1) + n.spi_size;
1309 item_len - sizeof(*p) - n.spi_size,
[all...]

Completed in 210 milliseconds