diff options
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 b238191775e..99c23d68e13 100644 --- a/sys/net/if_spppsubr.c +++ b/sys/net/if_spppsubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_spppsubr.c,v 1.33 2005/05/13 20:17:02 brad Exp $ */ +/* $OpenBSD: if_spppsubr.c,v 1.34 2005/06/08 06:55:33 henning Exp $ */ /* * Synchronous PPP/Cisco link level subroutines. * Keepalive protocol implemented in both Cisco and PPP modes. @@ -99,11 +99,6 @@ #include <netipx/ipx_if.h> #endif -#ifdef NS -#include <netns/ns.h> -#include <netns/ns_if.h> -#endif - #include <net/if_sppp.h> #if defined (__FreeBSD__) @@ -563,15 +558,6 @@ sppp_input(struct ifnet *ifp, struct mbuf *m) } break; #endif -#ifdef NS - case PPP_XNS: - /* XNS IDPCP not implemented yet */ - if (sp->pp_phase == PHASE_NETWORK) { - schednetisr (NETISR_NS); - inq = &nsintrq; - } - break; -#endif } break; case CISCO_MULTICAST: @@ -606,12 +592,6 @@ sppp_input(struct ifnet *ifp, struct mbuf *m) inq = &ipxintrq; break; #endif -#ifdef NS - case ETHERTYPE_NS: - schednetisr (NETISR_NS); - inq = &nsintrq; - break; -#endif } break; default: /* Invalid PPP packet. */ @@ -779,12 +759,6 @@ sppp_output(struct ifnet *ifp, struct mbuf *m, } break; #endif -#ifdef NS - case AF_NS: /* Xerox NS Protocol */ - protocol = htons ((sp->pp_flags & PP_CISCO) ? - ETHERTYPE_NS : PPP_XNS); - break; -#endif #ifdef IPX case AF_IPX: /* Novell IPX Protocol */ protocol = htons ((sp->pp_flags & PP_CISCO) ? |