Deleted Added
full compact
tcp.c (29881) tcp.c (40060)
1/*-
2 * Copyright (c) 1980, 1992, 1993
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

--- 24 unchanged lines hidden (view full) ---

33
34#ifndef lint
35/* From:
36static char sccsid[] = "@(#)mbufs.c 8.1 (Berkeley) 6/6/93";
37static const char rcsid[] =
38 "Id: mbufs.c,v 1.5 1997/02/24 20:59:03 wollman Exp";
39*/
40static const char rcsid[] =
1/*-
2 * Copyright (c) 1980, 1992, 1993
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

--- 24 unchanged lines hidden (view full) ---

33
34#ifndef lint
35/* From:
36static char sccsid[] = "@(#)mbufs.c 8.1 (Berkeley) 6/6/93";
37static const char rcsid[] =
38 "Id: mbufs.c,v 1.5 1997/02/24 20:59:03 wollman Exp";
39*/
40static const char rcsid[] =
41 "$Id: icmp.c,v 1.1 1997/09/24 02:43:39 wollman Exp $";
41 "$Id: tcp.c,v 1.1 1997/09/27 00:44:55 wollman Exp $";
42#endif /* not lint */
43
44#include <sys/param.h>
45#include <sys/types.h>
46#include <sys/socket.h>
47#include <sys/sysctl.h>
48
49#include <netinet/in.h>

--- 85 unchanged lines hidden (view full) ---

135#undef L
136#undef R
137}
138
139static void
140domode(struct tcpstat *ret)
141{
142 const struct tcpstat *sub;
42#endif /* not lint */
43
44#include <sys/param.h>
45#include <sys/types.h>
46#include <sys/socket.h>
47#include <sys/sysctl.h>
48
49#include <netinet/in.h>

--- 85 unchanged lines hidden (view full) ---

135#undef L
136#undef R
137}
138
139static void
140domode(struct tcpstat *ret)
141{
142 const struct tcpstat *sub;
143 int i, divisor = 1;
143 int divisor = 1;
144
145 switch(currentmode) {
146 case display_RATE:
147 sub = &oldstat;
148 divisor = naptime;
149 break;
150 case display_DELTA:
151 sub = &oldstat;

--- 172 unchanged lines hidden ---
144
145 switch(currentmode) {
146 case display_RATE:
147 sub = &oldstat;
148 divisor = naptime;
149 break;
150 case display_DELTA:
151 sub = &oldstat;

--- 172 unchanged lines hidden ---