Go to the FreeLists Home Page Home Signup Help Login
 



[openbeosnetteam] || [Date Prev] [07-2006 Date Index] [Date Next] || [Thread Prev] [07-2006 Thread Index] [Thread Next]

[openbeosnetteam] Re: link level protocol

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: openbeosnetteam@xxxxxxxxxxxxx
  • Date: Fri, 21 Jul 2006 17:33:12 +0200 CEST
Oliver Tappe <openbeos@xxxxxxxxxxxxxxx> wrote:
> > However, you could still get the monitoring functionality when you
> > start packet capturing on that socket.
> Such that starting packet capturizing would route all data through 
> this 
> socket (even that for which other handlers exist)?

Exactly. Capturing would need support in the function that receives the 
packets from the device - same for raw sockets, though.
Ie. the logic could look like this:

new packet
        is there a packet monitor?
                yes - clone data for that monitor
        is there a handler?
                yes - deliver to that handler
                no - deliver to raw link sockets

> > Do you think that additional functionality makes sense? It would 
> > give
> > you the possibility to implement home-brewn (or proprietary) 
> > protocols
> > in userland, even though receiving data would be pretty inefficient
> > with more than one link level socket at a time - unless we 
> > implement
> > some additional filtering capabilities for that (which could more 
> > or
> > less easily be done, too, if we want to).
> Sounds good to me, unless the alternative be much less work (which I 
> doubt).

The amount of work should more or less be the same I guess.

Bye,
   Axel.






[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.