diff options
author | Pavel Roskin <proski@gnu.org> | 2007-07-12 02:53:54 -0400 |
---|---|---|
committer | Guido Guenther <agx@bogon.sigxcpu.org> | 2007-07-15 12:19:08 -0400 |
commit | 25e0528321d620ba35565f33a3938e53a14b5338 (patch) | |
tree | 0239240d1f93d0fe537616d95166f7819c777e01 | |
parent | 51ecefa1b4c8e24a1977ba4b682a2ecc0fdb1c12 (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.c | 42 |
1 files changed, 0 insertions, 42 deletions
@@ -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 |