inet.c (12996) | inet.c (13430) |
---|---|
1/* | 1/* |
2 * Copyright (c) 1983, 1988, 1993 | 2 * Copyright (c) 1983, 1988, 1993, 1995 |
3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. 10 * 2. Redistributions in binary form must reproduce the above copyright --- 16 unchanged lines hidden (view full) --- 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 */ 33 34#ifndef lint | 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. 10 * 2. Redistributions in binary form must reproduce the above copyright --- 16 unchanged lines hidden (view full) --- 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 */ 33 34#ifndef lint |
35static char sccsid[] = "@(#)inet.c 8.4 (Berkeley) 4/20/94"; | 35static char sccsid[] = "@(#)inet.c 8.5 (Berkeley) 5/24/95"; |
36#endif /* not lint */ 37 38#include <sys/param.h> 39#include <sys/socket.h> 40#include <sys/socketvar.h> 41#include <sys/mbuf.h> 42#include <sys/protosw.h> 43#include <sys/queue.h> --- 168 unchanged lines hidden (view full) --- 212 p(tcps_rcvwinprobe, "\t\t%d window probe%s\n"); 213 p(tcps_rcvwinupd, "\t\t%d window update packet%s\n"); 214 p(tcps_rcvafterclose, "\t\t%d packet%s received after close\n"); 215 p(tcps_rcvbadsum, "\t\t%d discarded for bad checksum%s\n"); 216 p(tcps_rcvbadoff, "\t\t%d discarded for bad header offset field%s\n"); 217 p(tcps_rcvshort, "\t\t%d discarded because packet too short\n"); 218 p(tcps_connattempt, "\t%d connection request%s\n"); 219 p(tcps_accepts, "\t%d connection accept%s\n"); | 36#endif /* not lint */ 37 38#include <sys/param.h> 39#include <sys/socket.h> 40#include <sys/socketvar.h> 41#include <sys/mbuf.h> 42#include <sys/protosw.h> 43#include <sys/queue.h> --- 168 unchanged lines hidden (view full) --- 212 p(tcps_rcvwinprobe, "\t\t%d window probe%s\n"); 213 p(tcps_rcvwinupd, "\t\t%d window update packet%s\n"); 214 p(tcps_rcvafterclose, "\t\t%d packet%s received after close\n"); 215 p(tcps_rcvbadsum, "\t\t%d discarded for bad checksum%s\n"); 216 p(tcps_rcvbadoff, "\t\t%d discarded for bad header offset field%s\n"); 217 p(tcps_rcvshort, "\t\t%d discarded because packet too short\n"); 218 p(tcps_connattempt, "\t%d connection request%s\n"); 219 p(tcps_accepts, "\t%d connection accept%s\n"); |
220 p(tcps_badsyn, "\t%d bad connection attempt%s\n"); |
|
220 p(tcps_connects, "\t%d connection%s established (including accepts)\n"); 221 p2(tcps_closed, tcps_drops, 222 "\t%d connection%s closed (including %d drop%s)\n"); 223 p(tcps_cachedrtt, "\t\t%d connection%s updated cached RTT on close\n"); 224 p(tcps_cachedrttvar, 225 "\t\t%d connection%s updated cached RTT variance on close\n"); 226 p(tcps_cachedssthresh, 227 "\t\t%d connection%s updated cached ssthresh on close\n"); --- 283 unchanged lines hidden --- | 221 p(tcps_connects, "\t%d connection%s established (including accepts)\n"); 222 p2(tcps_closed, tcps_drops, 223 "\t%d connection%s closed (including %d drop%s)\n"); 224 p(tcps_cachedrtt, "\t\t%d connection%s updated cached RTT on close\n"); 225 p(tcps_cachedrttvar, 226 "\t\t%d connection%s updated cached RTT variance on close\n"); 227 p(tcps_cachedssthresh, 228 "\t\t%d connection%s updated cached ssthresh on close\n"); --- 283 unchanged lines hidden --- |