First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

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

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?

Xin's avatar
1
Xin
asked 2022-06-08 05:57:52 +0000
Guy Harris's avatar
19.9k
Guy Harris
updated 2022-06-08 15:12:16 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

3 Answers

0

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.

grahamb's avatar
23.8k
grahamb
answered 2022-06-08 07:36:52 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

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

Chuckc's avatar
3k
Chuckc
answered 2022-06-08 12:37:04 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

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).
Guy Harris's avatar
19.9k
Guy Harris
answered 2022-06-08 15:19:42 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer