Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net Add NETISRs for SLIP and STRIP. (Geez, I wish we ha...



details:   https://anonhg.NetBSD.org/src/rev/7bcd7cb45432
branches:  trunk
changeset: 501910:7bcd7cb45432
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Jan 09 05:03:10 2001 +0000

description:
Add NETISRs for SLIP and STRIP.  (Geez, I wish we had the softintr
API everywhere...)

diffstat:

 sys/net/netisr.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (27 lines):

diff -r 36cea87eb146 -r 7bcd7cb45432 sys/net/netisr.h
--- a/sys/net/netisr.h  Tue Jan 09 04:42:48 2001 +0000
+++ b/sys/net/netisr.h  Tue Jan 09 05:03:10 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netisr.h,v 1.23 2000/07/03 02:16:07 cgd Exp $ */
+/* $NetBSD: netisr.h,v 1.24 2001/01/09 05:03:10 thorpej Exp $ */
 
 /*
  * Copyright (c) 1980, 1986, 1989, 1993
@@ -60,6 +60,8 @@
 #include "opt_ns.h"
 #include "opt_natm.h" 
 #include "arp.h"
+#include "sl.h"
+#include "strip.h"
 #include "ppp.h"
 #endif /* !defined(_LKM) */
 
@@ -129,6 +131,8 @@
 #define        NETISR_ISDN     26              /* same as AF_E164 */
 #define        NETISR_NATM     27              /* same as AF_NATM */
 #define        NETISR_ARP      28              /* same as AF_ARP */
+#define        NETISR_SLIP     29              /* for SLIP processing */
+#define        NETISR_STRIP    30              /* for STRIP processing */
 #define        NETISR_PPP      31              /* for PPP processing */
 
 #if defined(_KERNEL) && !defined(_LOCORE)



Home | Main Index | Thread Index | Old Index