16 #include "../wmem/wmem.h" 17 #include "ws_symbol_export.h" 74 #define IS_FT_INT(ft) ((ft)==FT_INT8||(ft)==FT_INT16||(ft)==FT_INT24||(ft)==FT_INT32||(ft)==FT_INT40||(ft)==FT_INT48||(ft)==FT_INT56||(ft)==FT_INT64) 75 #define IS_FT_UINT32(ft) ((ft)==FT_CHAR||(ft)==FT_UINT8||(ft)==FT_UINT16||(ft)==FT_UINT24||(ft)==FT_UINT32||(ft)==FT_FRAMENUM) 76 #define IS_FT_UINT(ft) ((ft)==FT_CHAR||(ft)==FT_UINT8||(ft)==FT_UINT16||(ft)==FT_UINT24||(ft)==FT_UINT32||(ft)==FT_UINT40||(ft)==FT_UINT48||(ft)==FT_UINT56||(ft)==FT_UINT64||(ft)==FT_FRAMENUM) 77 #define IS_FT_TIME(ft) ((ft)==FT_ABSOLUTE_TIME||(ft)==FT_RELATIVE_TIME) 78 #define IS_FT_STRING(ft) ((ft)==FT_STRING||(ft)==FT_STRINGZ||(ft)==FT_STRINGZPAD) 81 #define FT_ETHER_LEN 6 82 #define FT_GUID_LEN 16 84 #define FT_IPv6_LEN 16 85 #define FT_IPXNET_LEN 4 86 #define FT_EUI64_LEN 8 87 #define FT_AX25_ADDR_LEN 7 88 #define FT_VINES_ADDR_LEN 6 89 #define FT_FCWWN_LEN 8 90 #define FT_VARINT_MAX_LEN 10 92 typedef enum ftenum ftenum_t;
94 enum ft_framenum_type {
100 FT_FRAMENUM_RETRANS_PREV,
101 FT_FRAMENUM_RETRANS_NEXT,
102 FT_FRAMENUM_NUM_TYPES
105 typedef enum ft_framenum_type ft_framenum_type_t;
116 typedef enum ftrepr ftrepr_t;
120 ftypes_initialize(
void);
127 ftype_similar_types(
const enum ftenum ftype_a,
const enum ftenum ftype_b);
132 ftype_name(ftenum_t ftype);
139 ftype_pretty_name(ftenum_t ftype);
143 ftype_length(ftenum_t ftype);
147 ftype_can_slice(
enum ftenum ftype);
151 ftype_can_eq(
enum ftenum ftype);
155 ftype_can_ne(
enum ftenum ftype);
159 ftype_can_gt(
enum ftenum ftype);
163 ftype_can_ge(
enum ftenum ftype);
167 ftype_can_lt(
enum ftenum ftype);
171 ftype_can_le(
enum ftenum ftype);
174 ftype_can_bitwise_and(
enum ftenum ftype);
178 ftype_can_contains(
enum ftenum ftype);
182 ftype_can_matches(
enum ftenum ftype);
186 #include <epan/ipv4.h> 187 #include <epan/ipv6.h> 188 #include <epan/guid-utils.h> 190 #include <epan/tvbuff.h> 192 #include <epan/dfilter/drange.h> 219 guint16 sfloat_ieee_11073;
220 guint32 float_ieee_11073;
225 gboolean fvalue_gboolean1;
230 fvalue_new(ftenum_t ftype);
233 fvalue_init(
fvalue_t *fv, ftenum_t ftype);
237 fvalue_from_unparsed(ftenum_t ftype,
const char *s, gboolean allow_partial_value, gchar **err_msg);
240 fvalue_from_string(ftenum_t ftype,
const char *s, gchar **err_msg);
250 fvalue_string_repr_len(
fvalue_t *fv, ftrepr_t rtype,
int field_display);
263 WS_DLL_PUBLIC ftenum_t
270 fvalue_set_byte_array(
fvalue_t *fv, GByteArray *value);
273 fvalue_set_bytes(
fvalue_t *fv,
const guint8 *value);
282 fvalue_set_string(
fvalue_t *fv,
const gchar *value);
288 fvalue_set_uinteger(
fvalue_t *fv, guint32 value);
291 fvalue_set_sinteger(
fvalue_t *fv, gint32 value);
294 fvalue_set_uinteger64(
fvalue_t *fv, guint64 value);
297 fvalue_set_sinteger64(
fvalue_t *fv, gint64 value);
300 fvalue_set_floating(
fvalue_t *fv, gdouble value);
306 WS_DLL_PUBLIC guint32
314 fvalue_get_uinteger64(
fvalue_t *fv);
318 fvalue_get_sinteger64(
fvalue_t *fv);
Definition: ftypes-int.h:69
Definition: tvbuff-int.h:35
Definition: guid-utils.h:21
Definition: wmem_allocator.h:26