diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-03-02 16:04:35 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-03-02 20:53:23 +0100 |
commit | 9736efeb962a7e9b4e2e4929b04a0e88a1f690a7 (patch) | |
tree | 3f4490942a42ecb9b22dd1e8b9691addaa010a64 /netdissect.h | |
parent | fc84133d47585731ffc2455390b40d8306818434 (diff) | |
download | tcpdump-9736efeb962a7e9b4e2e4929b04a0e88a1f690a7.tar.gz |
Add "domain" as an option for -T
This allows tcpdump to handle DNS running on non-standard ports.
Add two test files with DNS over TCP and DNS over UDP, port 8053.
Diffstat (limited to 'netdissect.h')
-rw-r--r-- | netdissect.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/netdissect.h b/netdissect.h index fddcdc46..ba3b6b96 100644 --- a/netdissect.h +++ b/netdissect.h @@ -293,6 +293,7 @@ extern void nd_pop_all_packet_info(netdissect_options *); #define PT_RESP 17 /* RESP */ #define PT_PTP 18 /* PTP */ #define PT_SOMEIP 19 /* Autosar SOME/IP Protocol */ +#define PT_DOMAIN 20 /* Domain Name System (DNS) */ #ifndef min #define min(a,b) ((a)>(b)?(b):(a)) |