17#define WS_LOG_DOMAIN "MATE"
40#define DEFAULT_GOG_EXPIRATION 2.0
48#define DEFAULT_MATE_LIB_PATH "matelib"
50#define MATE_ITEM_ID_SIZE 24
52#define VALUE_TOO ((void*)1)
54#define MateConfigError 65535
56typedef enum _gop_tree_mode_t {
62typedef enum _gop_pdu_tree {
69typedef enum _accept_mode_t {
80 GPtrArray* transforms;
85 int hfid_pdu_rel_time;
86 int hfid_pdu_time_in_gop;
93 GHashTable* hfids_attr;
99 GPtrArray* transport_ranges;
100 GPtrArray* payload_ranges;
102 avpl_match_mode criterium_match_mode;
103 accept_mode_t criterium_accept_mode;
113 GPtrArray* transforms;
125 bool drop_unassigned;
126 gop_pdu_tree_t pdu_tree_mode;
129 GHashTable* my_hfids;
135 int hfid_gop_num_pdus;
142 GHashTable* gop_index;
143 GHashTable* gog_index;
153 GPtrArray* transforms;
159 gop_tree_mode_t gop_tree_mode;
162 GHashTable* my_hfids;
164 int hfid_gog_num_of_gops;
166 int hfid_gog_gopstart;
167 int hfid_gog_gopstop;
179 char* mate_config_file;
183 GArray *wanted_hfids;
184 unsigned num_fields_wanted;
195 GPtrArray* pducfglist;
196 GHashTable* gops_by_pduname;
197 GHashTable* gogs_by_gopname;
206 avpl_match_mode match_mode;
207 avpl_replace_mode replace_mode;
210 bool drop_unassigned;
219 gop_pdu_tree_t pdu_tree_mode;
221 bool drop_unassigned;
228 gop_tree_mode_t gop_tree_mode;
238 GPtrArray* config_stack;
239 GString* config_error;
251 unsigned current_items;
253 unsigned highest_analyzed_frame;
298 double idle_expiration;
300 double time_to_timeout;
308 int num_of_after_release_pdus;
326 double idle_expiration;
337 int num_of_counting_gops;
338 int num_of_released_gops;
349extern void initialize_mate_runtime(
mate_config* mc);
350extern mate_pdu* mate_get_pdus(uint32_t framenum);
354extern mate_config* mate_make_config(
const char* filename,
int mate_hfid);
361extern char* add_ranges(
char* range, GPtrArray* range_ptr_arr);
365extern bool mate_load_config(
const char* filename,
mate_config* mc);
368#define YYMALLOCARGTYPE size_t
369void *MateParserAlloc(
void* (*)(YYMALLOCARGTYPE));
370void MateParserFree(
void*,
void (*)(
void *));
Definition mate_util.h:70
Definition mate_util.h:116
Definition packet_info.h:43