tcpdump mailing list archives

Re: Patch to add DLT_AX25 handling to libpcap


From: Guy Harris <guy () alum mit edu>
Date: Thu, 4 Oct 2007 18:41:43 -0700


On Apr 3, 2007, at 2:57 PM, Richard Stearn wrote:

Guy Harris wrote:

pcap-linux.c could map ARPHRD_AX25 to DLT_AX25_KISS, which means AX. 25 captures done on Linux will have a file type of DLT_AX25_KISS.

As in:

declare DLT_AX25_KISS as X

and change:

pcap-linux.c
 1140          case ARPHRD_AX25:
 1141                  handle->linktype = DLT_AX25;
 1142                  break;

to
pcap-linux.c
 1140          case ARPHRD_AX25:
 1141                  handle->linktype = DLT_AX25_KISS;
 1142                  break;

I've checked that in, along with your other changes, modified to use DLT_AX25_KISS.
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: