tcpdump mailing list archives

Re: Request for a DLT code for IPMB packet ( WTAP_ENCAP_IPMB


From: "Toeung, Chanthy" <chanthy.toeung () ca kontron com>
Date: Wed, 15 Aug 2007 14:47:32 -0400

NOTE: WTAP_ENCAP_ values have no relation to the DLT_ values.

But when i use text2pcap to create pcap format, i need the DLT value, if i dont give a right DLT value, my packet will 
come out in other format ( or ethernet by default ).

So beside this, where should i go to modify the new DLT_IPMB that you have just assigned ?

Thanks

-----Original Message-----
From: tcpdump-workers-owner () lists tcpdump org
[mailto:tcpdump-workers-owner () lists tcpdump org]On Behalf Of Guy Harris
Sent: Wednesday, August 15, 2007 2:17 PM
To: tcpdump-workers () lists tcpdump org
Subject: Re: [tcpdump-workers] Request for a DLT code for IPMB packet (
WTAP_ENCAP_IPMB


Toeung, Chanthy wrote:
One more question, so what is the value of WTAP_ENCAP_IPMB that i should use for my dissector?

The next value after the last one in wiretap/wtap.h.  You will have to 
add that to your version of wiretap/wtap.h, and modify the IPMI 
dissector to handle that value.

Don't forget to add an entry for the new WTAP_ENCAP_IPMB value to the 
encap_table_base[] array.


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


Current thread: