aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2007-07-12 02:53:54 -0400
committerGuido Guenther <agx@bogon.sigxcpu.org>2007-07-15 12:19:08 -0400
commit25e0528321d620ba35565f33a3938e53a14b5338 (patch)
tree0239240d1f93d0fe537616d95166f7819c777e01
parent51ecefa1b4c8e24a1977ba4b682a2ecc0fdb1c12 (diff)
[PATCH] Remove "a short overview on Ethernet-II, 802.2, 802.3 and SNAP"
It's way too big for a comment and doesn't belong to the source code. Signed-off-by: Pavel Roskin <proski@gnu.org>
-rw-r--r--at76_usb.c42
1 files changed, 0 insertions, 42 deletions
diff --git a/at76_usb.c b/at76_usb.c
index a4d10f8..af7d670 100644
--- a/at76_usb.c
+++ b/at76_usb.c
@@ -3577,48 +3577,6 @@ static const struct iw_handler_def at76_handler_def = {
.get_wireless_stats = at76_get_wireless_stats,
};
-/* A short overview on Ethernet-II, 802.2, 802.3 and SNAP
- (taken from http://www.geocities.com/billalexander/ethernet.html):
-
-Ethernet Frame Formats:
-
-Ethernet (a.k.a. Ethernet II)
-
- +---------+---------+---------+----------
- | Dst | Src | Type | Data...
- +---------+---------+---------+----------
-
- <-- 6 --> <-- 6 --> <-- 2 --> <-46-1500->
-
- Type 0x80 0x00 = TCP/IP
- Type 0x06 0x00 = XNS
- Type 0x81 0x37 = Novell NetWare
-
-802.3
-
- +---------+---------+---------+----------
- | Dst | Src | Length | Data...
- +---------+---------+---------+----------
-
- <-- 6 --> <-- 6 --> <-- 2 --> <-46-1500->
-
-802.2 (802.3 with 802.2 header)
-
- +---------+---------+---------+-------+-------+-------+----------
- | Dst | Src | Length | DSAP | SSAP |Control| Data...
- +---------+---------+---------+-------+-------+-------+----------
-
- <- 1 -> <- 1 -> <- 1 -> <-43-1497->
-
-SNAP (802.3 with 802.2 and SNAP headers)
-
- +---------+---------+---------+-------+-------+-------+-----------+---------+-----------
- | Dst | Src | Length | 0xAA | 0xAA | 0x03 | Org Code | Type | Data...
- +---------+---------+---------+-------+-------+-------+-----------+---------+-----------
-
- <-- 3 --> <-- 2 --> <-38-1492->
-
-*/
static const u8 snapsig[] = { 0xaa, 0xaa, 0x03 };
/* RFC 1042 encapsulates Ethernet frames in 802.2 SNAP (0xaa, 0xaa, 0x03) with