Deleted Added
full compact
in_proto.c (34746) in_proto.c (38482)
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.45 1997/12/15 20:31:11 eivind Exp $
34 * $Id: in_proto.c,v 1.46 1998/03/21 11:33:57 peter Exp $
35 */
36
37#include "opt_ipdivert.h"
38#include "opt_ipx.h"
39
40#include <sys/param.h>
41#include <sys/kernel.h>
42#include <sys/socket.h>

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

66#include <netipx/ipx_ip.h>
67#endif
68
69#ifdef NSIP
70#include <netns/ns.h>
71#include <netns/ns_if.h>
72#endif
73
35 */
36
37#include "opt_ipdivert.h"
38#include "opt_ipx.h"
39
40#include <sys/param.h>
41#include <sys/kernel.h>
42#include <sys/socket.h>

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

66#include <netipx/ipx_ip.h>
67#endif
68
69#ifdef NSIP
70#include <netns/ns.h>
71#include <netns/ns_if.h>
72#endif
73
74#ifdef TPIP
75void tpip_input(), tpip_ctlinput(), tp_init(), tp_slowtimo(), tp_drain();
76int tp_ctloutput(), tp_usrreq();
77#endif
78
79#ifdef EON
80void eoninput(), eonctlinput(), eonprotoinit();
81#endif /* EON */
82
83extern struct domain inetdomain;
84static struct pr_usrreqs nousrreqs;
85
86struct protosw inetsw[] = {
87{ 0, &inetdomain, 0, 0,
88 0, 0, 0, 0,
89 0,
90 ip_init, 0, ip_slowtimo, ip_drain,

--- 116 unchanged lines hidden ---
74extern struct domain inetdomain;
75static struct pr_usrreqs nousrreqs;
76
77struct protosw inetsw[] = {
78{ 0, &inetdomain, 0, 0,
79 0, 0, 0, 0,
80 0,
81 ip_init, 0, ip_slowtimo, ip_drain,

--- 116 unchanged lines hidden ---