[tcpdump-workers] DLT for IEEE802.15.4 no FCS frames

2010-08-06 Thread Jon Smirl
Can I request a DLT for IEEE802.15.4 no FCS frames. The ARPHRD for these frames is already in the Linux kernel: #define ARPHRD_IEEE802154 804 -- Jon Smirl jonsm...@gmail.com - This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.

Re: [tcpdump-workers] DLT for IEEE802.15.4 no FCS frames

2010-08-06 Thread Guy Harris
On Aug 6, 2010, at 11:47 AM, Jon Smirl wrote: > Can I request a DLT for IEEE802.15.4 no FCS frames. > > The ARPHRD for these frames is already in the Linux kernel: > #define ARPHRD_IEEE802154 804 So that's with a standard 802.15.4 header (as opposed to, say, headers with addresses padd

Re: [tcpdump-workers] DLT for IEEE802.15.4 no FCS frames

2010-08-06 Thread Jon Smirl
On Fri, Aug 6, 2010 at 2:51 PM, Guy Harris wrote: > > On Aug 6, 2010, at 11:47 AM, Jon Smirl wrote: > >> Can I request a DLT for IEEE802.15.4 no FCS frames. >> >> The ARPHRD for these frames is already in the Linux kernel: >> #define ARPHRD_IEEE802154         804 > > So that's with a standard 802.

Re: [tcpdump-workers] DLT for IEEE802.15.4 no FCS frames

2010-08-06 Thread Jon Smirl
On Fri, Aug 6, 2010 at 3:04 PM, Jon Smirl wrote: > On Fri, Aug 6, 2010 at 2:51 PM, Guy Harris wrote: >> >> On Aug 6, 2010, at 11:47 AM, Jon Smirl wrote: >> >>> Can I request a DLT for IEEE802.15.4 no FCS frames. >>> >>> The ARPHRD for these frames is already in the Linux kernel: >>> #define ARPHR

Re: [tcpdump-workers] DLT for IEEE802.15.4 no FCS frames

2010-08-06 Thread Guy Harris
On Aug 6, 2010, at 12:04 PM, Jon Smirl wrote: > Not all radios provide access to the FCS internally so it is stripped > in the Linux implementation. That's the only difference from the first > one. so we need another DLT > #define DLT_IEEE_802154 230 OK, I've added DLT_

Re: [tcpdump-workers] DLT for IEEE802.15.4 no FCS frames

2010-08-06 Thread Jon Smirl
Thanks for adding the DLT. Do I need this bit about LINKTYPE? I need the ARPHRD_IEEE802154 part for sure. commit a3e97e61f82acca21ed9f987a1c03c9a1b09724a Author: Jon Smirl Date: Fri Aug 6 09:17:25 2010 -0400 Add support for the DLT_IEEE802_15_4_NOFCS DLT type diff --git a/pcap-common.c

Re: [tcpdump-workers] DLT for IEEE802.15.4 no FCS frames

2010-08-06 Thread Guy Harris
On Aug 6, 2010, at 2:34 PM, Jon Smirl wrote: > Thanks for adding the DLT. > > Do I need this bit about LINKTYPE? If you want to be able to read 802.15.4-with-no-FCS captures with applications that use libpcap to read capture files, yes. > diff --git a/pcap-linux.c b/pcap-linux.c > index 70068