tcptrace PPPoE patches for libpcap (tcpdump) files along with previous PPP linktype integration

From: Yann Samama (ysamama@nortelnetworks.com)
Date: 07/21/03


Message-ID: <C76021BAF2A6D5119DE500508BCF455203E55D1B@zctfc004.europe.nortel.com>
From: "Yann Samama" <ysamama@nortelnetworks.com>
Subject: tcptrace PPPoE patches for libpcap (tcpdump) files along with previous PPP linktype integration
Date: Mon, 21 Jul 2003 11:05:55 +0200


All,

Please find enclosed in this e-mail three patches which add support for
PPPoE capture files encoded in libpcap format.

tcpdump.h.patch
 - added a function to calculate the byte offset with regards to the
encapsulation type :
   => straight Ethernet encapsulation
   => Point-to-Point Protocol over Ethernet encapsulation

tcpdump.c.patch
 - modified the switch case for Ethernet (DLT_EN10MB) to take into account
the calculated offset

tcptrace.h.patch
 - added some PPPoE constants definitions so that my code is more readable
and re-usable for other capture file formats.

Could you please test them and check that it does not break anything ?

Please note that those patches include also the modifications I made
previously to add support for PPP captures.

Best regards,

Yann.





----------------------------------------------------------------------------
To unsubscribe, send a message with body containing "unsubscribe tcptrace" to
majordomo@tcptrace.org.






This archive was generated by hypermail 2.1.7 : 07/21/03 EDT