From 25e0528321d620ba35565f33a3938e53a14b5338 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Thu, 12 Jul 2007 02:53:54 -0400 Subject: [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 --- at76_usb.c | 42 ------------------------------------------ 1 file changed, 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 -- cgit v1.2.3