Wireshark-dev: [Wireshark-dev] What is the process to submit patches for my new DLT support cod
From: "Fulko Hew" <fulko.hew@xxxxxxxxx>
Date: Mon, 23 Jul 2007 11:09:35 -0400
a)What is the proper procedure to get my code/support for my new DLT type
  incorporated into the official release of PCAP?
b) See Note 1 for a second question.

The changes amount to:

1/ gencode.c: Add a 'case DLT_SITA'.
2/ pcap-bpf.h: Add '#define DLT_SITA 196'.
3/ pcap.c: Add "DLT_CHOICE(DLT_SITA, "SITA");'.
4/ fad-getad.c: Add an "#ifndef" around some code.
5/ pcap-linux.c:  Add a few 'ifdefs' and a few lines of code
6/ pcap-sita.h:  Add my new code (See Note 1)

Note 1:

I know putting code into an H file is bad style, but this is the easiest
approach for me (right now)... because I don't understand the
.configure philosophy/procedure.  :-(
or what I might need to change there to make my changes fit in better.

What I think I need to do is change the configure process to
accept a '--with-SITA' option so that a 'define' statement is added
and the makefile is altered to include my new C file rather than an H file.

But like I said... Im not sure how to do that.
If anyone can help improve my understanding, I'd appreciate it.