diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-01-11 21:02:22 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-01-12 05:02:52 +0000 |
commit | b09286cf5b89b65b8db23e2e6a0ecf0cd9c28153 (patch) | |
tree | 851887bffdc297ed6a2be14610427613466979e7 /epan/dissectors/packet-tpkt.h | |
parent | 6f47bcd902d725e7323107e92dfc9879c538e6b4 (diff) |
Move the definition of TEXT_LAYER_LENGTH to packet-tpkt.c.
It's not used by anything outside the TPKT dissector - and probably
*shouldn't* be used by anything outside the TPKT dissector.
Clean up some white space while we're at it.
Change-Id: I9bb9642a002fb9e8bd6c36d80d7653ef9af615d4
Reviewed-on: https://code.wireshark.org/review/13204
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-tpkt.h')
-rw-r--r-- | epan/dissectors/packet-tpkt.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/epan/dissectors/packet-tpkt.h b/epan/dissectors/packet-tpkt.h index 59df5562a5..cc81381f95 100644 --- a/epan/dissectors/packet-tpkt.h +++ b/epan/dissectors/packet-tpkt.h @@ -35,8 +35,6 @@ * TPKT header must be at least "4+min_len" in order for this to be a * valid TPKT PDU for the protocol in question. */ -static const int TEXT_LAYER_LENGTH = 9; - WS_DLL_PUBLIC int is_tpkt(tvbuff_t *tvb, int min_len); /* @@ -46,7 +44,6 @@ WS_DLL_PUBLIC void dissect_tpkt_encap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gboolean desegment, dissector_handle_t subdissector_handle); - /* * Check whether this could be a ASCII TPKT-encapsulated PDU. * Returns -1 if it's not, and the PDU length from the TPKT header @@ -56,7 +53,6 @@ WS_DLL_PUBLIC void dissect_tpkt_encap(tvbuff_t *tvb, packet_info *pinfo, * TPKT header must be at least "8+min_len" in order for this to be a * valid TPKT PDU for the protocol in question. */ - extern guint16 is_asciitpkt(tvbuff_t *tvb); /* @@ -64,4 +60,3 @@ extern guint16 is_asciitpkt(tvbuff_t *tvb); */ extern void dissect_asciitpkt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, dissector_handle_t subdissector_handle); - |