12#include "ws_symbol_export.h"
13#include "ws_attributes.h"
29#define EXPORT_PDU_TAP_NAME_LAYER_3 "OSI layer 3"
30#define EXPORT_PDU_TAP_NAME_LAYER_4 "OSI layer 4"
31#define EXPORT_PDU_TAP_NAME_LAYER_7 "OSI layer 7"
44WS_DLL_PUBLIC
int register_export_pdu_tap_with_encap(
const char *name,
int encap);
45WS_DLL_PUBLIC GSList *get_export_pdu_tap_list(
void);
47WS_DLL_PUBLIC
int export_pdu_tap_get_encap(
const char* name);
84 unsigned tlv_buffer_len;
86 unsigned tvb_captured_length;
87 unsigned tvb_reported_length;
121WS_DLL_PUBLIC
int exp_pdu_data_dissector_table_num_value_size(
packet_info *pinfo,
void* data);
122WS_DLL_PUBLIC
int exp_pdu_data_dissector_table_num_value_populate_data(
packet_info *pinfo,
void* data, uint8_t *tlv_buffer, uint32_t buffer_size);
WS_DLL_PUBLIC int register_export_pdu_tap(const char *name)
Register an export PDU tap with a default encapsulation.
Definition exported_pdu.c:284
void export_pdu_cleanup(void)
Cleans up resources used by exported PDU handling.
Definition exported_pdu.c:327
int(* exp_pdu_get_size)(packet_info *pinfo, void *data)
Compute the size (in bytes) of a pdu item.
Definition exported_pdu.h:56
int(* exp_pdu_populate_data)(packet_info *pinfo, void *data, uint8_t *tlv_buffer, uint32_t tlv_buffer_size)
Populate a buffer with pdu item data.
Definition exported_pdu.h:67
WS_DLL_PUBLIC exp_pdu_data_t * export_pdu_create_common_tags(packet_info *pinfo, const char *proto_name, uint16_t tag_type)
Definition exported_pdu.c:197
void export_pdu_init(void)
Initializes the PDU export system.
Definition exported_pdu.c:322
WS_DLL_PUBLIC exp_pdu_data_t * export_pdu_create_tags(packet_info *pinfo, const char *proto_name, uint16_t tag_type, const exp_pdu_data_item_t **items)
Definition exported_pdu.c:218
Definition exported_pdu.h:83
Definition packet_info.h:40
Definition exported_pdu.h:70
Definition tvbuff-int.h:33