Toeung, Chanthy wrote:
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,
It's 199, as per my earlier mail.
So beside this, where should i go to modify the new DLT_IPMB that you have just
assigned ?
You don't.
You modify wiretap/libpcap.c in Wireshark to map a DLT value of 199 to
WTAP_ENCAP_IPMB. (Wireshark doesn't use DLT_ values in its
libpcap-reading code, so that it can handle DLT_ values that aren't
defined in the libpcap header files on the system on which it's being
built.)
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.