Ask Your Question
0

How could I find some development codes such as config. h, epan/packet.h, plugins/epan/gryphon)

asked 2022-06-08 05:57:52 +0000

Xin gravatar image

updated 2022-06-08 15:12:16 +0000

Guy Harris gravatar image

I try to find some development codes such as config.h, but I could not find them in my Wireshark folder. Could you please tell me where I can find them?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
0

answered 2022-06-08 15:19:42 +0000

Guy Harris gravatar image

I try to find some development codes such as config.h, but I could not find them in my Wireshark folder.

The binary packages we supply for Windows and macOS do not include the source, and operating systems that include Wireshark as a package (Linux distributions, the *BSDs, etc.) generally don't provide the source in a binary package. (Build-from-source distributions such as Gentoo may be an exception.)

To get the source, either:

  1. get it from our GitLab repository, as suggested by @grahamb;
  2. download the source code for the release from the "Source Code" link on our download page, if your Wireshark was downloaded from our Web site;
  3. install the source package if your Wireshark came from a binary package provided by your operating system (those operating systems should provide a source package of some sort).
edit flag offensive delete link more
0

answered 2022-06-08 12:37:04 +0000

Chuckc gravatar image

config.h is created during the cmake step of the build process.

edit flag offensive delete link more
0

answered 2022-06-08 07:36:52 +0000

grahamb gravatar image

Wireshark source code is maintained in the Wireshark GitLab repository.

If developing code you should read the Wireshark Developers Guide thoroughly, there is a lot of very useful information in there.

There is also some ancillary info in the repository under the doc directory in the form of README.xxx files.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2022-06-08 05:57:52 +0000

Seen: 1,028 times

Last updated: Jun 08 '22