aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-coap.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-coap.h')
-rw-r--r--epan/dissectors/packet-coap.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/dissectors/packet-coap.h b/epan/dissectors/packet-coap.h
index e748f7552a..2842de74aa 100644
--- a/epan/dissectors/packet-coap.h
+++ b/epan/dissectors/packet-coap.h
@@ -86,6 +86,7 @@ typedef struct coap_common_dissect {
int opt_uri_path_recon;
int opt_observe_req;
int opt_observe_rsp;
+ int opt_hop_limit;
int opt_accept;
int opt_if_match;
int opt_block_number;
@@ -139,6 +140,7 @@ coap_common_dissect_t name = { \
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, \
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, \
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, \
+ -1, \
}, \
/* ett */ { \
-1, -1, \
@@ -316,6 +318,11 @@ coap_common_dissect_t name = { \
FT_UINT32, BASE_DEC, NULL, 0x0, \
NULL, HFILL } \
}, \
+ { & name .hf.opt_hop_limit, \
+ { "Hop Limit", prefix ".opt.hop_limit", \
+ FT_UINT8, BASE_DEC, NULL, 0x0, \
+ NULL, HFILL } \
+ }, \
{ & name .hf.opt_accept, \
{ "Accept", prefix ".opt.accept", \
FT_STRING, BASE_NONE, NULL, 0x0, \