spx_reass.c (33181) | spx_reass.c (35599) |
---|---|
1/* 2 * Copyright (c) 1995, Mike Mitchell 3 * Copyright (c) 1984, 1985, 1986, 1987, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 19 unchanged lines hidden (view full) --- 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)spx_usrreq.h 35 * | 1/* 2 * Copyright (c) 1995, Mike Mitchell 3 * Copyright (c) 1984, 1985, 1986, 1987, 1993 4 * The Regents of the University of California. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 19 unchanged lines hidden (view full) --- 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)spx_usrreq.h 35 * |
36 * $Id: spx_usrreq.c,v 1.17 1997/09/14 03:10:41 peter Exp $ | 36 * $Id: spx_usrreq.c,v 1.18 1998/02/09 06:10:26 eivind Exp $ |
37 */ 38 39#include <sys/param.h> 40#include <sys/systm.h> 41#include <sys/malloc.h> 42#include <sys/mbuf.h> 43#include <sys/proc.h> 44#include <sys/protosw.h> --- 1089 unchanged lines hidden (view full) --- 1134} 1135 1136static int spx_do_persist_panics = 0; 1137 1138static void 1139spx_setpersist(cb) 1140 register struct spxpcb *cb; 1141{ | 37 */ 38 39#include <sys/param.h> 40#include <sys/systm.h> 41#include <sys/malloc.h> 42#include <sys/mbuf.h> 43#include <sys/proc.h> 44#include <sys/protosw.h> --- 1089 unchanged lines hidden (view full) --- 1134} 1135 1136static int spx_do_persist_panics = 0; 1137 1138static void 1139spx_setpersist(cb) 1140 register struct spxpcb *cb; 1141{ |
1142 register t = ((cb->s_srtt >> 2) + cb->s_rttvar) >> 1; | 1142 register int t = ((cb->s_srtt >> 2) + cb->s_rttvar) >> 1; |
1143 1144 if (cb->s_timer[SPXT_REXMT] && spx_do_persist_panics) 1145 panic("spx_output REXMT"); 1146 /* 1147 * Start/restart persistance timer. 1148 */ 1149 SPXT_RANGESET(cb->s_timer[SPXT_PERSIST], 1150 t*spx_backoff[cb->s_rxtshift], --- 778 unchanged lines hidden --- | 1143 1144 if (cb->s_timer[SPXT_REXMT] && spx_do_persist_panics) 1145 panic("spx_output REXMT"); 1146 /* 1147 * Start/restart persistance timer. 1148 */ 1149 SPXT_RANGESET(cb->s_timer[SPXT_PERSIST], 1150 t*spx_backoff[cb->s_rxtshift], --- 778 unchanged lines hidden --- |