summaryrefslogtreecommitdiff
path: root/sys/net/netisr.h
diff options
context:
space:
mode:
authorEsben Norby <norby@cvs.openbsd.org>2008-04-23 10:55:15 +0000
committerEsben Norby <norby@cvs.openbsd.org>2008-04-23 10:55:15 +0000
commit8694db9f97b2d1604d2285ca01ea73760386f1bc (patch)
tree4fd89de9cf376a77bb5a6468574b4529a20130aa /sys/net/netisr.h
parentc9d717b5186297c9c69c69b1e39f99859000ec30 (diff)
Import MPLS (Multi Protocol Label Switching)
MPLS support partly based on the (abandoned?) AYAME project. Basic LSR (Label Switch Router) functionality is present, but not fully functional yet. It is currently possible to insert entries in the LIB (Label Information Base) with route(8), but setting the operation type is not supported yet. Imported to allow more people to work on this in the coming weeks. ok claudio@ laurent@ dlg@
Diffstat (limited to 'sys/net/netisr.h')
-rw-r--r--sys/net/netisr.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/netisr.h b/sys/net/netisr.h
index 2887556c754..1ee79a8e39b 100644
--- a/sys/net/netisr.h
+++ b/sys/net/netisr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: netisr.h,v 1.30 2008/04/10 23:15:45 dlg Exp $ */
+/* $OpenBSD: netisr.h,v 1.31 2008/04/23 10:55:14 norby Exp $ */
/* $NetBSD: netisr.h,v 1.12 1995/08/12 23:59:24 mycroft Exp $ */
/*
@@ -64,6 +64,7 @@
#define NETISR_BRIDGE 29 /* for bridge processing */
#define NETISR_PPPOE 30 /* for pppoe processing */
#define NETISR_BT 31 /* same as AF_BLUETOOTH */
+#define NETISR_MPLS 3 /* XXX AF_MPLS would overflow */
#ifndef _LOCORE
#ifdef _KERNEL
@@ -81,6 +82,7 @@ void pppintr(void);
void bridgeintr(void);
void pppoeintr(void);
void btintr(void);
+void mplsintr(void);
#include <machine/atomic.h>
#define schednetisr(anisr) \