12 #ifndef EXPORTED_PDU_H
13 #define EXPORTED_PDU_H
15 #include "ws_symbol_export.h"
16 #include "ws_attributes.h"
34 #define EXPORT_PDU_TAP_NAME_LAYER_3 "OSI layer 3"
35 #define EXPORT_PDU_TAP_NAME_LAYER_4 "OSI layer 4"
36 #define EXPORT_PDU_TAP_NAME_LAYER_7 "OSI layer 7"
40 WS_DLL_PUBLIC gint register_export_pdu_tap(
const char *name);
43 WS_DLL_PUBLIC gint register_export_pdu_tap_with_encap(
const char *name, gint encap);
44 WS_DLL_PUBLIC GSList *get_export_pdu_tap_list(
void);
46 WS_DLL_PUBLIC gint export_pdu_tap_get_encap(
const char* name);
83 guint tvb_captured_length;
84 guint tvb_reported_length;
118 WS_DLL_PUBLIC
int exp_pdu_data_dissector_table_num_value_size(
packet_info *pinfo,
void* data);
119 WS_DLL_PUBLIC
int exp_pdu_data_dissector_table_num_value_populate_data(
packet_info *pinfo,
void* data, guint8 *tlv_buffer, guint32 buffer_size);
128 extern void export_pdu_init(
void);
130 extern void export_pdu_cleanup(
void);
WS_DLL_PUBLIC exp_pdu_data_t * export_pdu_create_common_tags(packet_info *pinfo, const char *proto_name, guint16 tag_type)
Definition: exported_pdu.c:199
int(* exp_pdu_populate_data)(packet_info *pinfo, void *data, guint8 *tlv_buffer, guint32 tlv_buffer_size)
Definition: exported_pdu.h:64
int(* exp_pdu_get_size)(packet_info *pinfo, void *data)
Definition: exported_pdu.h:54
WS_DLL_PUBLIC exp_pdu_data_t * export_pdu_create_tags(packet_info *pinfo, const char *proto_name, guint16 tag_type, const exp_pdu_data_item_t **items)
Definition: exported_pdu.c:220
Definition: exported_pdu.h:80
Definition: packet_info.h:44
Definition: exported_pdu.h:67
Definition: tvbuff-int.h:35