/freebsd-9.3-release/release/scripts/ |
H A D | kernels-install.sh | 29 sav=$KERNEL.sav 30 if [ -d $sav ]; then 32 echo "Removing existing $sav" 33 rm -rf $sav 35 echo "Saving existing $KERNEL as $sav" 36 mv $KERNEL $sav
|
/freebsd-9.3-release/sys/netipsec/ |
H A D | xform_tcp.c | 85 tcpsignature_init(struct secasvar *sav, struct xformsw *xsp) argument 89 if (sav->spi != htonl(TCP_SIG_SPI)) { 94 if (sav->alg_auth != SADB_X_AALG_TCP_MD5) { 96 __func__, sav->alg_auth)); 99 if (sav->key_auth == NULL) { 103 keylen = _KEYLEN(sav->key_auth); 118 tcpsignature_zeroize(struct secasvar *sav) argument 121 if (sav->key_auth) 122 bzero(sav->key_auth->key_data, _KEYLEN(sav 137 tcpsignature_input(struct mbuf *m, struct secasvar *sav, int skip, int protoff) argument [all...] |
H A D | xform_esp.c | 125 esp_hdrsiz(struct secasvar *sav) argument 129 if (sav != NULL) { 131 IPSEC_ASSERT(sav->tdb_encalgxform != NULL, 133 if (sav->flags & SADB_X_EXT_OLD) 137 size += sav->tdb_encalgxform->blocksize + 9; 139 if (sav->tdb_authalgxform != NULL && sav->replay) 140 size += ah_hdrsiz(sav); 159 esp_init(struct secasvar *sav, struct xformsw *xsp) argument 166 txform = esp_algorithm_lookup(sav 249 esp_zeroize(struct secasvar *sav) argument 269 esp_input(struct mbuf *m, struct secasvar *sav, int skip, int protoff) argument 468 struct secasvar *sav; local 684 struct secasvar *sav; local 922 struct secasvar *sav; local [all...] |
H A D | xform_ah.c | 80 #define HDRSIZE(sav) \ 81 (((sav)->flags & SADB_X_EXT_OLD) ? \ 88 #define AUTHSIZE(sav) ah_authsize(sav) 110 ah_authsize(struct secasvar *sav) argument 113 IPSEC_ASSERT(sav != NULL, ("%s: sav == NULL", __func__)); 115 if (sav->flags & SADB_X_EXT_OLD) 118 switch (sav->alg_auth) { 162 ah_hdrsiz(struct secasvar *sav) argument 183 ah_init0(struct secasvar *sav, struct xformsw *xsp, struct cryptoini *cria) argument 237 ah_init(struct secasvar *sav, struct xformsw *xsp) argument 253 ah_zeroize(struct secasvar *sav) argument 575 ah_input(struct mbuf *m, struct secasvar *sav, int skip, int protoff) argument 742 struct secasvar *sav; local 906 struct secasvar *sav; local 1137 struct secasvar *sav; local [all...] |
H A D | xform_ipcomp.c | 100 ipcomp_init(struct secasvar *sav, struct xformsw *xsp) argument 106 tcomp = ipcomp_algorithm_lookup(sav->alg_enc); 109 sav->alg_comp)); 112 sav->alg_comp = sav->alg_enc; /* set for doing histogram */ 113 sav->tdb_xform = xsp; 114 sav->tdb_compalgxform = tcomp; 118 cric.cri_alg = sav->tdb_compalgxform->type; 120 return crypto_newsession(&sav->tdb_cryptoid, &cric, V_crypto_support); 127 ipcomp_zeroize(struct secasvar *sav) argument 140 ipcomp_input(struct mbuf *m, struct secasvar *sav, int skip, int protoff) argument 227 struct secasvar *sav; local 348 struct secasvar *sav; local 484 struct secasvar *sav; local [all...] |
H A D | key.c | 345 #define KEY_CHKSASTATE(head, sav, name) \ 347 if ((head) != (sav)) { \ 349 (name), (head), (sav))); \ 553 sa_initref(struct secasvar *sav) argument 556 refcount_init(&sav->refcnt, 1); 559 sa_addref(struct secasvar *sav) argument 562 refcount_acquire(&sav->refcnt); 563 IPSEC_ASSERT(sav->refcnt != 0, ("SA refcnt overflow")); 566 sa_delref(struct secasvar *sav) argument 569 IPSEC_ASSERT(sav 812 struct secasvar *sav; local 893 struct secasvar *sav; local 940 struct secasvar *sav, *nextsav, *candidate, *d; local 1086 struct secasvar *sav; local 1231 key_addrefsa(struct secasvar *sav, const char* where, int tag) argument 1248 struct secasvar *sav = *psav; local 2728 struct secasvar *sav, *nextsav; local 2877 key_cleansav(struct secasvar *sav) argument 2983 struct secasvar *sav; local 3018 struct secasvar *sav; local 3294 key_mature(struct secasvar *sav) argument 3380 key_setdumpsa(struct secasvar *sav, u_int8_t type, u_int8_t satype, u_int32_t seq, u_int32_t pid) argument 4356 struct secasvar *sav, *nextsav; local 4982 struct secasvar *sav; local 5218 struct secasvar *sav; local 5602 struct secasvar *sav = NULL; local 5746 struct secasvar *sav, *nextsav; local 5870 struct secasvar *sav = NULL; local 6912 key_expire(struct secasvar *sav) argument 7055 struct secasvar *sav, *nextsav; local 7137 struct secasvar *sav; local 7945 key_sa_chgstate(struct secasvar *sav, u_int8_t state) argument [all...] |
H A D | xform.h | 107 extern int xform_init(struct secasvar *sav, int xftype); 119 extern int ah_zeroize(struct secasvar *sav); 125 extern size_t esp_hdrsiz(struct secasvar *sav);
|
H A D | key_debug.c | 498 if (isr->sav != NULL) 499 kdebug_secasv(isr->sav); 576 kdebug_secasv(sav) 577 struct secasvar *sav; 580 if (sav == NULL) 584 kdebug_secasindex(&sav->sah->saidx); 587 sav->refcnt, sav->state, sav->alg_auth, sav [all...] |
H A D | ipsec_output.c | 100 struct secasvar *sav; local 106 sav = isr->sav; 107 IPSEC_ASSERT(sav != NULL, ("null SA")); 108 IPSEC_ASSERT(sav->sah != NULL, ("null SAH")); 110 saidx = &sav->sah->saidx; 156 tdbi->spi = sav->spi; 191 key_sa_recordxfer(sav, m); /* record data transfer */ 213 if (sav->natt_type) { 220 if (sav 289 struct secasvar *sav; local 431 struct secasvar *sav; local 700 ipsec6_encapsulate(struct mbuf *m, struct secasvar *sav) argument [all...] |
H A D | ipsec_input.c | 125 struct secasvar *sav; local 208 sav = KEY_ALLOCSA(&dst_address, sproto, spi); 209 if (sav == NULL) { 218 if (sav->tdb_xform == NULL) { 223 KEY_FREESAV(&sav); 232 error = (*sav->tdb_xform->xf_input)(m, sav, skip, protoff); 233 KEY_FREESAV(&sav); 295 ipsec4_common_input_cb(struct mbuf *m, struct secasvar *sav, argument 311 IPSEC_ASSERT(sav ! 554 ipsec6_common_input_cb(struct mbuf *m, struct secasvar *sav, int skip, int protoff, struct m_tag *mt) argument 836 struct secasvar *sav; local [all...] |
H A D | xform_ipip.c | 366 struct secasvar *sav; local 380 sav = isr->sav; 381 IPSEC_ASSERT(sav != NULL, ("null SA")); 382 IPSEC_ASSERT(sav->sah != NULL, ("null SAH")); 389 saidx = &sav->sah->saidx; 399 (u_long) ntohl(sav->spi))); 479 (u_long) ntohl(sav->spi))); 560 if (sav->tdb_xform->xf_type == XF_IP4) 572 if (sav 592 ipe4_init(struct secasvar *sav, struct xformsw *xsp) argument 599 ipe4_zeroize(struct secasvar *sav) argument 606 ipe4_input(struct mbuf *m, struct secasvar *sav, int skip, int protoff) argument [all...] |
H A D | key.h | 84 #define KEY_ADDREFSA(sav) \ 85 key_addrefsa(sav, __FILE__, __LINE__)
|
H A D | ipsec6.h | 68 extern int ipsec6_common_input_cb(struct mbuf *m, struct secasvar *sav,
|
H A D | ipsec.c | 1234 isr->sav != NULL && 1235 isr->sav->tdb_authalgxform != NULL && 1360 clen = esp_hdrsiz(isr->sav); 1363 clen = ah_hdrsiz(isr->sav); 1441 ipsec_chkreplay(u_int32_t seq, struct secasvar *sav) argument 1449 IPSEC_ASSERT(sav != NULL, ("Null SA")); 1450 IPSEC_ASSERT(sav->replay != NULL, ("Null replay state")); 1452 replay = sav->replay; 1497 ipsec_updatereplay(u_int32_t seq, struct secasvar *sav) argument 1505 IPSEC_ASSERT(sav ! 1649 ipsec_logsastr(struct secasvar *sav) argument 1727 xform_init(struct secasvar *sav, int xftype) argument [all...] |
H A D | ipsec.h | 124 struct secasvar *sav; /* place holder of SA for use */ member in struct:ipsecrequest 425 extern int ipsec4_common_input_cb(struct mbuf *m, struct secasvar *sav,
|
/freebsd-9.3-release/tools/regression/usr.sbin/sa/ |
H A D | regress.t | 32 sa -i $DIR/v1-$ARCH-acct.in | check 3 $DIR/v1-$ARCH-sav.out 36 sa -P $DIR/v1-$ARCH-sav.in -U $DIR/v1-$ARCH-usr.in /dev/null | 37 check 5 $DIR/v1-$ARCH-sav.out 38 sa -m -P $DIR/v1-$ARCH-sav.in -U $DIR/v1-$ARCH-usr.in /dev/null | 42 cp $DIR/v1-$ARCH-sav.in $DIR/v2c-$ARCH-sav.in 44 sa -s -P $DIR/v2c-$ARCH-sav.in -U $DIR/v2c-$ARCH-usr.in /dev/null >/dev/null 45 sa -P $DIR/v2c-$ARCH-sav.in -U $DIR/v2c-$ARCH-usr.in /dev/null | 46 check 7 $DIR/v1-$ARCH-sav.out 47 sa -m -P $DIR/v2c-$ARCH-sav [all...] |
H A D | prime.sh | 27 $SANEW -i $LCDIR/v1-$ARCH-acct.in >v1-$ARCH-sav.out 30 rm -f v1-$ARCH-sav.in v1-$ARCH-usr.in 31 $SAOLD -s -P v1-$ARCH-sav.in -U v1-$ARCH-usr.in acct.in >/dev/null 33 rm -f v2-$ARCH-sav.in v2-$ARCH-usr.in 34 $SANEW -s -P v2-$ARCH-sav.in -U v2-$ARCH-usr.in acct.in >/dev/null
|
/freebsd-9.3-release/sys/netinet/ |
H A D | ip_ipsec.c | 240 sp->req->sav != NULL && 241 sp->req->sav->sah != NULL) { 242 ro = &sp->req->sav->sah->route_cache.sa_route; 315 if (sp->req->sav == NULL) 318 if (tdbi->spi == sp->req->sav->spi && 319 tdbi->proto == sp->req->sav->sah->saidx.proto && 320 bcmp(&tdbi->dst, &sp->req->sav->sah->saidx.dst,
|
/freebsd-9.3-release/sys/netinet6/ |
H A D | ip6_ipsec.c | 271 if ((*sp)->req->sav == NULL) 274 if (tdbi->spi == (*sp)->req->sav->spi && 275 tdbi->proto == (*sp)->req->sav->sah->saidx.proto && 276 bcmp(&tdbi->dst, &(*sp)->req->sav->sah->saidx.dst, 374 sp->req->sav != NULL && 375 sp->req->sav->sah != NULL) { 376 ro = &sp->req->sav->sah->route_cache.sa_route;
|
/freebsd-9.3-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-spinlock.h | 200 unsigned int sav; local 214 : [val] "+m" (*word), [tmp] "=&r" (tmp), [sav] "=&r" (sav)
|
/freebsd-9.3-release/lib/libdisk/ |
H A D | write_ia64_disk.c | 234 int error, idx, sav; local 242 sav = 0; 245 sav++; 247 if (sav > 0) { 248 save = malloc(sav * sizeof(struct gpt_ent)); 251 sav = 0; 255 save[sav] = tbl[idx]; 257 c->flags |= CHUNK_ITOF(sav); 258 sav++; 305 sav [all...] |
/freebsd-9.3-release/sys/net/ |
H A D | if_enc.c | 323 ipsec_bpf(struct mbuf *m, struct secasvar *sav, int af, int flags) argument 346 if (!sav) { 359 if (sav->alg_enc != SADB_EALG_NONE) 361 if (sav->alg_auth != SADB_AALG_NONE) 363 hdr.spi = sav->spi;
|
/freebsd-9.3-release/contrib/tcsh/ |
H A D | sh.exec.c | 152 Char *dp, **pv, **opv, **av, *sav; local 259 sav = Strspl(STRslash, *av);/* / command name for postpending */ 261 cleanup_push(sav, xfree); 263 Vsav = sav; 294 dp = Strspl(*pv, sav); 325 cleanup_until(sav); 328 xfree(sav); 817 Char *sav; local 827 sav = Strspl(STRslash, name); /* / command name for postpending */ 847 xfree(sav); [all...] |
/freebsd-9.3-release/release/picobsd/tinyware/view/ |
H A D | view.c | 115 VGLBitmap sav,clr; local 121 sav.Type=VGLDisplay->Type; 135 sav.Xsize=width; 136 sav.Ysize=height; 139 sav.Bitmap=(byte *)calloc(width*height,1); 146 VGLBitmapCopy(VGLDisplay,x1,y1,&sav,0,0,width,height); 175 VGLBitmapCopy(&sav,0,0,VGLDisplay,x1,y1,width,height); 177 free(sav.Bitmap);
|
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | spa.c | 1473 spa_aux_vdev_t *sav = &spa->spa_l2cache; local 1477 if (sav->sav_config != NULL) { 1478 VERIFY(nvlist_lookup_nvlist_array(sav->sav_config, 1486 oldvdevs = sav->sav_vdevs; 1487 oldnvdevs = sav->sav_count; 1488 sav->sav_vdevs = NULL; 1489 sav->sav_count = 0; 1527 vd->vdev_aux = sav; 1562 if (sav->sav_config == NULL) 1565 sav 1832 spa_aux_check_removed(spa_aux_vdev_t *sav) argument 3285 spa_validate_aux_devs(spa_t *spa, nvlist_t *nvroot, uint64_t crtxg, int mode, spa_aux_vdev_t *sav, const char *config, uint64_t version, vdev_labeltype_t label) argument 3384 spa_set_aux_vdevs(spa_aux_vdev_t *sav, nvlist_t **devs, int ndevs, const char *config) argument 3437 spa_aux_vdev_t *sav = &spa->spa_l2cache; local 6147 spa_sync_aux_dev(spa_t *spa, spa_aux_vdev_t *sav, dmu_tx_t *tx, const char *config, const char *entry) argument 6789 spa_aux_vdev_t *sav = &spa->spa_spares; local 6813 spa_aux_vdev_t *sav = &spa->spa_spares; local [all...] |