summaryrefslogtreecommitdiffstats
path: root/sys/net/iso88025.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix whitespace issues.mdodd2003-03-151-20/+20
|
* Don't strip header from packets before input routine is called.mdodd2003-03-151-2/+1
|
* iso88025_ifattach() changes:mdodd2003-03-151-1/+4
| | | | | - Call if_attach(). - Conditionally call bpfattach() based on second function argument.
* - Remove definition of senderr() from iso88025.h.mdodd2003-03-151-1/+0
| | | | - Use definition of senderr() from if_ethersubr.c.
* use __packed/__aligned rather than GCC-specific __attribute__.alfred2002-09-231-2/+2
|
* Fix logic inversion bug.kbyanc2002-05-111-2/+2
|
* Roll my own min() (named ISO88025_MIN() so as to not cause conflicts) sokbyanc2002-05-081-2/+4
| | | | | | that this header may be included from userland where min() may not be declared (or worse, declared differently). I open to alternative solutions.
* Move ISO88025 source routing information into sockaddr_dl's sdl_datakbyanc2002-05-071-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | field. This returns the sdl_data field to a variable-length field. More importantly, this prevents a easily-reproduceable data-corruption bug when the interface name plus the hardware address exceed the sdl_data field's original 12 byte limit. However, token-ring interfaces may still overflow the new sdl_data field's 46 byte limit if the interface name exceeds 6 characters (since 6 characters for interface name plus 6 for hardware address plus 34 for source routing = the size of sdl_data). Further refinements could overcome this limitation but would break binary compatibility; this commit only addresses fixing the bug for commonly-occuring cases without breaking binary compatibility with the intention that the functionality can be MFC'ed to -stable. See message ID's (both send to -arch): 20020421013332.F87395-100000@gateway.posi.net 20020430181359.G11009-300000@gateway.posi.net for a more thorough description of the bug addressed and how to reproduce it. Approved by: silence on -arch and -net Sponsored by: NTT Multimedia Communications Labs MFC after: 1 week
* - Define payload length constants for 4Mbps and 16Mbps.mdodd2001-03-181-12/+22
| | | | | | | | - Use explicit sizes for header structure fields. - Use __attribute__ ((__packed__)) for header structures. - Define struct iso88025_rif; for future use. - Prototype upcoming iso88025_ifdetach() - Get rid of __P() constructs in prototypes.
* o Replace most magic numbers related to token ring with #defineslile2000-03-191-24/+34
| | | | | | | | | | from iso88025.h. o Add minimal llc support to iso88025_input. o Clean up most of the source routing code. * Submitted by: Nikolai Saoukh <nms@otdel-1.org>
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Submitted by: Larry Lilejulian1999-03-101-0/+7
| | | | | | | | Move the Olicom token ring driver to the officially sanctionned location of /sys/contrib. Also fix some brokenness in the generic token ring support. Be warned that if_dl.h has been changed and SOME programs might like recompilation.
* World, I'd like you to meet the first FreeBSD token Ring driver.julian1999-02-201-0/+105
This is for various Olicom cards. An IBM driver is following. This patch also adds support to tcpdump to decode packets on tokenring. Congratulations to the proud father.. (below) Submitted by: Larry Lile <lile@stdio.com>
OpenPOWER on IntegriCloud