Deleted Added
full compact
tcp.c (47769) tcp.c (49472)
1/*-
2 * Copyright (c) 1999 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) 1999 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: tcp.c,v 1.3 1999/05/24 16:39:15 brian Exp $
26 * $Id: tcp.c,v 1.4 1999/06/05 21:35:54 brian Exp $
27 */
28
29#include <sys/types.h>
30#include <sys/socket.h>
31#include <netinet/in.h>
32#include <arpa/inet.h>
33#include <netdb.h>
34

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

39#include <sys/uio.h>
40#include <termios.h>
41#include <unistd.h>
42
43#include "layer.h"
44#include "defs.h"
45#include "mbuf.h"
46#include "log.h"
27 */
28
29#include <sys/types.h>
30#include <sys/socket.h>
31#include <netinet/in.h>
32#include <arpa/inet.h>
33#include <netdb.h>
34

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

39#include <sys/uio.h>
40#include <termios.h>
41#include <unistd.h>
42
43#include "layer.h"
44#include "defs.h"
45#include "mbuf.h"
46#include "log.h"
47#include "sync.h"
48#include "timer.h"
49#include "lqr.h"
50#include "hdlc.h"
51#include "throughput.h"
52#include "fsm.h"
53#include "lcp.h"
54#include "ccp.h"
55#include "link.h"

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

104 NULL,
105 NULL,
106 NULL,
107 NULL,
108 NULL,
109 NULL,
110 NULL,
111 NULL,
47#include "timer.h"
48#include "lqr.h"
49#include "hdlc.h"
50#include "throughput.h"
51#include "fsm.h"
52#include "lcp.h"
53#include "ccp.h"
54#include "link.h"

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

103 NULL,
104 NULL,
105 NULL,
106 NULL,
107 NULL,
108 NULL,
109 NULL,
110 NULL,
111 NULL,
112 NULL
113};
114
115struct device *
116tcp_iov2device(int type, struct physical *p, struct iovec *iov,
117 int *niov, int maxiov)
118{
119 if (type == TCP_DEVICE) {

--- 73 unchanged lines hidden ---
112 NULL
113};
114
115struct device *
116tcp_iov2device(int type, struct physical *p, struct iovec *iov,
117 int *niov, int maxiov)
118{
119 if (type == TCP_DEVICE) {

--- 73 unchanged lines hidden ---