• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/ipsec-286.1.1/ipsec-tools/racoon/

Lines Matching refs:spi_size

130     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);
517 if(notify->spi_size > 0) {
518 if (ntohs(notify->h.len) < sizeof(*notify) + notify->spi_size) {
520 "Invalid spi_size in notification payload.\n");
523 spi = val2str((char *)(notify + 1), notify->spi_size);
529 ntohl(notify->doi), notify->proto_id, spi, notify->spi_size);
537 l = ntohs(notify->h.len) - sizeof(*notify) - notify->spi_size;
540 nraw += sizeof(*notify) + notify->spi_size;
649 if (tlen != num_spi * delete->spi_size) {
668 if (delete->spi_size != sizeof(isakmp_index)) {
672 delete->spi_size, delete->proto_id);
714 if (delete->spi_size != sizeof(u_int32_t)) {
718 delete->spi_size, delete->proto_id);
739 if (delete->spi_size == sizeof(spi.spi16[1])) {
742 } else if (delete->spi_size == sizeof(spi.spi32))
748 delete->spi_size, delete->proto_id);
799 d->spi_size = sizeof(isakmp_index);
892 d->spi_size = pr->spisize;
1015 n->spi_size = spisiz;
1096 n->spi_size = spisiz;
1162 n->spi_size = pr->spisize;
1418 n->spi_size = pr->spisize;
1911 ru_ack->spi_size = sizeof(isakmp_index);
2055 ru->spi_size = sizeof(isakmp_index);