Lines Matching refs:spi
340 char *spi; local
410 spi = val2str((char *)(notify + 1), notify->spi_size);
416 ntohl(notify->doi), notify->proto_id, spi, notify->spi_size);
418 racoon_free(spi);
461 } spi; local
543 memset(&spi, 0, sizeof(spi));
544 if (delete->spi_size == sizeof(spi.spi16[1])) {
545 memcpy(&spi.spi16[1], delete + 1,
546 sizeof(spi.spi16[1]));
547 } else if (delete->spi_size == sizeof(spi.spi32))
548 memcpy(&spi.spi32, delete + 1, sizeof(spi.spi32));
557 &spi.spi32, num_spi);
630 u_int8_t *spi; local
675 spi = (u_int8_t *)&pr->spi;
676 spi += sizeof(pr->spi);
677 spi -= pr->spisize;
678 memcpy(d + 1, spi, pr->spisize);
869 *(u_int32_t *)(n + 1) = pr->spi;
1088 *(u_int32_t *)(n + 1) = pr->spi; /* XXX */
1099 purge_isakmp_spi(proto, spi, n) in purge_isakmp_spi() argument
1101 isakmp_index *spi; /*network byteorder*/
1108 iph1 = getph1byindex(&spi[i]);
1115 isakmp_pindex(&spi[i], 0));
1126 purge_ipsec_spi(dst0, proto, spi, n) in purge_ipsec_spi() argument
1129 u_int32_t *spi; /*network byteorder*/
1149 plog(LLV_DEBUG2, LOCATION, NULL, "SPI: %08X\n", ntohl(spi[0]));
1240 ntohl(spi[i]), ntohl(sa->sadb_sa_spi));
1241 if (spi[i] != sa->sadb_sa_spi)
1254 iph2 = getph2bysaidx(src, dst, proto, spi[i]);
1265 ntohl(spi[i]));