lkml.org 
[lkml]   [1999]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Synchronous board drivers
Alan Cox wrote:
: > : Why is the character device emulation needed at all ?
: >
: > I occasionaly use sync line for transfering raw data instead
: > of some network protocol. I think most sync board drivers have
: > some sort of character device emulation. IMHO it would be wise
: > to move it to syncppp.c.
:
: How does this differ from AF_PACKET, SOCK_DGRAM sockets ?

Easier to use? More ioctls()? There are only 16 ioctls
for network device's private use, and in case of syncppp.c is not clear
how many ioctls to leave for the link layer and how many can use the
network driver.

-Yenya


--
\ Jan "Yenya" Kasprzak <kas at fi.muni.cz> http://www.fi.muni.cz/~kas/
\\ PGP: finger kas at aisa.fi.muni.cz 0D99A7FB206605D7 8B35FCDE05B18A5E //
\\\ Czech Linux Homepage: http://www.linux.cz/ ///
/// While Linux is larger than Emacs, at least Linux has the excuse \\\
// that it needs to be. --Linus Torvalds \\
-
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-2014 Jasper Spaans. Advertise on this site