From owner-freebsd-tokenring Mon Jul 6 08:47:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA27909 for freebsd-tokenring-outgoing; Mon, 6 Jul 1998 08:47:57 -0700 (PDT) (envelope-from owner-freebsd-tokenring@FreeBSD.ORG) Received: from charon.ccnvhi.com (wkstn.ccnvhi.com [207.247.3.162] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id IAA27897 for ; Mon, 6 Jul 1998 08:47:51 -0700 (PDT) (envelope-from pnorton@ccnusa.com) Received: by charon.ccnvhi.com; (5.65v3.2/1.3/10May95) id AA28736; Mon, 6 Jul 1998 08:44:26 -0700 Date: Mon, 6 Jul 1998 08:47:19 -0700 Message-Id: <199807061547.IAA17945@grumpy.ccnvhi.com> From: Paul Norton Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "Larry S. Lile" Cc: tokenring@FreeBSD.ORG Subject: Un-rolling token-ring packets? Need a little help. (fwd) In-Reply-To: References: X-Mailer: VM 6.22 under 19.15 XEmacs Lucid Sender: owner-freebsd-tokenring@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Larry S. Lile writes: > what I know (or at least what I think) > ----- Token ring mac header ----- > 18 40 - Access control/Frame control (don't care - at least for now) > ff ff ff ff ff ff - (Destination address to me - no previous arp) > 80 00 83 2d 9f 35 - (Source address my olicom card in another machine, > but with source routing) > 82 70 - RCF (no RIF) > RCF 100 - All routes broadcast > 00000 - Length of RIF (0 bytes) > 0 - direction (forward) > 000 - largest frame (516 bytes) > 0010 - reserved (no touch!) > ----- Token ring llc header ------ > aa aa - dest sap / source sap (both ip) This is actually the Extended SAP - it says a SNAP header exists after the LLC header. > 03 - control field, no clue? (Only one byte because dlc_hdr_len = 3?) > after that I am lost. This is correct for SNAP. > Jul 5 14:47:51 anarchy /kernel: tok0: ack'ing packet to adapter (rc=0). > Jul 5 14:47:51 anarchy /kernel: tok: isrp e[2] o[8] isra e[7] o[10] > (tok_rx_intr 2). > Jul 5 14:47:51 anarchy /kernel: tok0: asb->bptr [aae] arb->bptr [aae]. > > I am getting very very close, I would hate to see this be for nothing > because I don't understand mbufs and the lower level protocols. Also > where is the ethertype field, in the SNAP? Where's the SNAP header? The SNAP header is five octets in length and immediately follows the LLC header. The last two bytes of the SNAP header is roughly equivalent to the Ethertype field. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-tokenring" in the body of the message