diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:26 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:26 +0000 |
commit | c4e8a3222648fcf22ca207f1815ebbf7cd144eeb (patch) | |
tree | 93d5c6aa93d9987680dd1adad5685e2ad698f223 /epan/dissectors/packet-ipsi-ctl.c | |
parent | Adding upstream version 4.2.6. (diff) | |
download | wireshark-c4e8a3222648fcf22ca207f1815ebbf7cd144eeb.tar.xz wireshark-c4e8a3222648fcf22ca207f1815ebbf7cd144eeb.zip |
Adding upstream version 4.4.0.upstream/4.4.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/dissectors/packet-ipsi-ctl.c')
-rw-r--r-- | epan/dissectors/packet-ipsi-ctl.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/epan/dissectors/packet-ipsi-ctl.c b/epan/dissectors/packet-ipsi-ctl.c index 8dc73a10..8f71b657 100644 --- a/epan/dissectors/packet-ipsi-ctl.c +++ b/epan/dissectors/packet-ipsi-ctl.c @@ -19,23 +19,23 @@ void proto_register_ipsictl(void); void proto_reg_handoff_ipsictl(void); -static dissector_handle_t ipsictl_handle = NULL; +static dissector_handle_t ipsictl_handle; #define IPSICTL_PORT 5010 /* Not IANA registered */ #define IPSICTL_PDU_MAGIC 0x0300 -static int proto_ipsictl = -1; +static int proto_ipsictl; -static int hf_ipsictl_pdu = -1; -static int hf_ipsictl_magic = -1; -static int hf_ipsictl_length = -1; -static int hf_ipsictl_type = -1; -static int hf_ipsictl_sequence = -1; -static int hf_ipsictl_field1 = -1; -static int hf_ipsictl_data = -1; +static int hf_ipsictl_pdu; +static int hf_ipsictl_magic; +static int hf_ipsictl_length; +static int hf_ipsictl_type; +static int hf_ipsictl_sequence; +static int hf_ipsictl_field1; +static int hf_ipsictl_data; -static gint ett_ipsictl = -1; -static gint ett_ipsictl_pdu = -1; +static int ett_ipsictl; +static int ett_ipsictl_pdu; static int dissect_ipsictl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_) { @@ -47,14 +47,14 @@ static int dissect_ipsictl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int loffset = 0; int llength = 0; int remaining_length; - guint16 magic; - guint16 length; - guint16 type=0; - guint16 sequence=0; + uint16_t magic; + uint16_t length; + uint16_t type=0; + uint16_t sequence=0; int first_sequence=-1; int last_sequence=-1; - guint16 field1=0; - guint16 pdu=0; + uint16_t field1=0; + uint16_t pdu=0; int haspdus=0; remaining_length=tvb_reported_length_remaining(tvb, offset); @@ -209,7 +209,7 @@ void proto_register_ipsictl(void) "IPSICTL data", HFILL }}, }; - static gint *ett[] = { + static int *ett[] = { &ett_ipsictl, &ett_ipsictl_pdu }; |