lkml.org 
[lkml]   [1999]   [Jul]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Synchronous board drivers
Krzysztof Halasa <khc@intrepid.pm.waw.pl> wrote:

> Why not use HDLC frames? That addds 2 bytes to the header, but would
> be consistent with other protos:

The address and control bytes are really part of the medium-specific
encapsulation. The data will be in a skbuff with enough headroom that
the channel code can easily add them if it needs them.

Of course, 2 bytes is nothing, really, and if it makes life easier for
most types of channel I don't mind putting them in. I thought they
were really only used for async serial channels though (and then
usually compressed out anyway). On balance I thought it was cleaner
and neater not to have to worry about those 2 bytes in the generic ppp
code.

Paul.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [from the cache]
©2003-2011 Jasper Spaans