Re: Synchronous board drivers

Andi Kleen (ak@muc.de)
Fri, 9 Jul 1999 01:51:21 +0200


On Fri, Jul 09, 1999 at 01:09:50AM +0200, Henner Eisen wrote:
> With a general ppp layer, a similar problem arises if the upper layer (ppp)
> wants to control the lower (link) layer accross netdevice boundaries.
> Thus, I was thinking about whether an official link control mechanism could
> be provided by the kernel. One possibility would be a dedicated packet type
> for control frames. The skb->cb[] trick would be another. But would the latter
> be abuse again or is the cb[] field intended for such use?

->cb is private information of the current layer. So it should be fine
to pass information from X25/PPP to the driver. Just make sure you don't
hit TCP/IP or possible other layers inbetween.

Some more link state in the generic part of the device would be nice too
- I sometimes wish TCP knew more about the status of my i4l devices.

-Andi

-- 
This is like TV. I don't like TV.

- 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/