throughput.c (d24f017be800e31ad16d74ae3366abab383cefe0) | throughput.c (2764b86afdc99a30f4b1a4da2c04db8aa7aa785d) |
---|---|
1/*- 2 * Copyright (c) 1997 Brian Somers <brian@Awfulhak.org> 3 * 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 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 1997 Brian Somers <brian@Awfulhak.org> 3 * 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 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $Id: throughput.c,v 1.4.4.3 1998/04/03 19:25:59 brian Exp $ | 26 * $Id: throughput.c,v 1.4.4.4 1998/04/06 09:12:37 brian Exp $ |
27 */ 28 | 27 */ 28 |
29#include <sys/param.h> 30#include <netinet/in.h> | 29#include <sys/types.h> |
31 32#include <stdio.h> 33#include <termios.h> 34#include <time.h> 35 | 30 31#include <stdio.h> 32#include <termios.h> 33#include <time.h> 34 |
36#include "command.h" | |
37#include "log.h" 38#include "timer.h" 39#include "throughput.h" | 35#include "log.h" 36#include "timer.h" 37#include "throughput.h" |
40#include "loadalias.h" | |
41#include "vars.h" 42#include "descriptor.h" 43#include "prompt.h" 44 45void 46throughput_init(struct pppThroughput *t) 47{ 48 int f; --- 109 unchanged lines hidden --- | 38#include "vars.h" 39#include "descriptor.h" 40#include "prompt.h" 41 42void 43throughput_init(struct pppThroughput *t) 44{ 45 int f; --- 109 unchanged lines hidden --- |