![]() ![]() # Create a build-specific directory under the /opt/wireshark/ directoryĬmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_wireshark=off -DENABLE_LUA=off. # Dependent on the problem resolution complete, delete the files generated by the test # Dependencies that may need to be installed # If you do not have cmake, please install it first export CMAKEV=3.28.0 # Resolve dependency issues according to the output red error log until they are ignored when a qt5 error occurs How to check the dependencies required for compilation. # Operate in the /opt/wireshark directory cd /opt/wireshark/ # Determine the latest release version and set environment variables export WIRESHARKV=4.2.0 gowireshark.go All external interfaces are encapsulated by Go.include/lib.h、offline.h、online.h The declaration of the wireshark interface is encapsulated in C and finally called by the Go encapsulation. ![]() The final interface is encapsulated with Go, and the user's Go program can be used directly The wireshark source files, copied out, must be placed hereĬode that encapsulates and enhances libpcap and wireshark functionality in C Detailed description of the project directory structure: file ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |