45 enum { OD_ENTRY_SCALAR = 7, OD_ENTRY_ARRAY = 8, OD_ENTRY_RECORD = 9 };
59 const struct epl_datatype *type;
62 #define OD_ENTRY_INITIALIZER { 0, 0, { 0 }, 0, 0 }
68 #define SUBOBJECT_INITIALIZER { RANGE_ADMIN_T_INITIALIZER, OD_ENTRY_INITIALIZER }
79 const struct epl_datatype *epl_type_to_hf(
const char *name);
81 static inline gboolean
82 subobject_equal(gconstpointer _a, gconstpointer _b)
87 return a->type_class == b->type_class
89 && g_str_equal(a->name, b->name);
94 void epl_eds_init(
void);
101 gboolean epl_profile_object_mapping_add(
struct profile *
profile, guint16 idx, guint8 subindex, guint64 mapping);
102 gboolean epl_profile_object_mappings_update(
struct profile *
profile);
108 #define EPL_OBJECT_MAPPING_SIZE ((guint)sizeof (guint64))
110 #define CHECK_OVERLAP_ENDS(x1, x2, y1, y2) ((x1) < (y2) && (y1) < (x2))
111 #define CHECK_OVERLAP_LENGTH(x, x_len, y, y_len) \
112 CHECK_OVERLAP_ENDS((x), (x) + (x_len), (y), (y) + (y_len))
Definition: wmem_allocator.h:27
Definition: wmem_array.c:27
Definition: wmem_map.c:44
Definition: packet-epl-profile-parser.c:126
Definition: file-pcapng.h:57
Definition: packet-epl.h:72
Definition: packet-epl.h:46
Definition: packet-epl.h:23
Definition: packet-epl.h:64