diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2007-06-06 10:04:37 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2007-06-06 10:04:37 +0000 |
commit | 397bb4efff5f5ce0ddfbc4df19df010a55f83fd3 (patch) | |
tree | fbe0d679ed017f111393d7a75b6a59b2a2ab36c1 /sys/net/if_spppsubr.c | |
parent | e1751a5b2fbccb22b93c8e619d13b264be75364f (diff) |
remove remaining IPX hooks. all inside #ifdef IPX, so no actual change
Diffstat (limited to 'sys/net/if_spppsubr.c')
-rw-r--r-- | sys/net/if_spppsubr.c | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c index 0eb6f1020bb..f434fbb5c79 100644 --- a/sys/net/if_spppsubr.c +++ b/sys/net/if_spppsubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_spppsubr.c,v 1.51 2007/05/28 06:31:01 mcbride Exp $ */ +/* $OpenBSD: if_spppsubr.c,v 1.52 2007/06/06 10:04:36 henning Exp $ */ /* * Synchronous PPP/Cisco link level subroutines. * Keepalive protocol implemented in both Cisco and PPP modes. @@ -82,11 +82,6 @@ # error Huh? sppp without INET? #endif -#ifdef IPX -#include <netipx/ipx.h> -#include <netipx/ipx_if.h> -#endif - #include <net/if_sppp.h> #if defined (__FreeBSD__) @@ -542,15 +537,6 @@ sppp_input(struct ifnet *ifp, struct mbuf *m) } break; #endif -#ifdef IPX - case PPP_IPX: - /* IPX IPXCP not implemented yet */ - if (sp->pp_phase == PHASE_NETWORK) { - schednetisr (NETISR_IPX); - inq = &ipxintrq; - } - break; -#endif } break; case CISCO_MULTICAST: @@ -579,12 +565,6 @@ sppp_input(struct ifnet *ifp, struct mbuf *m) inq = &ipintrq; break; #endif -#ifdef IPX - case ETHERTYPE_IPX: - schednetisr (NETISR_IPX); - inq = &ipxintrq; - break; -#endif } break; default: /* Invalid PPP packet. */ @@ -752,12 +732,6 @@ sppp_output(struct ifnet *ifp, struct mbuf *m, } break; #endif -#ifdef IPX - case AF_IPX: /* Novell IPX Protocol */ - protocol = htons ((sp->pp_flags & PP_CISCO) ? - ETHERTYPE_IPX : PPP_IPX); - break; -#endif default: m_freem(m); ++ifp->if_oerrors; |