tcpdump mailing list archives

Re: Request for DECT LINKTYPE


From: Matthias Wenzel <tcpdump () mazzoo de>
Date: Tue, 23 Dec 2008 10:04:55 +0100

Guy Harris wrote:

On Dec 22, 2008, at 1:58 PM, Matthias Wenzel wrote:

In contrast we have a very specific device, and there's no such thing as
a cordless or DECT layer within linux (yet). If there was we'd
appreciate to interface and record there...
But as of now there's a char device for a special HW, with ioctls and I
doubt anyone believes in transporting that very specifig thingie in
pcap...

I do.  You'd have pcap_create() for your platform look for a device
string that referred to your device, and call a separate _create routine
for your device; that routine would set up the activate routine for your
device, and that activate routine would open the character device, set
it up for capturing, and set up the other routines for your device, such
as the _read routine to read packets from it.

OK, thanks for clarification, I was thinking about a lower layer there...
Generally I don't disagree with pulling our stuff in libpcap, but how
could we reflect very DECT-specific settings in the pcap API, such as
setting a radio channel, setting a RFPI (like a MAC address), switching
between async scan mode and synchronized packet capure?

matthias
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: