Handling packets from kernel click to user process

Brecht Vermeulen brecht.vermeulen at rug.ac.be
Wed May 9 18:11:13 EDT 2001


hmm, last patch for Click was for 2.2.18, so no 2.4.x stuff...

brecht

Audun Tornquist wrote:
> 
> If you just want to hand packets from the kernel to user-space you might
> want to look into the netfilter extensions (that is, if you're running linux
> 2.4+)
> 
> /audun
> 
> > hmm, I think that's the whole problem, the linux kernel can't talk via
> > regular sockets or unix sockets with a user process (or am I wrong ?).
> > There exists something as netlink sockets which do a similar thing.
> > (traffic control and iproute use this to communicate with the linux
> > kernel as far as I know).
> >
> > Maybe that's indeed a solution, I'll look into it and we could use this
> > controlsocket/chattersocket communication protocol maybe.
> >
> > regards,
> > Brecht
> >
> > "Douglas S. J. De Couto" wrote:
> > >
> > > perhaps the ControlSocket/ChatterSocket idea can be adapted or
> > > generalized for the kernel module?
> > >
> > > i.e. let kernel click talk with user processes over a regular socket
> > > pair?  or over a unix socket?
> > >
> > > d
> > >
> > > --
> > > Douglas S. J. De Couto    decouto at lcs.mit.edu



More information about the click mailing list