summaryrefslogtreecommitdiff
path: root/sys/net/if_ethersubr.c
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2008-11-23 23:44:02 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2008-11-23 23:44:02 +0000
commit36d86842c62d9f315ab7ef88ca0d65df1b403787 (patch)
tree7a95a3954994cbe36ebba8ac731d19f72aa6c278 /sys/net/if_ethersubr.c
parent1d7e5147d3dc81330b16094ced38b06c932348c5 (diff)
softraid support for ata over ethernet (aoe). this includes a client and
part of a server. there's no configuration yet, and several other drawbacks, but it can be hammered into shape. i haven't moved the code forward in a year, and marco wants it in the tree to hack on.
Diffstat (limited to 'sys/net/if_ethersubr.c')
-rw-r--r--sys/net/if_ethersubr.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c
index dcbaab93b0c..8adca1c9a9b 100644
--- a/sys/net/if_ethersubr.c
+++ b/sys/net/if_ethersubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ethersubr.c,v 1.127 2008/10/16 19:12:51 naddy Exp $ */
+/* $OpenBSD: if_ethersubr.c,v 1.128 2008/11/23 23:44:01 tedu Exp $ */
/* $NetBSD: if_ethersubr.c,v 1.19 1996/05/07 02:40:30 thorpej Exp $ */
/*
@@ -135,6 +135,10 @@ didn't get a copy, you may request one from <license@ipv6.nrl.navy.mil>.
#include <net/if_trunk.h>
#endif
+#ifdef AOE
+#include <net/if_aoe.h>
+#endif /* AOE */
+
#ifdef INET6
#ifndef INET
#include <netinet/in.h>
@@ -736,6 +740,11 @@ decapsulate:
schednetisr(NETISR_PPPOE);
break;
#endif /* NPPPOE > 0 */
+#ifdef AOE
+ case ETHERTYPE_AOE:
+ aoe_input(ifp, m);
+ goto done;
+#endif /* AOE */
#ifdef MPLS
case ETHERTYPE_MPLS:
case ETHERTYPE_MPLS_MCAST: