Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jul 1998 08:47:19 -0700
From:      Paul Norton <pnorton@ccnusa.com>
To:        "Larry S. Lile" <lile@stdio.com>
Cc:        tokenring@FreeBSD.ORG
Subject:   Un-rolling token-ring packets? Need a little help. (fwd)
Message-ID:  <199807061547.IAA17945@grumpy.ccnvhi.com>
In-Reply-To: <Pine.SUN.3.91.980705153838.27270C-100000@heathers2.stdio.com>
References:  <Pine.SUN.3.91.980705153838.27270C-100000@heathers2.stdio.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807061547.IAA17945>