Searched refs:spi (Results 1 - 25 of 94) sorted by relevance

1234

/freebsd-10.0-release/contrib/tcpdump/
H A Denc.h45 u_int32_t spi; member in struct:enchdr
H A Dprint-ah.c49 u_int32_t spi; local
57 spi = EXTRACT_32BITS(&ah->ah_spi);
59 printf("AH(spi=0x%08x", spi);
H A Doakley.h115 vchar_t *spi; /* spi */
H A Dprint-enc.c71 printf("SPI 0x%08x: ", EXTRACT_32BITS(&hdr->spi));
/freebsd-10.0-release/sbin/setkey/
H A Dscriptdump.pl23 } elsif (/^\t(esp|ah) mode=(\S+) spi=(\d+).*reqid=(\d+)/) {
24 ($proto, $ipsecmode, $spi, $reqid) = ($1, $2, $3, $4);
36 print "$mode $src $dst $proto $spi";
/freebsd-10.0-release/sys/netipsec/
H A Dkey.h53 extern struct secpolicy *key_allocsp2(u_int32_t spi, union sockaddr_union *dst,
66 #define KEY_ALLOCSP2(spi, dst, proto, dir) \
67 key_allocsp2(spi, dst, proto, dir, __FILE__, __LINE__)
82 #define KEY_ALLOCSA(dst, proto, spi) \
83 key_allocsa(dst, proto, spi, __FILE__, __LINE__)
H A Dipsec_input.c126 u_int32_t spi; local
159 m_copydata(m, skip, sizeof(u_int32_t), (caddr_t) &spi);
162 (caddr_t) &spi);
167 spi = ntohl(htons(cpi));
208 sav = KEY_ALLOCSA(&dst_address, sproto, spi);
212 (u_long) ntohl(spi), sproto));
221 (u_long) ntohl(spi), sproto));
337 (u_long) ntohl(sav->spi)));
385 (u_long) ntohl(sav->spi)));
423 (u_long) ntohl(sav->spi)));
836 u_int32_t spi; local
[all...]
H A Dxform.h58 u_int32_t spi; member in struct:tdb_ident
H A Dxform_esp.c333 (u_long) ntohl(sav->spi)));
359 tdbi->spi == sav->spi &&
426 tc->tc_spi = sav->spi;
547 (u_long) ntohl(sav->spi)));
596 (u_long) ntohl(sav->spi)));
610 (u_long) ntohl(sav->spi)));
622 (u_long) ntohl(sav->spi)));
744 (u_long) ntohl(sav->spi)));
752 ipsec_address(&saidx->dst), (u_long) ntohl(sav->spi),
[all...]
H A Dxform_ipcomp.c211 tc->tc_spi = sav->spi;
305 (u_long) ntohl(sav->spi)));
398 (u_long) ntohl(sav->spi)));
407 (u_long) ntohl(sav->spi),
421 (u_long) ntohl(sav->spi)));
461 tc->tc_spi = sav->spi;
546 (u_long) ntohl(sav->spi)));
567 ipcomp->comp_cpi = htons((u_int16_t) ntohl(sav->spi));
593 (u_long) ntohl(sav->spi)));
/freebsd-10.0-release/contrib/llvm/tools/llvm-objdump/
H A DMCFunction.cpp96 for (std::set<uint64_t>::iterator spi = Splits.begin(),
97 spe = llvm::prior(Splits.end()); spi != spe; ++spi) {
99 uint64_t BlockEnd = *llvm::next(spi);
102 if (Instructions[ii].Address < *spi ||
107 f.addBlock(*spi, BB);
/freebsd-10.0-release/sys/mips/conf/
H A DAR71XX_BASE.hints45 hint.spi.0.at="nexus0"
46 hint.spi.0.maddr=0x1f000000
47 hint.spi.0.msize=0x10
H A DAR724X_BASE.hints45 hint.spi.0.at="nexus0"
46 hint.spi.0.maddr=0x1f000000
47 hint.spi.0.msize=0x10
/freebsd-10.0-release/tools/regression/ipsec/
H A Dipsec6.t15 spi="10000"
68 (echo "add -6 1::1 2::1 esp $spi -m transport -E $ealgo \"${ekey}\" -A $aalgo \"${akey}\" ;"
69 echo "add -6 2::1 1::1 esp `expr $spi + 1` -m transport -E $ealgo \"${ekey}\" -A $aalgo \"${akey}\" ;"
H A Dipsec.t15 spi="10000"
68 (echo "add ${ipbase}.0.1 ${ipbase}.1.1 esp $spi -m transport -E $ealgo \"${ekey}\" -A $aalgo \"${akey}\" ;"
69 echo "add ${ipbase}.1.1 ${ipbase}.0.1 esp `expr $spi + 1` -m transport -E $ealgo \"${ekey}\" -A $aalgo \"${akey}\" ;"
/freebsd-10.0-release/sys/dev/aic7xxx/
H A Daic79xx_osm.c710 cpi->xport_specific.spi.ppr_options = SID_SPI_CLOCK_DT_ST
731 struct ccb_trans_settings_spi *spi; local
739 spi = &cts->xport_specific.spi;
768 if ((spi->valid & CTS_SPI_VALID_DISC) != 0) {
769 if ((spi->flags & CTS_SPI_FLAGS_DISC_ENB) != 0)
782 if ((spi->valid & CTS_SPI_VALID_BUS_WIDTH) != 0) {
784 &spi->bus_width, ROLE_UNKNOWN);
785 ahd_set_width(ahd, &devinfo, spi->bus_width,
789 if ((spi
847 struct ccb_trans_settings_spi *spi; local
[all...]
H A Daic7xxx_osm.c606 struct ccb_trans_settings_spi *spi; local
615 spi = &cts->xport_specific.spi;
651 if ((spi->valid & CTS_SPI_VALID_DISC) != 0) {
652 if ((spi->flags & CTS_SPI_FLAGS_DISC_ENB) != 0)
665 if ((spi->valid & CTS_SPI_VALID_BUS_WIDTH) != 0) {
667 &spi->bus_width, ROLE_UNKNOWN);
668 ahc_set_width(ahc, &devinfo, spi->bus_width,
672 if ((spi->valid & CTS_SPI_VALID_PPR_OPTIONS) == 0) {
674 spi
831 struct ccb_trans_settings_spi *spi; local
[all...]
/freebsd-10.0-release/sys/dev/advansys/
H A Dadwcam.c471 struct ccb_trans_settings_spi *spi; local
479 spi = &cts->xport_specific.spi;
484 if ((spi->valid & CTS_SPI_VALID_DISC) != 0) {
490 if ((spi->flags & CTS_SPI_FLAGS_DISC_ENB) != 0)
507 if ((spi->valid & CTS_SPI_VALID_BUS_WIDTH) != 0) {
517 switch (spi->bus_width) {
543 if (((spi->valid & CTS_SPI_VALID_SYNC_RATE) != 0)
544 || ((spi->valid & CTS_SPI_VALID_SYNC_OFFSET) != 0)) {
557 if ((spi
597 struct ccb_trans_settings_spi *spi; local
[all...]
H A Dadvansys.c250 struct ccb_trans_settings_spi *spi; local
276 spi = &cts->xport_specific.spi;
278 if ((spi->valid & CTS_SPI_VALID_DISC) != 0) {
279 if ((spi->flags & CTS_SPI_FLAGS_DISC_ENB) != 0)
296 if ((spi->valid & CTS_SPI_VALID_DISC) != 0) {
297 if ((spi->flags & CTS_SPI_VALID_DISC) != 0)
316 if (((spi->valid & CTS_SPI_VALID_SYNC_RATE) != 0)
317 || ((spi->valid & CTS_SPI_VALID_SYNC_OFFSET) != 0)) {
322 if ((spi
349 struct ccb_trans_settings_spi *spi; local
[all...]
/freebsd-10.0-release/sys/cam/scsi/
H A Dscsi_xpt.c992 struct ccb_trans_settings_spi *spi; local
1012 spi = &cts.xport_specific.spi;
1017 if ((spi->valid & CTS_SPI_VALID_SYNC_RATE) == 0) {
1034 if ((spi->valid & CTS_SPI_VALID_SYNC_OFFSET) == 0
1035 || spi->sync_offset == 0 || spi->sync_period == 0) {
1057 spi->valid = CTS_SPI_VALID_SYNC_RATE | CTS_SPI_VALID_SYNC_OFFSET;
1059 spi->sync_period++;
1060 if (spi
2685 struct ccb_trans_settings_spi *spi; local
2964 struct ccb_trans_settings_spi *spi = local
2999 struct ccb_trans_settings_spi *spi; local
[all...]
/freebsd-10.0-release/sys/net/
H A Dif_enc.c78 u_int32_t spi; member in struct:enchdr
331 hdr.spi = 0;
342 hdr.spi = tdbi->spi;
349 hdr.spi = sav->spi;
360 /* hdr.spi already set above */
/freebsd-10.0-release/sys/dev/amr/
H A Damr_cam.c364 struct ccb_trans_settings_spi *spi; local
367 spi = &cts->xport_specific.spi;
379 spi->flags = CTS_SPI_FLAGS_DISC_ENB;
380 spi->bus_width = MSG_EXT_WDTR_BUS_32_BIT;
381 spi->sync_period = 6; /* 40MHz how wide is this bus? */
382 spi->sync_offset = 31; /* How to extract this from board? */
384 spi->valid = CTS_SPI_VALID_SYNC_RATE
/freebsd-10.0-release/sys/mips/cavium/octe/
H A Dwrapper-cvmx-includes.h42 #include <contrib/octeon-sdk/cvmx-spi.h>
/freebsd-10.0-release/sys/dev/aic/
H A Daic.c175 struct ccb_trans_settings_spi *spi = local
176 &cts->xport_specific.spi;
178 if ((spi->valid & CTS_SPI_VALID_DISC) != 0 &&
180 if ((spi->flags & CTS_SPI_FLAGS_DISC_ENB) != 0)
193 if ((spi->valid & CTS_SPI_VALID_SYNC_RATE) != 0) {
194 ti->goal.period = spi->sync_period;
203 if ((spi->valid & CTS_SPI_VALID_SYNC_OFFSET) != 0) {
204 ti->goal.offset = spi->sync_offset;
225 struct ccb_trans_settings_spi *spi = local
226 &cts->xport_specific.spi;
606 struct ccb_trans_settings_spi *spi = &neg.xport_specific.spi; local
[all...]
/freebsd-10.0-release/sys/dev/buslogic/
H A Dbt.c1265 struct ccb_trans_settings_spi *spi = local
1266 &cts->xport_specific.spi;
1273 spi->flags &= ~CTS_SPI_FLAGS_DISC_ENB;
1276 spi->flags |= CTS_SPI_FLAGS_DISC_ENB;
1281 spi->sync_period = 12;
1283 spi->sync_period = 25;
1285 spi->sync_period = 50;
1287 spi->sync_period = 0;
1289 if (spi->sync_period != 0)
1290 spi
2149 struct ccb_trans_settings_spi *spi = local
[all...]

Completed in 301 milliseconds

1234