From 90ae06d6ac1d2da3758389a70a20c91f3e9fd1dc Mon Sep 17 00:00:00 2001 From: julian Date: Thu, 26 Oct 1995 20:31:59 +0000 Subject: Reviewed by: julian and jhay@mikom.csir.co.za Submitted by: Mike Mitchell, supervisor@alb.asctmd.com This is a bulk mport of Mike's IPX/SPX protocol stacks and all the related gunf that goes with it.. it is not guaranteed to work 100% correctly at this time but as we had several people trying to work on it I figured it would be better to get it checked in so they could all get teh same thing to work on.. Mikes been using it for a year or so but on 2.0 more changes and stuff will be merged in from other developers now that this is in. Mike Mitchell, Network Engineer AMTECH Systems Corporation, Technology and Manufacturing 8600 Jefferson Street, Albuquerque, New Mexico 87113 (505) 856-8000 supervisor@alb.asctmd.com --- sys/netinet/in_proto.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'sys/netinet/in_proto.c') diff --git a/sys/netinet/in_proto.c b/sys/netinet/in_proto.c index e5cbcef..4e38754 100644 --- a/sys/netinet/in_proto.c +++ b/sys/netinet/in_proto.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)in_proto.c 8.2 (Berkeley) 2/9/95 - * $Id: in_proto.c,v 1.17 1995/06/26 16:11:51 wollman Exp $ + * $Id: in_proto.c,v 1.18 1995/09/21 17:58:07 wollman Exp $ */ #include @@ -68,6 +68,10 @@ * TCP/IP protocol family: IP, ICMP, UDP, TCP. */ +#ifdef IPXIP +void ipxip_input(), ipxip_ctlinput(); +#endif + #ifdef NSIP void idpip_input(), nsip_ctlinput(); #endif @@ -143,6 +147,13 @@ struct protosw inetsw[] = { eonprotoinit, 0, 0, 0, }, #endif +#ifdef IPXIP +{ SOCK_RAW, &inetdomain, IPPROTO_IDP, PR_ATOMIC|PR_ADDR, + ipxip_input, rip_output, ipxip_ctlinput, 0, + rip_usrreq, + 0, 0, 0, 0, +}, +#endif #ifdef NSIP { SOCK_RAW, &inetdomain, IPPROTO_IDP, PR_ATOMIC|PR_ADDR, idpip_input, rip_output, nsip_ctlinput, 0, -- cgit v1.1