Deleted Added
full compact
ipx_proto.c (31742) ipx_proto.c (33181)
1/*
2 * Copyright (c) 1995, Mike Mitchell
3 * Copyright (c) 1984, 1985, 1986, 1987, 1993
4 * The Regents of the University of California. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * @(#)ipx_proto.c
35 *
1/*
2 * Copyright (c) 1995, Mike Mitchell
3 * Copyright (c) 1984, 1985, 1986, 1987, 1993
4 * The Regents of the University of California. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * @(#)ipx_proto.c
35 *
36 * $Id: ipx_proto.c,v 1.11 1997/06/26 19:35:55 jhay Exp $
36 * $Id: ipx_proto.c,v 1.12 1997/12/15 20:31:14 eivind Exp $
37 */
38
39#include "opt_ipx.h"
40
41#include <sys/param.h>
42#include <sys/socket.h>
43#include <sys/protosw.h>
44#include <sys/domain.h>

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

96 0,
97 0, 0, 0, 0,
98 &rip_usrreqs
99},
100#endif
101#endif
102};
103
37 */
38
39#include "opt_ipx.h"
40
41#include <sys/param.h>
42#include <sys/socket.h>
43#include <sys/protosw.h>
44#include <sys/domain.h>

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

96 0,
97 0, 0, 0, 0,
98 &rip_usrreqs
99},
100#endif
101#endif
102};
103
104struct domain ipxdomain =
104static struct domain ipxdomain =
105 { AF_IPX, "network systems", 0, 0, 0,
106 ipxsw, &ipxsw[sizeof(ipxsw)/sizeof(ipxsw[0])], 0,
107 rn_inithead, 16, sizeof(struct sockaddr_ipx)};
108
109DOMAIN_SET(ipx);
110SYSCTL_NODE(_net, PF_IPX, ipx, CTLFLAG_RW, 0,
111 "IPX/SPX");
112
113SYSCTL_NODE(_net_ipx, IPXPROTO_RAW, ipx, CTLFLAG_RW, 0, "IPX");
114SYSCTL_NODE(_net_ipx, IPXPROTO_SPX, spx, CTLFLAG_RW, 0, "SPX");
105 { AF_IPX, "network systems", 0, 0, 0,
106 ipxsw, &ipxsw[sizeof(ipxsw)/sizeof(ipxsw[0])], 0,
107 rn_inithead, 16, sizeof(struct sockaddr_ipx)};
108
109DOMAIN_SET(ipx);
110SYSCTL_NODE(_net, PF_IPX, ipx, CTLFLAG_RW, 0,
111 "IPX/SPX");
112
113SYSCTL_NODE(_net_ipx, IPXPROTO_RAW, ipx, CTLFLAG_RW, 0, "IPX");
114SYSCTL_NODE(_net_ipx, IPXPROTO_SPX, spx, CTLFLAG_RW, 0, "SPX");