Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 May 1999 22:50:24 -0400 (EDT)
From:      Larry Lile <lile@stdio.com>
To:        freebsd-tokenring@FreeBSD.ORG
Subject:   The source routing patches are available for 3.x
Message-ID:  <Pine.BSF.4.05.9905182245520.661-100000@heathers.stdio.com>
In-Reply-To: <Pine.BSF.4.02.9905181605260.471-100000@sasami.jurai.net>

next in thread | previous in thread | raw e-mail | index | archive | help

The generic source routing patches are available on
http://anarchy.stdio.com (or on Matthew Dodd's mirror)

These will allow any token-ring driver to source route
with only one minor caveat.  You *MUST* set m_pkthdr
to the beginning of your packet in the first mbuf.  This
allows the arp code to retrieve the arriving source
route.  See the oltr driver for an example (around 
line 1316 in if_oltr.c)

            m0->m_pkthdr.rcvif = &sc->arpcom.ac_if;
            m0->m_pkthdr.len = ByteCount;
            m0->m_len = 0;
            m0->m_data += 2;
            mbuf_size -=2;
            th = mtod(m0, struct iso88025_header *);
  >>>>>>>   m0->m_pkthdr.header = (void *)th;

            m = m0; mbuf_offset = 0; frag_offset = 0;


Hopefully I will get everything patched and tested under
3.2-RELEASE and we can get merged into stable soon.  
Make world is currently grinding away...

Larry Lile
lile@stdio.com



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?Pine.BSF.4.05.9905182245520.661-100000>