diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:53 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:14:53 +0000 |
commit | a86c5f7cae7ec9a3398300555a0b644689d946a1 (patch) | |
tree | 39fe4b107c71174fd1e8a8ceb9a4d2aa14116248 /ui/cli/tap-sctpchunkstat.c | |
parent | Releasing progress-linux version 4.2.6-1~progress7.99u1. (diff) | |
download | wireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.tar.xz wireshark-a86c5f7cae7ec9a3398300555a0b644689d946a1.zip |
Merging upstream version 4.4.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | ui/cli/tap-sctpchunkstat.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ui/cli/tap-sctpchunkstat.c b/ui/cli/tap-sctpchunkstat.c index 21e081eb..4d51f8bf 100644 --- a/ui/cli/tap-sctpchunkstat.c +++ b/ui/cli/tap-sctpchunkstat.c @@ -32,21 +32,21 @@ typedef struct sctp_ep { struct sctp_ep *next; address src; address dst; - guint16 sport; - guint16 dport; - guint32 chunk_count[256]; + uint16_t sport; + uint16_t dport; + uint32_t chunk_count[256]; } sctp_ep_t; /* used to keep track of the statistics for an entire program interface */ typedef struct _sctpstat_t { char *filter; - guint32 number_of_packets; + uint32_t number_of_packets; sctp_ep_t *ep_list; } sctpstat_t; #define CHUNK_TYPE_OFFSET 0 -#define CHUNK_TYPE(x)(tvb_get_guint8((x), CHUNK_TYPE_OFFSET)) +#define CHUNK_TYPE(x)(tvb_get_uint8((x), CHUNK_TYPE_OFFSET)) static void sctpstat_reset(void *phs) @@ -54,7 +54,7 @@ sctpstat_reset(void *phs) sctpstat_t *sctp_stat = (sctpstat_t *)phs; sctp_ep_t *list = (sctp_ep_t *)sctp_stat->ep_list; sctp_ep_t *tmp = NULL; - guint16 chunk_type; + uint16_t chunk_type; if (!list) return; @@ -71,7 +71,7 @@ static sctp_ep_t * alloc_sctp_ep(const struct _sctp_info *si) { sctp_ep_t *ep; - guint16 chunk_type; + uint16_t chunk_type; if (!si) return NULL; @@ -99,8 +99,8 @@ sctpstat_packet(void *phs, packet_info *pinfo _U_, epan_dissect_t *edt _U_, cons sctpstat_t *hs = (sctpstat_t *)phs; sctp_ep_t *tmp = NULL, *te = NULL; const struct _sctp_info *si = (const struct _sctp_info *)phi; - guint32 tvb_number; - guint8 chunk_type; + uint32_t tvb_number; + uint8_t chunk_type; if (!hs) return (TAP_PACKET_DONT_REDRAW); |