10 #ifndef __PACKET_TCP_H__ 11 #define __PACKET_TCP_H__ 17 #include "ws_symbol_export.h" 20 #include <epan/wmem/wmem.h> 21 #include <epan/wmem/wmem_interval_tree.h> 27 #define TH_PUSH 0x0008 34 #define TH_MASK 0x0FFF 36 #define IS_TH_FIN(x) (x & TH_FIN) 37 #define IS_TH_URG(x) (x & TH_URG) 40 #define GT_SEQ(x, y) ((gint32)((y) - (x)) < 0) 41 #define LT_SEQ(x, y) ((gint32)((x) - (y)) < 0) 42 #define GE_SEQ(x, y) ((gint32)((y) - (x)) <= 0) 43 #define LE_SEQ(x, y) ((gint32)((x) - (y)) <= 0) 44 #define EQ_SEQ(x, y) (x) == (y) 52 gboolean mh_fastclose;
55 guint8 mh_capable_flags;
58 guint64 mh_dss_rawdsn;
59 guint64 mh_dss_rawack;
60 guint16 mh_dss_length;
81 gboolean th_have_seglen;
93 #define MAX_TCP_SACK_RANGES 4 94 guint8 num_sack_ranges;
95 guint32 sack_left_edge[MAX_TCP_SACK_RANGES];
96 guint32 sack_right_edge[MAX_TCP_SACK_RANGES];
112 gboolean is_reassembled;
114 guint16 urgent_pointer;
138 gboolean proto_desegment, guint fixed_len,
140 dissector_t dissect_pdu,
void* dissector_data);
143 pdu_store_sequencenumber_of_next_pdu(
packet_info *pinfo, guint32 seq, guint32 nxtpdu,
wmem_tree_t *multisegment_pdus);
162 guint32 dupack_frame;
163 guint32 bytes_in_flight;
164 guint32 push_bytes_sent;
177 #define MSP_FLAGS_REASSEMBLE_ENTIRE_SEGMENT 0x00000001 195 gboolean extended_dsn;
235 guint32 nextseqframe;
238 guint64 maxseqtobeacked;
271 MPTCP_HMAC_NOT_SET = 0,
274 } mptcp_hmac_algorithm_t;
277 #define MPTCP_CAPABLE_CRYPTO_MASK 0x3F 279 #define MPTCP_CHECKSUM_MASK 0x80 286 guint16 segment_count;
289 guint32 lastnondupack;
292 guint32 maxseqtobeacked;
295 guint32 nextseqframe;
317 #define TCP_MAX_UNACKED_SEGMENTS 1000 322 guint16 maxsizeacked;
324 guint32 push_bytes_sent;
325 gboolean push_set_last;
332 #define TCP_FLOW_REASSEMBLE_UNTIL_FIN 0x0001 336 guint32 lastsegmentflags;
462 guint32 seq, guint32 nxtseq, guint32 sport,
484 extern void add_tcp_process_info(guint32 frame_num,
address *local_addr,
address *remote_addr, guint16 local_port, guint16 remote_port, guint32 uid, guint32 pid, gchar *username, gchar *command);
490 WS_DLL_PUBLIC guint32 get_tcp_stream_count(
void);
496 WS_DLL_PUBLIC guint32 get_mptcp_stream_count(
void);
500 extern gchar* tcp_follow_index_filter(
int stream);
501 extern gchar* tcp_follow_address_filter(
address* src_addr,
address* dst_addr,
int src_port,
int dst_port);
Definition: wmem_tree-int.h:47
Definition: packet-tcp.h:108
Definition: packet-tcp.h:446
Definition: packet-tcp.h:453
Definition: packet_info.h:44
Definition: tvbuff-int.h:35
Definition: packet-tcp.h:351
Definition: packet-tcp.h:284
Definition: packet-tcp.h:170
Definition: packet-tcp.h:185
Definition: conversation.h:89
Definition: packet-tcp.h:314
Definition: packet-tcp.h:369
Definition: packet-tcp.h:207
Definition: packet-tcp.h:145
Definition: packet-tcp.h:250
Definition: packet-tcp.h:306
Definition: packet-tcp.h:153
Definition: wmem_list.c:23