tcp_usrreq.c (24face5416c3533334726bb13375382d9e700034) tcp_usrreq.c (218cbbea9a4ff5953d6c1b87438a876388b5a181)
1/*-
2 * Copyright (c) 1982, 1986, 1988, 1993
3 * The Regents of the University of California.
4 * Copyright (c) 2006-2007 Robert N. M. Watson
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

82#include <netinet/tcpip.h>
83#ifdef TCPDEBUG
84#include <netinet/tcp_debug.h>
85#endif
86
87/*
88 * TCP protocol interface to socket abstraction.
89 */
1/*-
2 * Copyright (c) 1982, 1986, 1988, 1993
3 * The Regents of the University of California.
4 * Copyright (c) 2006-2007 Robert N. M. Watson
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

82#include <netinet/tcpip.h>
83#ifdef TCPDEBUG
84#include <netinet/tcp_debug.h>
85#endif
86
87/*
88 * TCP protocol interface to socket abstraction.
89 */
90#ifdef TCPDEBUG
91extern const char *tcpstates[];
92#endif
93
94static int tcp_attach(struct socket *);
95static int tcp_connect(struct tcpcb *, struct sockaddr *,
96 struct thread *td);
97#ifdef INET6
98static int tcp6_connect(struct tcpcb *, struct sockaddr *,
99 struct thread *td);
100#endif /* INET6 */
101static void tcp_disconnect(struct tcpcb *);

--- 1765 unchanged lines hidden ---
90static int tcp_attach(struct socket *);
91static int tcp_connect(struct tcpcb *, struct sockaddr *,
92 struct thread *td);
93#ifdef INET6
94static int tcp6_connect(struct tcpcb *, struct sockaddr *,
95 struct thread *td);
96#endif /* INET6 */
97static void tcp_disconnect(struct tcpcb *);

--- 1765 unchanged lines hidden ---