diff options
author | Casey Deccio <casey@deccio.net> | 2019-05-03 08:16:20 -0600 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-04-10 13:17:35 +0200 |
commit | 27bf32ee31ea4ad2575756ce6f8e04b118604f83 (patch) | |
tree | d2a6e06815636808a76acda7d0b89ee5cd74a199 /nameser.h | |
parent | 85b39920a628a21b8c2c2e51be1560f377d6666d (diff) | |
download | tcpdump-27bf32ee31ea4ad2575756ce6f8e04b118604f83.tar.gz |
DNS: Add printing the EDNS options
(pull request #762)
Diffstat (limited to 'nameser.h')
-rw-r--r-- | nameser.h | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -199,6 +199,22 @@ #define C_CACHE_FLUSH 0x8000 /* mDNS cache flush flag in replies */ /* + * Values for EDNS option types + */ + +#define E_NSID 3 /* name server identifier */ +#define E_DAU 5 /* signal DNSSEC algorithm understood */ +#define E_DHU 6 /* signal DS hash understood */ +#define E_N3U 7 /* signal NSEC3 hash understood */ +#define E_ECS 8 /* EDNS client subnet */ +#define E_EXPIRE 9 /* zone expiration */ +#define E_COOKIE 10 /* DNS cookies */ +#define E_KEEPALIVE 11 /* TCP keepalive */ +#define E_PADDING 12 /* pad DNS messages */ +#define E_CHAIN 13 /* chain DNS queries */ +#define E_KEYTAG 14 /* EDNS key tag */ + +/* * Status return codes for T_UNSPEC conversion routines */ #define CONV_SUCCESS 0 |