diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-01-11 23:21:30 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-01-12 07:22:30 +0000 |
commit | a5dee51a1ad3e73e3ce7340afd773539be688d32 (patch) | |
tree | 590a2dccb991291b33e5b6f61543717089486f9b /ui/cli | |
parent | 9a09f368079ceaf43ead855414a17a1f86b8c544 (diff) | |
download | wireshark-a5dee51a1ad3e73e3ce7340afd773539be688d32.tar.gz |
Move some definitions and declarations around.
This removes duplicates (including one incorrect duplicate), and also
means we have only one chunk_type_values[] value_string.
Change-Id: I4c3035b1cfb5c86cc7a5bf79feb9a5b0204b6dcc
Reviewed-on: https://code.wireshark.org/review/13212
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/cli')
-rw-r--r-- | ui/cli/tap-sctpchunkstat.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/ui/cli/tap-sctpchunkstat.c b/ui/cli/tap-sctpchunkstat.c index 9de9decdf8..2fe6dc03ff 100644 --- a/ui/cli/tap-sctpchunkstat.c +++ b/ui/cli/tap-sctpchunkstat.c @@ -53,29 +53,6 @@ typedef struct _sctpstat_t { sctp_ep_t *ep_list; } sctpstat_t; - -#define SCTP_DATA_CHUNK_ID 0 -#define SCTP_INIT_CHUNK_ID 1 -#define SCTP_INIT_ACK_CHUNK_ID 2 -#define SCTP_SACK_CHUNK_ID 3 -#define SCTP_HEARTBEAT_CHUNK_ID 4 -#define SCTP_HEARTBEAT_ACK_CHUNK_ID 5 -#define SCTP_ABORT_CHUNK_ID 6 -#define SCTP_SHUTDOWN_CHUNK_ID 7 -#define SCTP_SHUTDOWN_ACK_CHUNK_ID 8 -#define SCTP_ERROR_CHUNK_ID 9 -#define SCTP_COOKIE_ECHO_CHUNK_ID 10 -#define SCTP_COOKIE_ACK_CHUNK_ID 11 -#define SCTP_ECNE_CHUNK_ID 12 -#define SCTP_CWR_CHUNK_ID 13 -#define SCTP_SHUTDOWN_COMPLETE_CHUNK_ID 14 -#define SCTP_AUTH_CHUNK_ID 0x16 -#define SCTP_ASCONF_ACK_CHUNK_ID 0x80 -#define SCTP_PKTDROP_CHUNK_ID 0x81 -#define SCTP_FORWARD_TSN_CHUNK_ID 0xC0 -#define SCTP_ASCONF_CHUNK_ID 0xC1 -#define SCTP_IETF_EXT 0xFF - #define CHUNK_TYPE_OFFSET 0 #define CHUNK_TYPE(x)(tvb_get_guint8((x), CHUNK_TYPE_OFFSET)) |