lkml.org 
[lkml]   [1996]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: network drivers and user interface
Date
> - network device drivers in userland: is there a better way to feed
> packets into/out of the kernel to a userland network driver than
> converting the packets to SLIP and feeding them into a pty?
> I have some DSP boards which could be used as ham radio modems easily
> with a driver in userland...

SLIP is pretty efficient but the answer is yes at the moment. I have a
driver called psi2 that mostly works how I think god intended it an want
to get merged in. I'm happily doing over 1Mbit/second over a SLIP hack 8)


> - the other way round: is there an interface that allows me to get
> every packet in raw form of a single network driver? I know the
> SOCK_PACKET stuff, but there I get every packet of the specified type

Use bind*() with SOCK_PACKET



\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.051 / U:4.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site