mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-17 00:44:33 +00:00
a1bd1faeeb
I found on an (old) AIX 5.1 machine that stdint.h didn't exist while inttypes.h which is expected to include it does exist and provides the desired functionalities. As explained here, stdint being just a subset of inttypes for use in freestanding environments, it's probably always OK to switch to inttypes instead: https://pubs.opengroup.org/onlinepubs/009696799/basedefs/stdint.h.html Also it's even clearer here in the autoconf doc : https://www.gnu.org/software/autoconf/manual/autoconf-2.61/html_node/Header-Portability.html "The C99 standard says that inttypes.h includes stdint.h, so there's no need to include stdint.h separately in a standard environment. Some implementations have inttypes.h but not stdint.h (e.g., Solaris 7), but we don't know of any implementation that has stdint.h but not inttypes.h" |
||
---|---|---|
.. | ||
packet-happp.c | ||
README | ||
wireshark.happp.dissector.patch |
------------------------------------------------------------------------ How to build wireshark with HAProxy Peers Protocol dissection support. ------------------------------------------------------------------------ Please note that at this time, HAProxy Peers Protocol dissection is not supported on Windows systems (could not be tested). 1) File list ------------- - packet-happp.c: source code for HAProxy Peers Protocol (HAPPP) dissection support. - wireshark.happp.dissector.patch: a patch file for wireshark sources to enable HAPPP dissection support. Note that this patch file modifies only two files: (epan/dissectors/CMakeLists.txt and epan/dissectors/Makefile.am) to add packet-happp.c file DISSECTOR_SRC variable which list all wireshark - README: this file. 2) To build wireshark with HAPPP dissection support --------------------------------------------------- - Download wireshark sources: $ git clone https://code.wireshark.org/review/wireshark - copy packet-happp.c file to epan/dissectors/ directory. - apply wireshark.happp.dissector.patch file to wireshark source directory. - build wireshark (see https://www.wireshark.org/docs/wsdg_html_chunked/): $ ./autogen.sh $ ./configure $ make