32#include "ws_symbol_export.h"
33#include "ws_attributes.h"
51#define ITEM_LABEL_LENGTH 240
53#define ITEM_LABEL_UNKNOWN_STR "Unknown"
58#define cast_same(type, x) (0 ? (type)0 : (x))
61#define VALS(x) (cast_same(const struct _value_string*, (x)))
64#define VALS64(x) (cast_same(const struct _val64_string*, (x)))
67#define VALS_EXT_PTR(x) (cast_same(value_string_ext*, (x)))
70#define TIME_VALS(x) (cast_same(const struct _time_value_string*, (x)))
73#define TFS(x) (cast_same(const struct true_false_string*, (x)))
76#define UNS(x) (cast_same(const struct unit_name_string*, (x)))
78typedef void (*custom_fmt_func_t)(
char *, uint32_t);
80typedef void (*custom_fmt_func_64_t)(
char *, uint64_t);
82typedef void (*custom_fmt_func_double_t)(
char *, double);
91#define CF_FUNC(x) ((const void *) (size_t) (x))
95#define RVALS(x) (cast_same(const struct _range_string*, (x)))
98#define FRAMENUM_TYPE(x) GINT_TO_POINTER(x)
115WS_DLL_PUBLIC WS_NORETURN
119#define REPORT_DISSECTOR_BUG(...) \
120 proto_report_dissector_bug(__VA_ARGS__)
127#define __DISSECTOR_ASSERT_STATIC_ANALYSIS_HINT(expression) \
128 ; __analysis_assume(expression);
130#define __DISSECTOR_ASSERT_STATIC_ANALYSIS_HINT(expression)
144#define __DISSECTOR_ASSERT_STRINGIFY(s) # s
146#define __DISSECTOR_ASSERT(expression, file, lineno) \
147 (REPORT_DISSECTOR_BUG("%s:%u: failed assertion \"%s\"", \
148 file, lineno, __DISSECTOR_ASSERT_STRINGIFY(expression)))
150#define __DISSECTOR_ASSERT_HINT(expression, file, lineno, hint) \
151 (REPORT_DISSECTOR_BUG("%s:%u: failed assertion \"%s\" (%s)", \
152 file, lineno, __DISSECTOR_ASSERT_STRINGIFY(expression), hint))
154#define DISSECTOR_ASSERT(expression) \
155 ((void) ((expression) ? (void)0 : \
156 __DISSECTOR_ASSERT (expression, __FILE__, __LINE__))) \
157 __DISSECTOR_ASSERT_STATIC_ANALYSIS_HINT(expression)
166#define DISSECTOR_ASSERT_HINT(expression, hint) \
167 ((void) ((expression) ? (void)0 : \
168 __DISSECTOR_ASSERT_HINT (expression, __FILE__, __LINE__, hint))) \
169 __DISSECTOR_ASSERT_STATIC_ANALYSIS_HINT(expression)
166#define DISSECTOR_ASSERT_HINT(expression, hint) \ …
174#define DISSECTOR_ASSERT(expression) \
175{ if(!(expression)) _asm { int 3}; }
186#define DISSECTOR_ASSERT_NOT_REACHED() \
187 (REPORT_DISSECTOR_BUG("%s:%u: failed assertion \"DISSECTOR_ASSERT_NOT_REACHED\"", \
186#define DISSECTOR_ASSERT_NOT_REACHED() \ …
209#define __DISSECTOR_ASSERT_CMPINT(a, op, b, type, fmt) \
210 (REPORT_DISSECTOR_BUG("%s:%u: failed assertion " #a " " #op " " #b " (" fmt " " #op " " fmt ")", \
211 __FILE__, __LINE__, (type)a, (type)b))
209#define __DISSECTOR_ASSERT_CMPINT(a, op, b, type, fmt) \ …
213#define DISSECTOR_ASSERT_CMPINT(a, op, b) \
214 ((void) ((a op b) ? (void)0 : \
215 __DISSECTOR_ASSERT_CMPINT (a, op, b, int64_t, "%" PRId64))) \
216 __DISSECTOR_ASSERT_STATIC_ANALYSIS_HINT(a op b)
223#define DISSECTOR_ASSERT_CMPUINT(a, op, b) \
224 ((void) ((a op b) ? (void)0 : \
225 __DISSECTOR_ASSERT_CMPINT (a, op, b, uint64_t, "%" PRIu64))) \
226 __DISSECTOR_ASSERT_STATIC_ANALYSIS_HINT(a op b)
223#define DISSECTOR_ASSERT_CMPUINT(a, op, b) \ …
231#define DISSECTOR_ASSERT_CMPUINTHEX(a, op, b) \
232 ((void) ((a op b) ? (void)0 : \
233 __DISSECTOR_ASSERT_CMPINT (a, op, b, uint64_t, "0x%" PRIX64))) \
234 __DISSECTOR_ASSERT_STATIC_ANALYSIS_HINT(a op b)
231#define DISSECTOR_ASSERT_CMPUINTHEX(a, op, b) \ …
244#define __DISSECTOR_ASSERT_FIELD_TYPE(hfinfo, t) \
245 (REPORT_DISSECTOR_BUG("%s:%u: field %s is not of type "#t, \
246 __FILE__, __LINE__, (hfinfo)->abbrev))
248#define DISSECTOR_ASSERT_FIELD_TYPE(hfinfo, t) \
249 ((void) (((hfinfo)->type == t) ? (void)0 : \
250 __DISSECTOR_ASSERT_FIELD_TYPE ((hfinfo), t))) \
251 __DISSECTOR_ASSERT_STATIC_ANALYSIS_HINT((hfinfo)->type == t)
253#define DISSECTOR_ASSERT_FIELD_TYPE_IS_INTEGRAL(hfinfo) \
254 ((void) ((FT_IS_INTEGER((hfinfo)->type)) ? (void)0 : \
255 REPORT_DISSECTOR_BUG("%s:%u: field %s is not of type FT_CHAR or an FT_{U}INTn type", \
256 __FILE__, __LINE__, (hfinfo)->abbrev))) \
257 __DISSECTOR_ASSERT_STATIC_ANALYSIS_HINT(FT_IS_INTEGER((hfinfo)->type))
259#define __DISSECTOR_ASSERT_FIELD_TYPE_IS_STRING(hfinfo) \
260 (REPORT_DISSECTOR_BUG("%s:%u: field %s is not of type FT_STRING, FT_STRINGZ, FT_STRINGZPAD, FT_STRINGZTRUNC, or FT_UINT_STRING", \
261 __FILE__, __LINE__, (hfinfo)->abbrev))
263#define DISSECTOR_ASSERT_FIELD_TYPE_IS_STRING(hfinfo) \
264 ((void) (FT_IS_STRING((hfinfo)->type) ? (void)0 : \
265 __DISSECTOR_ASSERT_FIELD_TYPE_IS_STRING ((hfinfo)))) \
266 __DISSECTOR_ASSERT_STATIC_ANALYSIS_HINT(FT_IS_STRING((hfinfo)->type))
268#define __DISSECTOR_ASSERT_FIELD_TYPE_IS_TIME(hfinfo) \
269 (REPORT_DISSECTOR_BUG("%s:%u: field %s is not of type FT_ABSOLUTE_TIME or FT_RELATIVE_TIME", \
270 __FILE__, __LINE__, (hfinfo)->abbrev))
272#define DISSECTOR_ASSERT_FIELD_TYPE_IS_TIME(hfinfo) \
273 ((void) (((hfinfo)->type == FT_ABSOLUTE_TIME || \
274 (hfinfo)->type == FT_RELATIVE_TIME) ? (void)0 : \
275 __DISSECTOR_ASSERT_FIELD_TYPE_IS_TIME ((hfinfo)))) \
276 __DISSECTOR_ASSERT_STATIC_ANALYSIS_HINT((hfinfo)->type == FT_ABSOLUTE_TIME || \
277 (hfinfo)->type == FT_RELATIVE_TIME)
330#define ENC_BIG_ENDIAN 0x00000000
331#define ENC_LITTLE_ENDIAN 0x80000000
333#if G_BYTE_ORDER == G_LITTLE_ENDIAN
334 #define ENC_HOST_ENDIAN ENC_LITTLE_ENDIAN
335 #define ENC_ANTI_HOST_ENDIAN ENC_BIG_ENDIAN
337 #define ENC_HOST_ENDIAN ENC_BIG_ENDIAN
338 #define ENC_ANTI_HOST_ENDIAN ENC_LITTLE_ENDIAN
348#define ENC_NA 0x00000000
378#define ENC_CHARENCODING_MASK 0x0000FFFE
379#define ENC_ASCII 0x00000000
380#define ENC_ISO_646_IRV ENC_ASCII
381#define ENC_UTF_8 0x00000002
382#define ENC_UTF_16 0x00000004
383#define ENC_UCS_2 0x00000006
384#define ENC_UCS_4 0x00000008
385#define ENC_ISO_8859_1 0x0000000A
386#define ENC_ISO_8859_2 0x0000000C
387#define ENC_ISO_8859_3 0x0000000E
388#define ENC_ISO_8859_4 0x00000010
389#define ENC_ISO_8859_5 0x00000012
390#define ENC_ISO_8859_6 0x00000014
391#define ENC_ISO_8859_7 0x00000016
392#define ENC_ISO_8859_8 0x00000018
393#define ENC_ISO_8859_9 0x0000001A
394#define ENC_ISO_8859_10 0x0000001C
395#define ENC_ISO_8859_11 0x0000001E
397#define ENC_ISO_8859_13 0x00000022
398#define ENC_ISO_8859_14 0x00000024
399#define ENC_ISO_8859_15 0x00000026
400#define ENC_ISO_8859_16 0x00000028
401#define ENC_WINDOWS_1250 0x0000002A
402#define ENC_3GPP_TS_23_038_7BITS_PACKED 0x0000002C
403#define ENC_3GPP_TS_23_038_7BITS ENC_3GPP_TS_23_038_7BITS_PACKED
404#define ENC_EBCDIC 0x0000002E
405#define ENC_MAC_ROMAN 0x00000030
406#define ENC_CP437 0x00000032
407#define ENC_ASCII_7BITS 0x00000034
408#define ENC_T61 0x00000036
409#define ENC_EBCDIC_CP037 0x00000038
410#define ENC_WINDOWS_1252 0x0000003A
411#define ENC_WINDOWS_1251 0x0000003C
412#define ENC_CP855 0x0000003E
413#define ENC_CP866 0x00000040
414#define ENC_ISO_646_BASIC 0x00000042
415#define ENC_BCD_DIGITS_0_9 0x00000044
416#define ENC_KEYPAD_ABC_TBCD 0x00000046
417#define ENC_KEYPAD_BC_TBCD 0x00000048
418#define ENC_3GPP_TS_23_038_7BITS_UNPACKED 0x0000004C
419#define ENC_ETSI_TS_102_221_ANNEX_A 0x0000004E
420#define ENC_GB18030 0x00000050
421#define ENC_EUC_KR 0x00000052
422#define ENC_APN_STR 0x00000054
423#define ENC_DECT_STANDARD_8BITS 0x00000056
424#define ENC_DECT_STANDARD_4BITS_TBCD 0x00000058
425#define ENC_EBCDIC_CP500 0x00000060
457#define ENC_ZIGBEE 0x40000000
467#define ENC_BOM 0x20000000
481#define ENC_STR_NUM 0x01000000
483#define ENC_STR_HEX 0x02000000
485#define ENC_STRING 0x03000000
487#define ENC_STR_MASK 0x0000FFFE
502#define ENC_NUM_PREF 0x00200000
514#define ENC_SEP_NONE 0x00010000
515#define ENC_SEP_COLON 0x00020000
516#define ENC_SEP_DASH 0x00040000
517#define ENC_SEP_DOT 0x00080000
518#define ENC_SEP_SPACE 0x00100000
520#define ENC_SEP_MASK 0x001F0000
526#define ENC_BCD_ODD_NUM_DIG 0x00010000
527#define ENC_BCD_SKIP_FIRST 0x00020000
612#define ENC_TIME_SECS_NSECS 0x00000000
613#define ENC_TIME_TIMESPEC 0x00000000
614#define ENC_TIME_NTP 0x00000002
615#define ENC_TIME_TOD 0x00000004
616#define ENC_TIME_RTPS 0x00000008
617#define ENC_TIME_NTP_BASE_ZERO 0x00000008
618#define ENC_TIME_SECS_USECS 0x00000010
619#define ENC_TIME_TIMEVAL 0x00000010
620#define ENC_TIME_SECS 0x00000012
621#define ENC_TIME_MSECS 0x00000014
622#define ENC_TIME_SECS_NTP 0x00000018
623#define ENC_TIME_RFC_3971 0x00000020
624#define ENC_TIME_MSEC_NTP 0x00000022
625#define ENC_TIME_MIP6 0x00000024
626#define ENC_TIME_MP4_FILE_SECS 0x00000026
627#define ENC_TIME_CLASSIC_MAC_OS_SECS 0x00000026
628#define ENC_TIME_NSECS 0x00000028
629#define ENC_TIME_USECS 0x00000030
630#define ENC_TIME_ZBEE_ZCL 0x00000032
639#define ENC_ISO_8601_DATE 0x00010000
640#define ENC_ISO_8601_TIME 0x00020000
641#define ENC_ISO_8601_DATE_TIME 0x00030000
642#define ENC_IMF_DATE_TIME 0x00040000
643#define ENC_RFC_822 0x00040000
644#define ENC_RFC_1123 0x00040000
645#define ENC_ISO_8601_DATE_TIME_BASIC 0x00100000
647#define ENC_STR_TIME_MASK 0x001F0000
656#define ENC_VARINT_PROTOBUF 0x00000002
661#define ENC_VARINT_QUIC 0x00000004
666#define ENC_VARINT_ZIGZAG 0x00000008
671#define ENC_VARINT_SDNV 0x00000010
673#define ENC_VARINT_MASK (ENC_VARINT_PROTOBUF|ENC_VARINT_QUIC|ENC_VARINT_ZIGZAG|ENC_VARINT_SDNV)
681#define FIELD_DISPLAY_E_MASK 0xFF
724#define FIELD_DISPLAY(d) ((d) & FIELD_DISPLAY_E_MASK)
726#define FIELD_DISPLAY_IS_ABSOLUTE_TIME(d) \
727 (FIELD_DISPLAY(d) >= ABSOLUTE_TIME_LOCAL && FIELD_DISPLAY(d) <= ABSOLUTE_TIME_UNIX)
731#define BASE_RANGE_STRING 0x00000100
732#define BASE_EXT_STRING 0x00000200
733#define BASE_VAL64_STRING 0x00000400
735#define BASE_ALLOW_ZERO 0x00000800
737#define BASE_UNIT_STRING 0x00001000
739#define BASE_NO_DISPLAY_VALUE 0x00002000
742#define BASE_PROTOCOL_INFO 0x00004000
744#define BASE_SPECIAL_VALS 0x00008000
746#define BASE_SHOW_ASCII_PRINTABLE 0x00010000
748#define BASE_SHOW_UTF_8_PRINTABLE 0x00020000
751#define IS_BASE_DUAL(b) ((b)==BASE_DEC_HEX||(b)==BASE_HEX_DEC)
754#define IS_BASE_PORT(b) (((b)==BASE_PT_UDP||(b)==BASE_PT_TCP||(b)==BASE_PT_DCCP||(b)==BASE_PT_SCTP))
793#define HFILL -1, 0, HF_REF_TYPE_NONE, -1, NULL
795#define HFILL_INIT(hf) \
796 (hf).hfinfo.id = -1; \
797 (hf).hfinfo.parent = 0; \
798 (hf).hfinfo.ref_type = HF_REF_TYPE_NONE; \
799 (hf).hfinfo.same_name_prev_id = -1; \
800 (hf).hfinfo.same_name_next = NULL;
842 unsigned crumb_bit_offset;
843 uint8_t crumb_bit_length;
856#define FI_HIDDEN 0x00000001
859#define FI_GENERATED 0x00000002
861#define FI_URL 0x00000004
864#define FI_LITTLE_ENDIAN 0x00000008
866#define FI_BIG_ENDIAN 0x00000010
868#define FI_BITS_OFFSET(n) (((n) & 63) << 5)
871#define FI_BITS_SIZE(n) (((n) & 63) << 12)
873#define FI_VARINT 0x00040000
876#define FI_GET_FLAG(fi, flag) ((fi) ? ((fi)->flags & (flag)) : 0)
878#define FI_SET_FLAG(fi, flag) \
881 (fi)->flags = (fi)->flags | (flag); \
878#define FI_SET_FLAG(fi, flag) \ …
884#define FI_RESET_FLAG(fi, flag) \
887 (fi)->flags = (fi)->flags & ~(flag); \
884#define FI_RESET_FLAG(fi, flag) \ …
890#define FI_GET_BITS_OFFSET(fi) (FI_GET_FLAG(fi, FI_BITS_OFFSET(63)) >> 5)
891#define FI_GET_BITS_SIZE(fi) (FI_GET_FLAG(fi, FI_BITS_SIZE(63)) >> 12)
896 GHashTable *interesting_hfids;
902 unsigned start_idle_count;
929#define PI_SEVERITY_MASK 0x00F00000
931#define PI_COMMENT 0x00100000
933#define PI_CHAT 0x00200000
935#define PI_NOTE 0x00400000
937#define PI_WARN 0x00600000
939#define PI_ERROR 0x00800000
942#define PI_GROUP_MASK 0xFF000000
944#define PI_CHECKSUM 0x01000000
946#define PI_SEQUENCE 0x02000000
948#define PI_RESPONSE_CODE 0x03000000
950#define PI_REQUEST_CODE 0x04000000
952#define PI_UNDECODED 0x05000000
954#define PI_REASSEMBLE 0x06000000
956#define PI_MALFORMED 0x07000000
958#define PI_DEBUG 0x08000000
960#define PI_PROTOCOL 0x09000000
962#define PI_SECURITY 0x0a000000
964#define PI_COMMENTS_GROUP 0x0b000000
966#define PI_DECRYPTION 0x0c000000
968#define PI_ASSUMPTION 0x0d000000
970#define PI_DEPRECATED 0x0e000000
972#define PI_RECEIVE 0x0f000000
974#define PI_INTERFACE 0x10000000
976#define PI_DISSECTOR_BUG 0x11000000
984#define PNODE_FINFO(proto_node) ((proto_node)->finfo)
987#define PITEM_FINFO(proto_item) PNODE_FINFO(proto_item)
990#define PTREE_FINFO(proto_tree) PNODE_FINFO(proto_tree)
993#define PNODE_HFINFO(proto_node) ((proto_node)->hfinfo)
996#define PITEM_HFINFO(proto_item) PNODE_HFINFO(proto_item)
999#define PTREE_HFINFO(proto_tree) PNODE_HFINFO(proto_tree)
1002#define PTREE_DATA(proto_tree) ((proto_tree)->tree_data)
1005#define PNODE_POOL(proto_node) ((proto_node)->tree_data->pinfo->pool)
1012static inline bool proto_item_is_hidden(
const proto_item *ti) {
1019#define PROTO_ITEM_IS_HIDDEN(ti) proto_item_is_hidden((ti))
1025static inline void proto_item_set_hidden(
proto_item *ti) {
1030#define PROTO_ITEM_SET_HIDDEN(ti) proto_item_set_hidden((ti))
1035static inline void proto_item_set_visible(
proto_item *ti) {
1040#define PROTO_ITEM_SET_VISIBLE(ti) proto_item_set_visible((ti))
1046static inline bool proto_item_is_generated(
const proto_item *ti)
1053#define PROTO_ITEM_IS_GENERATED(ti) proto_item_is_generated((ti))
1058static inline void proto_item_set_generated(
proto_item *ti) {
1063#define PROTO_ITEM_SET_GENERATED(ti) proto_item_set_generated((ti))
1070static inline bool proto_item_is_url(
const proto_item *ti)
1077#define PROTO_ITEM_IS_URL(ti) proto_item_is_url((ti))
1082static inline void proto_item_set_url(
proto_item *ti) {
1087#define PROTO_ITEM_SET_URL(ti) proto_item_set_url((ti))
1089typedef void (*proto_tree_foreach_func)(
proto_node *,
void *);
1090typedef bool (*proto_tree_traverse_func)(
proto_node *,
void *);
1092WS_DLL_PUBLIC
void proto_tree_children_foreach(
proto_tree *tree,
1093 proto_tree_foreach_func func,
void *data);
1096 void (*register_protoinfo)(void);
1097 void (*register_handoff)(void);
1104void proto_init(GSList *register_all_plugin_protocols_list,
1105 GSList *register_all_plugin_handoffs_list, register_cb cb,
void *client_data);
1304 const
int start,
int length, const
unsigned encoding);
1308 const
int start,
int length, const
unsigned encoding);
1324 const
int start,
int length, const
unsigned encoding,
int *lenretval);
1328 const
int start,
int length, const
unsigned encoding,
int *lenretval);
1363 const
int start,
int length, const
unsigned encoding, int32_t *retval);
1367 const
int start,
int length, const
unsigned encoding, int64_t *retval);
1371 const
int start,
int length, const
unsigned encoding, uint32_t *retval);
1375 const
int start,
int length, const
unsigned encoding, uint64_t *retval);
1379 const
int start,
int length, const
unsigned encoding, uint64_t *retval,
int *lenretval);
1383 const
int start,
int length, const
unsigned encoding,
bool *retval);
1387 const
int start,
int length, const
unsigned encoding, ws_in4_addr *retval);
1405 const
int start,
int length, const
unsigned encoding,
ws_in6_addr *retval);
1423 const
int start,
int length, const
unsigned encoding, uint8_t *retval);
1440 const
int start,
int length,
1441 const
unsigned encoding,
float *retval);
1458 const
int start,
int length,
1459 const
unsigned encoding,
double *retval);
1492 tvbuff_t *tvb, const
int start,
int length, const
unsigned encoding,
1524 const
int start,
int length, const
unsigned encoding,
1550 const
int start,
int length, const
unsigned encoding,
1573 const
int start,
int length, const
unsigned encoding,
1594 const
int start,
int length, const
unsigned encoding,
1607 ...) G_GNUC_PRINTF(5,6);
1619 int length, const
char *format, va_list ap) G_GNUC_PRINTF(5, 0);
1646 proto_item **tree_item, const
char *format, ...) G_GNUC_PRINTF(7,8);
1667 int length, const
char *format, ...) G_GNUC_PRINTF(6,7);
1680 int length, const
char *format, ...) G_GNUC_PRINTF(6,7);
1692 int length, const uint8_t* start_ptr);
1706 int length, const uint8_t *start_ptr,
int ptr_length);
1743 const
int start,
int length, const
unsigned encoding,
1744 GByteArray *retval,
int *endoff,
int *err);
1760 int start,
int length, const uint8_t* start_ptr, const
char *format,
1761 ...) G_GNUC_PRINTF(7,8);
1776 int length, const uint8_t* start_ptr, const
char *format, ...) G_GNUC_PRINTF(7,8);
1788 int length, const
nstime_t* value_ptr);
1822 const
int start,
int length, const
unsigned encoding,
1823 nstime_t *retval,
int *endoff,
int *err);
1840 int start,
int length,
nstime_t* value_ptr, const
char *format, ...)
1857 int length,
nstime_t* value_ptr, const
char *format, ...) G_GNUC_PRINTF(7,8);
1869 int length, uint32_t value);
1885 int start,
int length, uint32_t value, const
char *format, ...)
1901 int length, uint32_t value, const
char *format, ...) G_GNUC_PRINTF(7,8);
1913 int length, ws_in4_addr value);
1929 int start,
int length, ws_in4_addr value, const
char *format, ...)
1945 int length, ws_in4_addr value, const
char *format, ...) G_GNUC_PRINTF(7,8);
1973 int start,
int length, const
ws_in6_addr *value_ptr, const
char *format,
1974 ...) G_GNUC_PRINTF(7,8);
1989 int length, const
ws_in6_addr *value_ptr, const
char *format, ...) G_GNUC_PRINTF(7,8);
2001 int length, const uint8_t* value);
2017 int start,
int length, const uint8_t* value, const
char *format, ...)
2033 int length, const uint8_t* value, const
char *format, ...) G_GNUC_PRINTF(7,8);
2045 int length, const
e_guid_t *value_ptr);
2061 int start,
int length, const
e_guid_t *value_ptr, const
char *format,
2062 ...) G_GNUC_PRINTF(7,8);
2077 int length, const
e_guid_t *value_ptr, const
char *format, ...) G_GNUC_PRINTF(7,8);
2089 int length, const uint8_t* value_ptr);
2105 int start,
int length, const uint8_t* value_ptr, const
char *format,
2106 ...) G_GNUC_PRINTF(7,8);
2121 int length, const uint8_t* value_ptr, const
char *format, ...) G_GNUC_PRINTF(7,8);
2144 int length, const
char* value);
2160 int start,
int length, const
char* value, const
char *format, ...)
2177 int length, const
char* value, const
char *format, ...) G_GNUC_PRINTF(7,8);
2189 int length, uint64_t value);
2205 tvbuff_t *tvb,
int start,
int length, uint64_t value,
2206 const
char *format, ...) G_GNUC_PRINTF(7,8);
2221 int length, uint64_t value, const
char *format, ...) G_GNUC_PRINTF(7,8);
2233 int length,
float value);
2249 int start,
int length,
float value, const
char *format, ...)
2265 int length,
float value, const
char *format, ...) G_GNUC_PRINTF(7,8);
2277 int length,
double value);
2293 int start,
int length,
double value, const
char *format, ...)
2309 int length,
double value, const
char *format, ...) G_GNUC_PRINTF(7,8);
2321 int length, uint32_t value);
2337 int start,
int length, uint32_t value, const
char *format, ...)
2354 int length, uint32_t value, const
char *format, ...) G_GNUC_PRINTF(7,8);
2366 int length, uint64_t value);
2382 int start,
int length, uint64_t value, const
char *format, ...)
2398 int length, uint64_t value, const
char *format, ...) G_GNUC_PRINTF(7,8);
2410 int length, int32_t value);
2426 int start,
int length, int32_t value, const
char *format, ...)
2443 int length, int32_t value, const
char *format, ...) G_GNUC_PRINTF(7,8);
2455 int length, int64_t value);
2471 int start,
int length, int64_t value, const
char *format, ...)
2487 int length, int64_t value, const
char *format, ...) G_GNUC_PRINTF(7,8);
2499 int length, const uint64_t value);
2515 int start,
int length, const uint64_t value, const
char *format, ...)
2531 int length, const uint64_t value, const
char *format, ...) G_GNUC_PRINTF(7,8);
2536 int *hf_addr_resolved;
2538 int *hf_oui_resolved;
2565 ...) G_GNUC_PRINTF(2,3);
2609 int parent_proto, enum ftenum field_type);
2753WS_DLL_PUBLIC
int proto_get_data_protocol(
void *cookie);
2754WS_DLL_PUBLIC
int proto_get_next_protocol(
void **cookie);
2755WS_DLL_PUBLIC
header_field_info *proto_get_first_protocol_field(const
int proto_id,
void **cookie);
2756WS_DLL_PUBLIC
header_field_info *proto_get_next_protocol_field(const
int proto_id,
void **cookie);
2849 bool *is_ip,
bool *is_tcp,
bool *is_udp,
bool *is_sctp,
2850 bool *is_tls,
bool *is_rtp,
bool *is_lte_rlc);
3039 const
int hf_hdr, const
int ett,
int * const *fields, const
unsigned encoding);
3065 const
int hf_hdr, const
int ett,
int * const *fields,
3066 const
unsigned encoding, uint64_t *retval);
3093 const
int hf_hdr, const
int ett,
int * const *fields, const
unsigned encoding, const
int flags);
3123 const
int hf_hdr, const
int ett,
int * const *fields,
3124 const
unsigned encoding, const
int flags, uint64_t *retval);
3147 const
int hf_hdr, const
int ett,
int * const *fields, const uint64_t value);
3174 const
int hf_hdr, const
int ett,
int * const *fields, const uint64_t value, const
int flags);
3192 const
int len,
int * const *fields, const
unsigned encoding);
3211 const
int len,
int * const *fields, const
unsigned encoding, uint64_t *retval);
3229 const
int len,
int * const *fields, const uint64_t value);
3255 const
int hf_hdr, const
int ett,
int * const *fields, struct
expert_field* exp, const
unsigned encoding);
3271 const
char *name, const
char *fallback,
3272 const
int ett,
int * const *fields, const
unsigned encoding, const
int flags);
3274#define BMT_NO_FLAGS 0x00
3275#define BMT_NO_APPEND 0x01
3276#define BMT_NO_INT 0x02
3277#define BMT_NO_FALSE 0x04
3278#define BMT_NO_TFS 0x08
3291 const int no_of_bits,
const unsigned encoding);
3310 const unsigned bit_offset,
const crumb_spec_t *crumb_spec, uint64_t *return_value);
3327 const unsigned bit_offset,
const crumb_spec_t *crumb_spec, uint16_t crumb_index);
3341 const unsigned bit_offset,
const int no_of_bits, uint64_t *return_value,
const unsigned encoding);
3357 const unsigned bit_offset,
const int no_of_bits, uint32_t value,
const unsigned encoding,
3358 const char *format, ...)
3375 const
unsigned bit_offset, const
int no_of_bits, uint64_t value, const
unsigned encoding,
3376 const
char *format, ...)
3394 const
unsigned bit_offset, const
int no_of_bits, uint64_t value, const
unsigned encoding,
3395 const
char *format, ...)
3413 const
unsigned bit_offset, const
int no_of_bits, int32_t value, const
unsigned encoding,
3414 const
char *format, ...)
3432 const
unsigned bit_offset, const
int no_of_bits, int64_t value, const
unsigned encoding,
3433 const
char *format, ...)
3451 const
unsigned bit_offset, const
int no_of_bits,
float value, const
unsigned encoding,
3452 const
char *format, ...)
3466 const
unsigned bit_offset, const
int no_of_chars);
3477 const
unsigned bit_offset, const
int no_of_chars);
3498 const
int hf_checksum, const
int hf_checksum_status, struct
expert_field* bad_checksum_expert,
3499 packet_info *pinfo, uint32_t computed_checksum, const
unsigned encoding, const
unsigned flags);
3520 const
int hf_checksum, const
int hf_checksum_status, struct
expert_field* bad_checksum_expert,
3521 packet_info *pinfo, const uint8_t *computed_checksum,
size_t checksum_len, const
unsigned flags);
3525 PROTO_CHECKSUM_E_BAD = 0,
3526 PROTO_CHECKSUM_E_GOOD,
3527 PROTO_CHECKSUM_E_UNVERIFIED,
3528 PROTO_CHECKSUM_E_NOT_PRESENT,
3529 PROTO_CHECKSUM_E_ILLEGAL
3530} proto_checksum_enum_e;
3532#define PROTO_CHECKSUM_NO_FLAGS 0x00
3533#define PROTO_CHECKSUM_VERIFY 0x01
3534#define PROTO_CHECKSUM_GENERATED 0x02
3535#define PROTO_CHECKSUM_IN_CKSUM 0x04
3536#define PROTO_CHECKSUM_ZERO 0x08
3537#define PROTO_CHECKSUM_NOT_PRESENT 0x10
3544WS_DLL_PUBLIC
unsigned char
3551WS_DLL_PUBLIC
unsigned char
3566 bool display_details,
3568 char *expr,
const int size );
3581hfinfo_char_value_format_display(
int display,
char buf[7], uint32_t value);
WS_DLL_PUBLIC bool proto_registrar_dump_fieldcount(void)
Definition proto.c:11888
WS_DLL_PUBLIC unsigned char proto_check_field_name_lower(const char *field_name)
Definition proto.c:14168
WS_DLL_PUBLIC int hf_text_only
Definition proto.h:48
WS_DLL_PUBLIC void proto_tree_add_bitmask_list_ret_uint64(proto_tree *tree, tvbuff_t *tvb, const unsigned offset, const int len, int *const *fields, const unsigned encoding, uint64_t *retval)
Definition proto.c:13071
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_eui64(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, const uint64_t value)
Definition proto.c:6178
WS_DLL_PUBLIC proto_item * proto_tree_add_bitmask_value(proto_tree *tree, tvbuff_t *tvb, const unsigned offset, const int hf_hdr, const int ett, int *const *fields, const uint64_t value)
Definition proto.c:13021
#define ITEM_LABEL_LENGTH
Definition proto.h:51
WS_DLL_PUBLIC proto_item * proto_tree_add_string_format_value(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, const char *value, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC const char * proto_get_protocol_name(const int proto_id)
Definition proto.c:8529
WS_DLL_PUBLIC void proto_get_frame_protocols(const wmem_list_t *layers, bool *is_ip, bool *is_tcp, bool *is_udp, bool *is_sctp, bool *is_tls, bool *is_rtp, bool *is_lte_rlc)
Definition proto.c:8590
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_oid_format(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, const uint8_t *value_ptr, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC bool proto_is_protocol_enabled(const protocol_t *protocol)
Definition proto.c:8698
struct _item_label_t item_label_t
WS_DLL_PUBLIC proto_item * proto_tree_add_int_format_value(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, int32_t value, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_ether_format(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, const uint8_t *value, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_ipv4_format(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, ws_in4_addr value, const char *format,...) G_GNUC_PRINTF(7
proto_item * proto_tree_add_format_wsp_text(proto_tree *tree, tvbuff_t *tvb, int start, int length)
Definition proto.c:1538
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_eui64_format(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, const uint64_t value, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC proto_item * proto_tree_add_time_format_value(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, nstime_t *value_ptr, const char *format,...) G_GNUC_PRINTF(7
#define FI_URL
Definition proto.h:861
WS_DLL_PUBLIC bool proto_field_is_referenced(proto_tree *tree, int proto_id)
Definition proto.c:910
WS_DLL_PUBLIC void proto_register_subtree_array(int *const *indices, const int num_indices)
Definition proto.c:9863
WS_DLL_PUBLIC proto_item * proto_tree_add_bits_item(proto_tree *tree, const int hf_index, tvbuff_t *tvb, const unsigned bit_offset, const int no_of_bits, const unsigned encoding)
Definition proto.c:13184
WS_DLL_PUBLIC bool tree_expanded(int tree_type)
Definition proto.c:14174
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item proto_item proto_item proto_item proto_item * proto_tree_add_float_bits_format_value(proto_tree *tree, const int hf_index, tvbuff_t *tvb, const unsigned bit_offset, const int no_of_bits, float value, const unsigned encoding, const char *format,...) G_GNUC_PRINTF(8
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_bytes(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, const uint8_t *start_ptr)
Definition proto.c:4732
WS_DLL_PUBLIC proto_item * proto_tree_add_item_ret_int(proto_tree *tree, int hfindex, tvbuff_t *tvb, const int start, int length, const unsigned encoding, int32_t *retval)
Definition proto.c:3225
WS_DLL_PUBLIC proto_item * proto_tree_add_bytes_format_value(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, const uint8_t *start_ptr, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC proto_item * proto_tree_add_bits_ret_val(proto_tree *tree, const int hf_index, tvbuff_t *tvb, const unsigned bit_offset, const int no_of_bits, uint64_t *return_value, const unsigned encoding)
Definition proto.c:13569
WS_DLL_PUBLIC proto_item * proto_tree_add_item_new_ret_length(proto_tree *tree, header_field_info *hfinfo, tvbuff_t *tvb, const int start, int length, const unsigned encoding, int *lenretval)
Definition proto.c:4359
WS_DLL_PUBLIC proto_item * proto_tree_add_split_bits_item_ret_val(proto_tree *tree, const int hf_index, tvbuff_t *tvb, const unsigned bit_offset, const crumb_spec_t *crumb_spec, uint64_t *return_value)
Definition proto.c:13361
WS_DLL_PUBLIC char * proto_list_layers(const packet_info *pinfo)
Definition proto.c:8655
WS_DLL_PUBLIC void proto_deregister_field(const int parent, int hf_id)
Definition proto.c:8862
void proto_tree_prime_with_hfid(proto_tree *tree, const int hfid)
void proto_add_deregistered_slice(size_t block_size, void *mem_block)
Definition proto.c:8925
WS_DLL_PUBLIC int proto_item_get_len(const proto_item *pi)
Definition proto.c:7895
WS_DLL_PUBLIC int proto_get_id_by_short_name(const char *short_name)
Definition proto.c:8515
WS_DLL_PUBLIC proto_item * proto_tree_add_checksum(proto_tree *tree, tvbuff_t *tvb, const unsigned offset, const int hf_checksum, const int hf_checksum_status, struct expert_field *bad_checksum_expert, packet_info *pinfo, uint32_t computed_checksum, const unsigned encoding, const unsigned flags)
Definition proto.c:13964
WS_DLL_PUBLIC void proto_tree_add_bitmask_list_value(proto_tree *tree, tvbuff_t *tvb, const unsigned offset, const int len, int *const *fields, const uint64_t value)
Definition proto.c:13087
WS_DLL_PUBLIC proto_item * proto_tree_add_boolean_format_value(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, uint64_t value, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_oid(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, const uint8_t *value_ptr)
Definition proto.c:5223
WS_DLL_PUBLIC bool proto_is_pino(const protocol_t *protocol)
Definition proto.c:8691
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_uint(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, uint32_t value)
Definition proto.c:5803
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_bytes_format(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, const uint8_t *start_ptr, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_int_format(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, int32_t value, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_string(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, const char *value)
Definition proto.c:5326
WS_DLL_PUBLIC proto_item * proto_tree_add_bytes_item(proto_tree *tree, int hfindex, tvbuff_t *tvb, const int start, int length, const unsigned encoding, GByteArray *retval, int *endoff, int *err)
Definition proto.c:4427
int proto_registrar_get_length(const int n)
Definition proto.c:11351
WS_DLL_PUBLIC const char * proto_registrar_get_name(const int n)
Definition proto.c:11302
WS_DLL_PUBLIC void proto_registrar_dump_elastic(const char *filter)
Definition proto.c:12007
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_float_format(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, float value, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC void proto_item_fill_label(const field_info *finfo, char *label_str, size_t *value_offset)
Definition proto.c:10013
WS_DLL_PUBLIC void proto_set_decoding(const int proto_id, const bool enabled)
Definition proto.c:8748
WS_DLL_PUBLIC bool proto_name_already_registered(const char *name)
Definition proto.c:8491
WS_DLL_PUBLIC void proto_register_field_array(const int parent, hf_register_info *hf, const int num_records)
Definition proto.c:8828
WS_DLL_PUBLIC GPtrArray * proto_find_first_finfo(proto_tree *tree, const int hfindex)
Definition proto.c:11470
WS_DLL_PUBLIC const char * proto_get_protocol_filter_name(const int proto_id)
Definition proto.c:8557
hf_ref_type
Definition proto.h:756
WS_DLL_PUBLIC void WS_DLL_PUBLIC void proto_item_append_text(proto_item *pi, const char *format,...) G_GNUC_PRINTF(2
WS_DLL_PUBLIC proto_item * proto_tree_add_float_format_value(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, float value, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_double_format(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, double value, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC const char * proto_get_protocol_long_name(const protocol_t *protocol)
Definition proto.c:8549
WS_DLL_PUBLIC proto_item * proto_tree_add_ether_format_value(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, const uint8_t *value, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC enum ftenum proto_registrar_get_ftype(const int n)
Definition proto.c:11320
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_guid_format(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, const e_guid_t *value_ptr, const char *format,...) G_GNUC_PRINTF(7
#define FI_RESET_FLAG(fi, flag)
Definition proto.h:884
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_string_format(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, const char *value, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC void proto_initialize_all_prefixes(void)
Definition proto.c:1009
WS_DLL_PUBLIC proto_item * proto_item_get_parent(const proto_item *pi)
Definition proto.c:8057
WS_DLL_PUBLIC int proto_registrar_get_id_byname(const char *field_name)
Definition proto.c:1093
WS_DLL_PUBLIC proto_item * proto_tree_add_item_ret_display_string_and_length(proto_tree *tree, int hfindex, tvbuff_t *tvb, const int start, int length, const unsigned encoding, wmem_allocator_t *scope, char **retval, int *lenretval)
Definition proto.c:4112
WS_DLL_PUBLIC header_field_info * proto_registrar_get_byalias(const char *alias_name)
Definition proto.c:1062
WS_DLL_PUBLIC proto_item * proto_tree_add_item_ret_float(proto_tree *tree, int hfindex, tvbuff_t *tvb, const int start, int length, const unsigned encoding, float *retval)
Parse a float from the buffer and add it to the tree, returning the item added and the parsed value v...
Definition proto.c:3822
WS_DLL_PUBLIC GPtrArray * proto_all_finfos(proto_tree *tree)
Definition proto.c:11500
WS_DLL_PUBLIC void proto_tree_set_appendix(proto_tree *tree, tvbuff_t *tvb, int start, const int length)
Definition proto.c:8154
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_float(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, float value)
Definition proto.c:5673
WS_DLL_PUBLIC void proto_heuristic_dissector_foreach(const protocol_t *protocol, GFunc func, void *user_data)
Definition proto.c:8581
WS_DLL_PUBLIC proto_item * proto_tree_add_ipxnet_format_value(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, uint32_t value, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC proto_tree * proto_tree_get_parent_tree(proto_tree *tree)
Definition proto.c:8084
WS_DLL_PUBLIC int proto_register_protocol_in_name_only(const char *name, const char *short_name, const char *filter_name, int parent_proto, enum ftenum field_type)
Definition proto.c:8289
struct _proto_node proto_node
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_time_format(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, nstime_t *value_ptr, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC char * proto_construct_match_selected_string(const field_info *finfo, struct epan_dissect *edt)
Definition proto.c:12534
WS_DLL_PUBLIC const char * proto_get_protocol_short_name(const protocol_t *protocol)
Definition proto.c:8541
WS_DLL_PUBLIC char * proto_find_undecoded_data(proto_tree *tree, unsigned length)
Definition proto.c:11586
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_int64(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, int64_t value)
Definition proto.c:6083
WS_DLL_PUBLIC int proto_item_fill_display_label(const field_info *fi, char *display_label_str, const int label_str_size)
Definition proto.c:7017
WS_DLL_PUBLIC bool proto_is_protocol_enabled_by_default(const protocol_t *protocol)
Definition proto.c:8712
WS_DLL_PUBLIC field_info * proto_find_field_from_offset(proto_tree *tree, unsigned offset, tvbuff_t *tvb)
Definition proto.c:11547
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_ipxnet_format(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, uint32_t value, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC void proto_registrar_dump_values(void)
Definition proto.c:11673
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_guid(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, const e_guid_t *value_ptr)
Definition proto.c:5146
WS_DLL_PUBLIC proto_item * proto_tree_add_bitmask_len(proto_tree *tree, tvbuff_t *tvb, const unsigned offset, const unsigned len, const int hf_hdr, const int ett, int *const *fields, struct expert_field *exp, const unsigned encoding)
Definition proto.c:13109
WS_DLL_PUBLIC void tree_expanded_set(int tree_type, bool value)
Definition proto.c:14184
WS_DLL_PUBLIC proto_item * proto_tree_add_item_ret_double(proto_tree *tree, int hfindex, tvbuff_t *tvb, const int start, int length, const unsigned encoding, double *retval)
Parse a double from the buffer and add it to the tree, returning the item added and the parsed value ...
Definition proto.c:3861
WS_DLL_PUBLIC void proto_item_set_bits_offset_len(proto_item *ti, int bits_offset, int bits_len)
Definition proto.c:7906
proto_item proto_item WS_DLL_PUBLIC proto_tree * proto_tree_add_subtree(proto_tree *tree, tvbuff_t *tvb, int start, int length, int idx, proto_item **tree_item, const char *text)
Definition proto.c:1468
#define FI_GET_FLAG(fi, flag)
Definition proto.h:876
void proto_tree_add_split_bits_crumb(proto_tree *tree, const int hf_index, tvbuff_t *tvb, const unsigned bit_offset, const crumb_spec_t *crumb_spec, uint16_t crumb_index)
Definition proto.c:13539
WS_DLL_PUBLIC uint8_t proto_get_layer_num(const packet_info *pinfo, const int proto_id)
Definition proto.c:8678
proto_node proto_item
Definition proto.h:919
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item struct _mac_hf_list_t mac_hf_list_t
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_ipxnet(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, uint32_t value)
Definition proto.c:4923
WS_DLL_PUBLIC proto_item * proto_tree_add_oid_format_value(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, const uint8_t *value_ptr, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC int proto_registrar_get_parent(const int n)
Definition proto.c:11329
WS_DLL_PUBLIC proto_item * proto_tree_add_uint64_format_value(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, uint64_t value, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC proto_tree * proto_item_add_subtree(proto_item *pi, const int idx) G_GNUC_WARN_UNUSED_RESULT
Definition proto.c:8027
proto_item * proto_tree_add_text_internal(proto_tree *tree, tvbuff_t *tvb, int start, int length, const char *format,...) G_GNUC_PRINTF(5
WS_DLL_PUBLIC proto_item * proto_tree_add_double_format_value(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, double value, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item proto_item proto_item * proto_tree_add_int_bits_format_value(proto_tree *tree, const int hf_index, tvbuff_t *tvb, const unsigned bit_offset, const int no_of_bits, int32_t value, const unsigned encoding, const char *format,...) G_GNUC_PRINTF(8
WS_DLL_PUBLIC proto_item * proto_tree_add_uint_bits_format_value(proto_tree *tree, const int hf_index, tvbuff_t *tvb, const unsigned bit_offset, const int no_of_bits, uint32_t value, const unsigned encoding, const char *format,...) G_GNUC_PRINTF(8
WS_DLL_PUBLIC proto_item * proto_tree_add_mac48_detail(const mac_hf_list_t *list_specific, const mac_hf_list_t *list_generic, int idx, tvbuff_t *tvb, proto_tree *tree, int offset)
Definition proto.c:6255
WS_DLL_PUBLIC header_field_info * proto_registrar_get_nth(unsigned hfindex)
Definition proto.c:934
#define FI_HIDDEN
Definition proto.h:856
WS_DLL_PUBLIC proto_item * proto_tree_add_item_ret_ether(proto_tree *tree, int hfindex, tvbuff_t *tvb, const int start, int length, const unsigned encoding, uint8_t *retval)
Parse an ethernet address from the buffer and add it to the tree, writing the value to the pointer sp...
Definition proto.c:3992
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_ipv4(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, ws_in4_addr value)
Definition proto.c:4988
WS_DLL_PUBLIC proto_item * proto_item_get_parent_nth(proto_item *pi, int gen)
Definition proto.c:8064
WS_DLL_PUBLIC unsigned char proto_check_field_name(const char *field_name)
Definition proto.c:14162
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_double(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, double value)
Definition proto.c:5738
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_ipv6(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, const ws_in6_addr *value_ptr)
Definition proto.c:5055
WS_DLL_PUBLIC proto_item * proto_tree_add_uint_format_value(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, uint32_t value, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC GPtrArray * proto_get_finfo_ptr_array(const proto_tree *tree, const int hfindex)
Definition proto.c:11380
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item proto_item proto_item proto_item proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_ts_23_038_7bits_packed_item(proto_tree *tree, const int hfindex, tvbuff_t *tvb, const unsigned bit_offset, const int no_of_chars)
Definition proto.c:13898
void proto_tree_set_fake_protocols(proto_tree *tree, bool fake_protocols)
Definition proto.c:896
void proto_tree_prime_with_hfid_print(proto_tree *tree, const int hfid)
WS_DLL_PUBLIC proto_item * proto_tree_add_bitmask_with_flags_ret_uint64(proto_tree *tree, tvbuff_t *tvb, const unsigned offset, const int hf_hdr, const int ett, int *const *fields, const unsigned encoding, const int flags, uint64_t *retval)
Definition proto.c:12961
bool proto_deregister_protocol(const char *short_name)
Definition proto.c:8348
WS_DLL_PUBLIC proto_item * proto_tree_add_guid_format_value(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, const e_guid_t *value_ptr, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC bool proto_is_frame_protocol(const wmem_list_t *layers, const char *proto_name)
Definition proto.c:8630
WS_DLL_PUBLIC void proto_add_deregistered_data(void *data)
Definition proto.c:8919
field_display_e
Definition proto.h:683
WS_DLL_PUBLIC const char * proto_registrar_get_abbrev(const int n)
Definition proto.c:11311
void(* prefix_initializer_t)(const char *match)
Definition proto.h:2630
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item proto_item proto_item proto_item * proto_tree_add_int64_bits_format_value(proto_tree *tree, const int hf_index, tvbuff_t *tvb, const unsigned bit_offset, const int no_of_bits, int64_t value, const unsigned encoding, const char *format,...) G_GNUC_PRINTF(8
proto_item proto_item * proto_tree_add_text_valist_internal(proto_tree *tree, tvbuff_t *tvb, int start, int length, const char *format, va_list ap) G_GNUC_PRINTF(5
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item proto_item * proto_tree_add_boolean_bits_format_value(proto_tree *tree, const int hf_index, tvbuff_t *tvb, const unsigned bit_offset, const int no_of_bits, uint64_t value, const unsigned encoding, const char *format,...) G_GNUC_PRINTF(8
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_int(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, int32_t value)
Definition proto.c:5988
WS_DLL_PUBLIC bool proto_tree_set_visible(proto_tree *tree, bool visible)
Definition proto.c:886
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_int64_format(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, int64_t value, const char *format,...) G_GNUC_PRINTF(7
void proto_cleanup(void)
Definition proto.c:738
WS_DLL_PUBLIC proto_item * proto_tree_add_time_item(proto_tree *tree, int hfindex, tvbuff_t *tvb, const int start, int length, const unsigned encoding, nstime_t *retval, int *endoff, int *err)
Definition proto.c:4566
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_ipv6_format(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, const ws_in6_addr *value_ptr, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC WS_NORETURN void proto_report_dissector_bug(const char *format,...) G_GNUC_PRINTF(1
WS_DLL_PUBLIC int proto_get_id_by_filter_name(const char *filter_name)
Definition proto.c:8501
void proto_add_heuristic_dissector(protocol_t *protocol, const char *short_name)
Definition proto.c:8567
WS_DLL_PUBLIC proto_tree * proto_item_get_subtree(proto_item *pi)
Definition proto.c:8045
WS_DLL_PUBLIC void proto_tree_free(proto_tree *tree)
Definition proto.c:860
WS_DLL_PUBLIC void proto_registrar_dump_fields(void)
Definition proto.c:12167
WS_DLL_PUBLIC int proto_get_first_protocol(void **cookie)
Definition proto.c:8408
WS_DLL_PUBLIC void WS_DLL_PUBLIC void WS_DLL_PUBLIC void WS_DLL_PUBLIC void proto_item_set_len(proto_item *pi, const int length)
Definition proto.c:7853
WS_DLL_PUBLIC proto_item * proto_tree_add_none_format(proto_tree *tree, const int hfindex, tvbuff_t *tvb, const int start, int length, const char *format,...) G_GNUC_PRINTF(6
WS_DLL_PUBLIC proto_item * proto_tree_add_bitmask(proto_tree *tree, tvbuff_t *tvb, const unsigned offset, const int hf_hdr, const int ett, int *const *fields, const unsigned encoding)
Definition proto.c:12949
WS_DLL_PUBLIC proto_item * proto_tree_add_bitmask_value_with_flags(proto_tree *tree, tvbuff_t *tvb, const unsigned offset, const int hf_hdr, const int ett, int *const *fields, const uint64_t value, const int flags)
Definition proto.c:13030
WS_DLL_PUBLIC proto_item * proto_tree_add_item_ret_time_string(proto_tree *tree, int hfindex, tvbuff_t *tvb, const int start, int length, const unsigned encoding, wmem_allocator_t *scope, char **retval)
Definition proto.c:4240
WS_DLL_PUBLIC void proto_tree_move_item(proto_tree *tree, proto_item *fixed_item, proto_item *item_to_move)
Definition proto.c:8107
WS_DLL_PUBLIC proto_item * proto_tree_add_ascii_7bits_item(proto_tree *tree, const int hfindex, tvbuff_t *tvb, const unsigned bit_offset, const int no_of_chars)
Definition proto.c:13926
proto_node proto_tree
Definition proto.h:917
WS_DLL_PUBLIC char * proto_item_get_display_repr(wmem_allocator_t *scope, proto_item *pi)
Definition proto.c:7915
WS_DLL_PUBLIC bool proto_can_match_selected(const field_info *finfo, struct epan_dissect *edt)
Definition proto.c:12522
WS_DLL_PUBLIC GPtrArray * proto_find_finfo(proto_tree *tree, const int hfindex)
Definition proto.c:11451
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_uint64_format(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, uint64_t value, const char *format,...) G_GNUC_PRINTF(7
proto_tree * proto_tree_create_root(struct _packet_info *pinfo)
Definition proto.c:7929
WS_DLL_PUBLIC void proto_disable_by_default(const int proto_id)
Definition proto.c:8736
WS_DLL_PUBLIC void proto_item_set_text(proto_item *pi, const char *format,...) G_GNUC_PRINTF(2
WS_DLL_PUBLIC proto_item * proto_tree_add_debug_text(proto_tree *tree, const char *format,...) G_GNUC_PRINTF(2
WS_DLL_PUBLIC proto_item * proto_tree_add_bytes_with_length(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, const uint8_t *start_ptr, int ptr_length)
Definition proto.c:4757
WS_DLL_PUBLIC void WS_DLL_PUBLIC void WS_DLL_PUBLIC void proto_item_prepend_text(proto_item *pi, const char *format,...) G_GNUC_PRINTF(2
WS_DLL_PUBLIC proto_item * proto_tree_add_item_new(proto_tree *tree, header_field_info *hfinfo, tvbuff_t *tvb, const int start, int length, const unsigned encoding)
Definition proto.c:4324
WS_DLL_PUBLIC proto_item * proto_tree_add_int64_format_value(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, int64_t value, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC void proto_tree_add_bitmask_list(proto_tree *tree, tvbuff_t *tvb, const unsigned offset, const int len, int *const *fields, const unsigned encoding)
Definition proto.c:13058
WS_DLL_PUBLIC proto_item * proto_tree_get_parent(proto_tree *tree)
Definition proto.c:8077
WS_DLL_PUBLIC void proto_register_plugin(const proto_plugin *plugin)
WS_DLL_PUBLIC proto_item * proto_tree_add_item_ret_string_and_length(proto_tree *tree, int hfindex, tvbuff_t *tvb, const int start, int length, const unsigned encoding, wmem_allocator_t *scope, const uint8_t **retval, int *lenretval)
Definition proto.c:4031
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_boolean_format(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, uint64_t value, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC proto_item * proto_tree_add_item_ret_display_string(proto_tree *tree, int hfindex, tvbuff_t *tvb, const int start, int length, const unsigned encoding, wmem_allocator_t *scope, char **retval)
Definition proto.c:4228
WS_DLL_PUBLIC proto_tree * proto_tree_add_subtree_format(proto_tree *tree, tvbuff_t *tvb, int start, int length, int idx, proto_item **tree_item, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC void proto_set_cant_toggle(const int proto_id)
Definition proto.c:8807
WS_DLL_PUBLIC bool proto_tracking_interesting_fields(const proto_tree *tree)
Definition proto.c:11393
WS_DLL_PUBLIC void proto_register_prefix(const char *prefix, prefix_initializer_t initializer)
Definition proto.c:992
WS_DLL_PUBLIC int proto_register_protocol(const char *name, const char *short_name, const char *filter_name)
Definition proto.c:8219
WS_DLL_PUBLIC void proto_registrar_dump_protocols(void)
Definition proto.c:11610
WS_DLL_PUBLIC proto_item * proto_tree_add_checksum_bytes(proto_tree *tree, tvbuff_t *tvb, const unsigned offset, const int hf_checksum, const int hf_checksum_status, struct expert_field *bad_checksum_expert, packet_info *pinfo, const uint8_t *computed_checksum, size_t checksum_len, const unsigned flags)
Definition proto.c:14069
const char * proto_custom_set(proto_tree *tree, GSList *field_id, int occurrence, bool display_details, char *result, char *expr, const int size)
Definition proto.c:7300
bool proto_check_for_protocol_or_field(const proto_tree *tree, const int id)
Definition proto.c:11362
WS_DLL_PUBLIC proto_item * proto_tree_add_ipv6_format_value(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, const ws_in6_addr *value_ptr, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_time(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, const nstime_t *value_ptr)
Definition proto.c:4856
char * proto_custom_get_filter(struct epan_dissect *edt, GSList *field_id, int occurrence)
Definition proto.c:7536
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_protocol_format(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, const char *format,...) G_GNUC_PRINTF(6
WS_DLL_PUBLIC proto_item * proto_tree_add_bitmask_with_flags(proto_tree *tree, tvbuff_t *tvb, const unsigned offset, const int hf_hdr, const int ett, int *const *fields, const unsigned encoding, const int flags)
Definition proto.c:12996
WS_DLL_PUBLIC proto_tree proto_item * proto_tree_add_format_text(proto_tree *tree, tvbuff_t *tvb, int start, int length)
Definition proto.c:1519
WS_DLL_PUBLIC proto_tree * proto_tree_get_root(proto_tree *tree)
Definition proto.c:8097
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_uint_format(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, uint32_t value, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_uint64_bits_format_value(proto_tree *tree, const int hf_index, tvbuff_t *tvb, const unsigned bit_offset, const int no_of_bits, uint64_t value, const unsigned encoding, const char *format,...) G_GNUC_PRINTF(8
WS_DLL_PUBLIC bool proto_registrar_dump_field_completions(const char *prefix)
Definition proto.c:12278
WS_DLL_PUBLIC bool proto_can_toggle_protocol(const int proto_id)
Definition proto.c:8723
void proto_init(GSList *register_all_plugin_protocols_list, GSList *register_all_plugin_handoffs_list, register_cb cb, void *client_data)
Definition proto.c:560
WS_DLL_PUBLIC void proto_registrar_dump_ftypes(void)
Definition proto.c:12343
WS_DLL_PUBLIC proto_item * proto_tree_add_ipv4_format_value(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, ws_in4_addr value, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC protocol_t * find_protocol_by_id(const int proto_id)
Definition proto.c:8470
WS_DLL_PUBLIC void proto_reenable_all(void)
Definition proto.c:8789
WS_DLL_PUBLIC bool proto_registrar_is_protocol(const int n)
Definition proto.c:11338
WS_DLL_PUBLIC void proto_disable_all(void)
Definition proto.c:8759
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_uint64(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, uint64_t value)
Definition proto.c:5896
WS_DLL_PUBLIC header_field_info * proto_registrar_get_byname(const char *field_name)
Definition proto.c:1020
WS_DLL_PUBLIC int num_tree_types
Definition proto.h:2976
#define PITEM_FINFO(proto_item)
Definition proto.h:987
WS_DLL_PUBLIC const char * proto_field_display_to_string(int field_display)
Definition proto.c:9130
WS_DLL_PUBLIC void proto_free_deregistered_fields(void)
Definition proto.c:9081
#define FI_GENERATED
Definition proto.h:859
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_boolean(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, uint64_t value)
Definition proto.c:5512
#define FI_SET_FLAG(fi, flag)
Definition proto.h:878
WS_DLL_PUBLIC proto_item * proto_tree_add_item_ret_ipv6(proto_tree *tree, int hfindex, tvbuff_t *tvb, const int start, int length, const unsigned encoding, ws_in6_addr *retval)
Parse an ipv6 address from the buffer and add it to the tree, writing the value to the pointer specif...
Definition proto.c:3953
WS_DLL_PUBLIC proto_item * proto_tree_add_item_ret_string(proto_tree *tree, int hfindex, tvbuff_t *tvb, const int start, int length, const unsigned encoding, wmem_allocator_t *scope, const uint8_t **retval)
Definition proto.c:4102
WS_DLL_PUBLIC int proto_get_id(const protocol_t *protocol)
Definition proto.c:8485
WS_DLL_PUBLIC proto_item * proto_tree_add_eui64_format_value(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, const uint64_t value, const char *format,...) G_GNUC_PRINTF(7
WS_DLL_PUBLIC void proto_register_alias(const int proto_id, const char *alias_name)
Definition proto.c:8390
WS_DLL_PUBLIC void proto_deregister_all_fields_with_prefix(const int parent, const gchar *prefix)
Definition proto.c:8893
WS_DLL_PUBLIC void proto_free_field_strings(ftenum_t field_type, unsigned int field_display, const void *field_strings)
Definition proto.c:8935
WS_DLL_PUBLIC proto_item * proto_tree_add_bitmask_text(proto_tree *tree, tvbuff_t *tvb, const unsigned offset, const unsigned len, const char *name, const char *fallback, const int ett, int *const *fields, const unsigned encoding, const int flags)
Definition proto.c:13161
WS_DLL_PUBLIC void proto_item_set_end(proto_item *pi, tvbuff_t *tvb, int end)
Definition proto.c:7875
WS_DLL_PUBLIC proto_item * proto_tree_add_bitmask_ret_uint64(proto_tree *tree, tvbuff_t *tvb, const unsigned offset, const int hf_hdr, const int ett, int *const *fields, const unsigned encoding, uint64_t *retval)
Definition proto.c:12923
WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item WS_DLL_PUBLIC proto_item * proto_tree_add_ether(proto_tree *tree, int hfindex, tvbuff_t *tvb, int start, int length, const uint8_t *value)
Definition proto.c:5441
@ HF_REF_TYPE_INDIRECT
Definition proto.h:758
@ HF_REF_TYPE_NONE
Definition proto.h:757
@ HF_REF_TYPE_DIRECT
Definition proto.h:759
@ HF_REF_TYPE_PRINT
Definition proto.h:760
@ ABSOLUTE_TIME_DOY_UTC
Definition proto.h:716
@ BASE_PT_UDP
Definition proto.h:705
@ BASE_HEX_DEC
Definition proto.h:691
@ BASE_HEX
Definition proto.h:688
@ ABSOLUTE_TIME_NTP_UTC
Definition proto.h:717
@ BASE_EXP
Definition proto.h:693
@ ABSOLUTE_TIME_UTC
Definition proto.h:715
@ BASE_DEC
Definition proto.h:687
@ ABSOLUTE_TIME_UNIX
Definition proto.h:718
@ BASE_PT_TCP
Definition proto.h:706
@ BASE_DEC_HEX
Definition proto.h:690
@ BASE_OUI
Definition proto.h:711
@ SEP_COLON
Definition proto.h:698
@ BASE_PT_SCTP
Definition proto.h:708
@ BASE_NETMASK
Definition proto.h:702
@ ABSOLUTE_TIME_LOCAL
Definition proto.h:714
@ BASE_PT_DCCP
Definition proto.h:707
@ BASE_STR_WSP
Definition proto.h:721
@ BASE_NONE
Definition proto.h:684
@ SEP_DOT
Definition proto.h:696
@ SEP_DASH
Definition proto.h:697
@ SEP_SPACE
Definition proto.h:699
@ BASE_OCT
Definition proto.h:689
@ BASE_CUSTOM
Definition proto.h:692
Definition guid-utils.h:23
Definition ftypes-int.h:17
size_t value_pos
Definition proto.h:811
size_t value_len
Definition proto.h:812
Definition packet_info.h:43
Definition value_string.h:27
Definition wmem_allocator.h:27
Definition wmem_list.c:23
Definition inet_addr.h:21
Definition epan_dissect.h:28
tvbuff_t * ds_tvb
Definition proto.h:825
int proto_layer_num
Definition proto.h:828
int length
Definition proto.h:819
int total_layer_num
Definition proto.h:827
int appendix_start
Definition proto.h:820
uint32_t flags
Definition proto.h:823
const header_field_info * hfinfo
Definition proto.h:817
item_label_t * rep
Definition proto.h:824
int start
Definition proto.h:818
int appendix_length
Definition proto.h:821
int tree_type
Definition proto.h:822
int * p_id
Definition proto.h:804
header_field_info hfinfo
Definition proto.h:805
Definition tvbuff-int.h:35