Deleted Added
full compact
in_proto.c (10941) in_proto.c (11819)
1/*
2 * Copyright (c) 1982, 1986, 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

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
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 * @(#)in_proto.c 8.2 (Berkeley) 2/9/95
1/*
2 * Copyright (c) 1982, 1986, 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

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
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 * @(#)in_proto.c 8.2 (Berkeley) 2/9/95
34 * $Id: in_proto.c,v 1.17 1995/06/26 16:11:51 wollman Exp $
34 * $Id: in_proto.c,v 1.18 1995/09/21 17:58:07 wollman Exp $
35 */
36
37#include <sys/param.h>
38#include <sys/kernel.h>
39#include <sys/socket.h>
40#include <sys/protosw.h>
41#include <sys/domain.h>
42#include <sys/mbuf.h>

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

63#include <netinet/tcp_debug.h>
64#endif
65#include <netinet/udp.h>
66#include <netinet/udp_var.h>
67/*
68 * TCP/IP protocol family: IP, ICMP, UDP, TCP.
69 */
70
35 */
36
37#include <sys/param.h>
38#include <sys/kernel.h>
39#include <sys/socket.h>
40#include <sys/protosw.h>
41#include <sys/domain.h>
42#include <sys/mbuf.h>

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

63#include <netinet/tcp_debug.h>
64#endif
65#include <netinet/udp.h>
66#include <netinet/udp_var.h>
67/*
68 * TCP/IP protocol family: IP, ICMP, UDP, TCP.
69 */
70
71#ifdef IPXIP
72void ipxip_input(), ipxip_ctlinput();
73#endif
74
71#ifdef NSIP
72void idpip_input(), nsip_ctlinput();
73#endif
74
75#ifdef TPIP
76void tpip_input(), tpip_ctlinput(), tp_init(), tp_slowtimo(), tp_drain();
77int tp_ctloutput(), tp_usrreq();
78#endif

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

138/* EON (ISO CLNL over IP) */
139#ifdef EON
140{ SOCK_RAW, &inetdomain, IPPROTO_EON, 0,
141 eoninput, 0, eonctlinput, 0,
142 0,
143 eonprotoinit, 0, 0, 0,
144},
145#endif
75#ifdef NSIP
76void idpip_input(), nsip_ctlinput();
77#endif
78
79#ifdef TPIP
80void tpip_input(), tpip_ctlinput(), tp_init(), tp_slowtimo(), tp_drain();
81int tp_ctloutput(), tp_usrreq();
82#endif

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

142/* EON (ISO CLNL over IP) */
143#ifdef EON
144{ SOCK_RAW, &inetdomain, IPPROTO_EON, 0,
145 eoninput, 0, eonctlinput, 0,
146 0,
147 eonprotoinit, 0, 0, 0,
148},
149#endif
150#ifdef IPXIP
151{ SOCK_RAW, &inetdomain, IPPROTO_IDP, PR_ATOMIC|PR_ADDR,
152 ipxip_input, rip_output, ipxip_ctlinput, 0,
153 rip_usrreq,
154 0, 0, 0, 0,
155},
156#endif
146#ifdef NSIP
147{ SOCK_RAW, &inetdomain, IPPROTO_IDP, PR_ATOMIC|PR_ADDR,
148 idpip_input, rip_output, nsip_ctlinput, 0,
149 rip_usrreq,
150 0, 0, 0, 0,
151},
152#endif
153 /* raw wildcard */

--- 61 unchanged lines hidden ---
157#ifdef NSIP
158{ SOCK_RAW, &inetdomain, IPPROTO_IDP, PR_ATOMIC|PR_ADDR,
159 idpip_input, rip_output, nsip_ctlinput, 0,
160 rip_usrreq,
161 0, 0, 0, 0,
162},
163#endif
164 /* raw wildcard */

--- 61 unchanged lines hidden ---