10#ifndef WTAP_OPT_TYPES_H
11#define WTAP_OPT_TYPES_H
13#include "ws_symbol_export.h"
28#define OPT_CUSTOM_STR_COPY 2988
29#define OPT_CUSTOM_BIN_COPY 2989
30#define OPT_CUSTOM_STR_NO_COPY 19372
31#define OPT_CUSTOM_BIN_NO_COPY 19373
34#define OPT_SHB_HARDWARE 2
40#define OPT_SHB_USERAPPL 4
49#define OPT_IDB_DESCRIPTION 3
55#define OPT_IDB_IP4ADDR 4
60#define OPT_IDB_IP6ADDR 5
66#define OPT_IDB_MACADDR 6
67#define OPT_IDB_EUIADDR 7
68#define OPT_IDB_SPEED 8
70#define OPT_IDB_TSRESOL 9
79#define OPT_IDB_TZONE 10
85#define OPT_IDB_FILTER 11
100#define OPT_IDB_FCSLEN 13
105#define OPT_IDB_TSOFFSET 14
115#define OPT_IDB_HARDWARE 15
122#define OPT_IDB_TXSPEED 16
125#define OPT_IDB_RXSPEED 17
128#define OPT_IDB_IANA_TZNAME 18
135#define OPT_PKT_FLAGS 2
136#define OPT_PKT_HASH 3
137#define OPT_PKT_DROPCOUNT 4
138#define OPT_PKT_PACKETID 5
139#define OPT_PKT_QUEUE 6
140#define OPT_PKT_VERDICT 7
141#define OPT_PKT_PROCIDTHRDID 8
144#define OPT_NS_DNSNAME 2
145#define OPT_NS_DNSIP4ADDR 3
146#define OPT_NS_DNSIP6ADDR 4
149#define OPT_ISB_STARTTIME 2
150#define OPT_ISB_ENDTIME 3
151#define OPT_ISB_IFRECV 4
152#define OPT_ISB_IFDROP 5
153#define OPT_ISB_FILTERACCEPT 6
154#define OPT_ISB_OSDROP 7
155#define OPT_ISB_USRDELIV 8
192 WTAP_BLOCK_SECTION = 0,
193 WTAP_BLOCK_IF_ID_AND_INFO,
194 WTAP_BLOCK_NAME_RESOLUTION,
195 WTAP_BLOCK_IF_STATISTICS,
196 WTAP_BLOCK_DECRYPTION_SECRETS,
198 WTAP_BLOCK_FT_SPECIFIC_REPORT,
199 WTAP_BLOCK_FT_SPECIFIC_EVENT,
200 WTAP_BLOCK_SYSDIG_EVENT,
201 WTAP_BLOCK_META_EVENT,
202 WTAP_BLOCK_SYSTEMD_JOURNAL_EXPORT,
204 MAX_WTAP_BLOCK_TYPE_VALUE
210typedef void (*wtap_block_create_func)(
wtap_block_t block);
221 wtap_block_create_func create;
222 wtap_mand_free_func free_mand;
223 wtap_mand_copy_func copy_mand;
230 void* mandatory_data;
233#ifdef DEBUG_COUNT_REFS
257 GArray *interface_data;
265 uint64_t time_units_per_second;
270 uint8_t num_stat_entries;
279 GList *ipv4_addr_list;
280 GList *ipv6_addr_list;
287 uint32_t interface_id;
296 uint32_t secrets_type;
305 uint32_t mev_block_type;
320typedef struct wtapng_packet_mandatory_s {
321 uint32_t interface_id;
324 uint32_t captured_len;
326} wtapng_packet_mandatory_t;
333 unsigned record_type;
351 WTAP_OPTTYPE_CUSTOM_STRING,
352 WTAP_OPTTYPE_CUSTOM_BINARY,
353 WTAP_OPTTYPE_IF_FILTER,
354 WTAP_OPTTYPE_PACKET_VERDICT,
355 WTAP_OPTTYPE_PACKET_HASH,
362 WTAP_OPTTYPE_SUCCESS = 0,
363 WTAP_OPTTYPE_NO_SUCH_OPTION = -1,
364 WTAP_OPTTYPE_NOT_FOUND = -2,
365 WTAP_OPTTYPE_TYPE_MISMATCH = -3,
366 WTAP_OPTTYPE_NUMBER_MISMATCH = -4,
367 WTAP_OPTTYPE_ALREADY_EXISTS = -5,
368 WTAP_OPTTYPE_BAD_BLOCK = -6,
369 WTAP_OPTTYPE_PEN_MISMATCH = -7,
370} wtap_opttype_return_val;
373#define PEN_VCTR 46254
388 size_t custom_data_len;
420 if_filter_type_e type;
423 struct wtap_bpf_insns {
436 packet_verdict_hardware = 0,
437 packet_verdict_linux_ebpf_tc = 1,
438 packet_verdict_linux_ebpf_xdp = 2
439} packet_verdict_type_e;
442 packet_verdict_type_e type;
444 GByteArray *verdict_bytes;
445 uint64_t verdict_linux_ebpf_tc;
446 uint64_t verdict_linux_ebpf_xdp;
452 GByteArray *hash_bytes;
484typedef void (*wtap_block_create_func)(
wtap_block_t block);
498#define GET_OPTION_TYPE(options, option_id) \
499 (const wtap_opttype_t *)g_hash_table_lookup((options), GUINT_TO_POINTER(option_id))
585WS_DLL_PUBLIC wtap_block_type_t
602WS_DLL_PUBLIC
unsigned
613WS_DLL_PUBLIC wtap_opttype_return_val
624WS_DLL_PUBLIC wtap_opttype_return_val
635WS_DLL_PUBLIC wtap_opttype_return_val
646WS_DLL_PUBLIC wtap_opttype_return_val
657WS_DLL_PUBLIC wtap_opttype_return_val
668WS_DLL_PUBLIC wtap_opttype_return_val
679WS_DLL_PUBLIC wtap_opttype_return_val
690WS_DLL_PUBLIC wtap_opttype_return_val
701WS_DLL_PUBLIC wtap_opttype_return_val
712WS_DLL_PUBLIC wtap_opttype_return_val
723WS_DLL_PUBLIC wtap_opttype_return_val
734WS_DLL_PUBLIC wtap_opttype_return_val
745WS_DLL_PUBLIC wtap_opttype_return_val
756WS_DLL_PUBLIC wtap_opttype_return_val
767WS_DLL_PUBLIC wtap_opttype_return_val
778WS_DLL_PUBLIC wtap_opttype_return_val
789WS_DLL_PUBLIC wtap_opttype_return_val
800WS_DLL_PUBLIC wtap_opttype_return_val
811WS_DLL_PUBLIC wtap_opttype_return_val
822WS_DLL_PUBLIC wtap_opttype_return_val
833WS_DLL_PUBLIC wtap_opttype_return_val
844WS_DLL_PUBLIC wtap_opttype_return_val
855WS_DLL_PUBLIC wtap_opttype_return_val
866WS_DLL_PUBLIC wtap_opttype_return_val
878WS_DLL_PUBLIC wtap_opttype_return_val
889WS_DLL_PUBLIC wtap_opttype_return_val
900WS_DLL_PUBLIC wtap_opttype_return_val
913WS_DLL_PUBLIC wtap_opttype_return_val
927WS_DLL_PUBLIC wtap_opttype_return_val
938WS_DLL_PUBLIC wtap_opttype_return_val
952WS_DLL_PUBLIC wtap_opttype_return_val
964WS_DLL_PUBLIC wtap_opttype_return_val
977WS_DLL_PUBLIC wtap_opttype_return_val
989WS_DLL_PUBLIC wtap_opttype_return_val
1000WS_DLL_PUBLIC wtap_opttype_return_val
1012WS_DLL_PUBLIC wtap_opttype_return_val
1024WS_DLL_PUBLIC wtap_opttype_return_val
1037WS_DLL_PUBLIC wtap_opttype_return_val
1051WS_DLL_PUBLIC wtap_opttype_return_val
1065WS_DLL_PUBLIC wtap_opttype_return_val
1078WS_DLL_PUBLIC wtap_opttype_return_val
1092WS_DLL_PUBLIC wtap_opttype_return_val
1106WS_DLL_PUBLIC wtap_opttype_return_val
1117WS_DLL_PUBLIC wtap_opttype_return_val
1128WS_DLL_PUBLIC wtap_opttype_return_val
1139WS_DLL_PUBLIC wtap_opttype_return_val
1150WS_DLL_PUBLIC wtap_opttype_return_val
1163WS_DLL_PUBLIC wtap_opttype_return_val
1176WS_DLL_PUBLIC wtap_opttype_return_val
1190WS_DLL_PUBLIC wtap_opttype_return_val
1203WS_DLL_PUBLIC wtap_opttype_return_val
1214WS_DLL_PUBLIC wtap_opttype_return_val
1236typedef
bool (*wtap_block_foreach_func)(
wtap_block_t block,
unsigned option_id, wtap_opttype_e option_type,
wtap_optval_t *option,
void *user_data);
1238wtap_block_foreach_option(
wtap_block_t block, wtap_block_foreach_func func,
void* user_data);
Definition wtap_opttypes.h:387
Definition wtap_opttypes.h:396
Definition wtap_opttypes.h:379
Definition inet_addr.h:21
Definition wtap_opttypes.h:419
char * filter_str
Definition wtap_opttypes.h:422
unsigned bpf_prog_len
Definition wtap_opttypes.h:424
wtap_bpf_insn_t * bpf_prog
Definition wtap_opttypes.h:425
Definition file-pcapng.h:57
Definition wtap_opttypes.h:450
Definition wtap_opttypes.h:441
Definition wtap_opttypes.h:228
Definition wtap_opttypes.h:217
const char * description
Definition wtap_opttypes.h:220
GHashTable * options
Definition wtap_opttypes.h:224
const char * name
Definition wtap_opttypes.h:219
wtap_block_type_t block_type
Definition wtap_opttypes.h:218
Definition wtap_opttypes.h:404
Definition wtap_opttypes.h:479
wtap_optval_t value
Definition wtap_opttypes.h:481
unsigned option_id
Definition wtap_opttypes.h:480
Definition wtap_opttypes.h:491
wtap_opttype_e data_type
Definition wtap_opttypes.h:494
const char * description
Definition wtap_opttypes.h:493
const char * name
Definition wtap_opttypes.h:492
unsigned flags
Definition wtap_opttypes.h:495
Definition wtap_opttypes.h:295
uint32_t secrets_len
Definition wtap_opttypes.h:297
uint8_t * secrets_data
Definition wtap_opttypes.h:298
Definition wtap_opttypes.h:332
Definition wtap_opttypes.h:263
GArray * interface_statistics
Definition wtap_opttypes.h:271
int tsprecision
Definition wtap_opttypes.h:266
int wtap_encap
Definition wtap_opttypes.h:264
Definition wtap_opttypes.h:286
Definition wtap_opttypes.h:256
Definition wtap_opttypes.h:278
Definition wtap_opttypes.h:241
uint64_t section_length
Definition wtap_opttypes.h:242
Definition wtap_opttypes.h:458
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_set_if_filter_option_value(wtap_block_t block, unsigned option_id, if_filter_opt_t *value)
Definition wtap_opttypes.c:1557
struct wtapng_meta_event_mandatory_s wtapng_meta_event_mandatory_t
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_get_uint32_option_value(wtap_block_t block, unsigned option_id, uint32_t *value) G_GNUC_WARN_UNUSED_RESULT
Definition wtap_opttypes.c:830
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_set_uint8_option_value(wtap_block_t block, unsigned option_id, uint8_t value)
Definition wtap_opttypes.c:778
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_add_int64_option(wtap_block_t block, unsigned option_id, int64_t value)
Definition wtap_opttypes.c:960
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_get_bytes_option_value(wtap_block_t block, unsigned option_id, GBytes **value) G_GNUC_WARN_UNUSED_RESULT
Definition wtap_opttypes.c:1307
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_get_nth_packet_verdict_option_value(wtap_block_t block, unsigned option_id, unsigned idx, packet_verdict_opt_t *value) G_GNUC_WARN_UNUSED_RESULT
Definition wtap_opttypes.c:1619
WS_DLL_PUBLIC wtap_block_t wtap_block_make_copy(wtap_block_t block)
Definition wtap_opttypes.c:570
struct wtapng_section_mandatory_s wtapng_section_mandatory_t
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_get_uint8_option_value(wtap_block_t block, unsigned option_id, uint8_t *value) G_GNUC_WARN_UNUSED_RESULT
Definition wtap_opttypes.c:791
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_set_int32_option_value(wtap_block_t block, unsigned option_id, int32_t value)
Definition wtap_opttypes.c:934
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_get_int64_option_value(wtap_block_t block, unsigned option_id, int64_t *value) G_GNUC_WARN_UNUSED_RESULT
Definition wtap_opttypes.c:986
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_add_string_option(wtap_block_t block, unsigned option_id, const char *value, size_t value_length)
Definition wtap_opttypes.c:1077
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_add_uint32_option(wtap_block_t block, unsigned option_id, uint32_t value)
Definition wtap_opttypes.c:804
WS_DLL_PUBLIC void wtap_opttype_block_register(wtap_blocktype_t *blocktype)
Definition wtap_opttypes.c:185
WS_DLL_PUBLIC wtap_opttype_return_val WS_DLL_PUBLIC wtap_opttype_return_val WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_get_string_option_value(wtap_block_t block, unsigned option_id, char **value) G_GNUC_WARN_UNUSED_RESULT
Definition wtap_opttypes.c:1218
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_add_uint64_option(wtap_block_t block, unsigned option_id, uint64_t value)
Definition wtap_opttypes.c:843
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_get_ipv6_option_value(wtap_block_t block, unsigned option_id, ws_in6_addr *value) G_GNUC_WARN_UNUSED_RESULT
Definition wtap_opttypes.c:1064
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_get_if_filter_option_value(wtap_block_t block, unsigned option_id, if_filter_opt_t *value) G_GNUC_WARN_UNUSED_RESULT
Definition wtap_opttypes.c:1575
struct wtapng_if_stats_mandatory_s wtapng_if_stats_mandatory_t
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_add_string_option_owned(wtap_block_t block, unsigned option_id, char *value)
Definition wtap_opttypes.c:1091
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_set_nth_string_option_value(wtap_block_t block, unsigned option_id, unsigned idx, const char *value, size_t value_length)
Definition wtap_opttypes.c:1158
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_add_packet_hash_option(wtap_block_t block, unsigned option_id, packet_hash_opt_t *value)
Definition wtap_opttypes.c:1632
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_add_string_option_format(wtap_block_t block, unsigned option_id, const char *format,...) G_GNUC_PRINTF(3
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_set_int64_option_value(wtap_block_t block, unsigned option_id, int64_t value)
Definition wtap_opttypes.c:973
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_add_int8_option(wtap_block_t block, unsigned option_id, int8_t value)
Definition wtap_opttypes.c:882
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_get_nth_bytes_option_value(wtap_block_t block, unsigned option_id, unsigned idx, GBytes **value) G_GNUC_WARN_UNUSED_RESULT
Definition wtap_opttypes.c:1320
WS_DLL_PUBLIC wtap_block_t wtap_block_create(wtap_block_type_t block_type)
Definition wtap_opttypes.c:318
struct wtapng_dsb_mandatory_s wtapng_dsb_mandatory_t
struct wtapng_nrb_mandatory_s wtapng_nrb_mandatory_t
WS_DLL_PUBLIC wtap_block_t wtap_block_ref(wtap_block_t block)
Definition wtap_opttypes.c:399
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_set_string_option_value_format(wtap_block_t block, unsigned option_id, const char *format,...) G_GNUC_PRINTF(3
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_get_uint64_option_value(wtap_block_t block, unsigned option_id, uint64_t *value) G_GNUC_WARN_UNUSED_RESULT
Definition wtap_opttypes.c:869
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_remove_nth_option_instance(wtap_block_t block, unsigned option_id, unsigned idx)
Definition wtap_opttypes.c:1687
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_add_ipv6_option(wtap_block_t block, unsigned option_id, ws_in6_addr *value)
Definition wtap_opttypes.c:1038
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_add_bytes_option(wtap_block_t block, unsigned option_id, const uint8_t *value, size_t value_length)
Definition wtap_opttypes.c:1244
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_set_uint32_option_value(wtap_block_t block, unsigned option_id, uint32_t value)
Definition wtap_opttypes.c:817
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_set_ipv6_option_value(wtap_block_t block, unsigned option_id, ws_in6_addr *value)
Definition wtap_opttypes.c:1051
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_add_custom_binary_option_from_data(wtap_block_t block, unsigned option_id, uint32_t pen, const void *data, size_t data_size)
Definition wtap_opttypes.c:1507
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_add_custom_binary_option(wtap_block_t block, unsigned option_id, uint32_t pen, binary_optdata_t *value)
Definition wtap_opttypes.c:1492
WS_DLL_PUBLIC void wtap_opttypes_initialize(void)
Definition wtap_opttypes.c:1888
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_set_ipv4_option_value(wtap_block_t block, unsigned option_id, uint32_t value)
Definition wtap_opttypes.c:1012
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_add_int32_option(wtap_block_t block, unsigned option_id, int32_t value)
Definition wtap_opttypes.c:921
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_get_int32_option_value(wtap_block_t block, unsigned option_id, int32_t *value) G_GNUC_WARN_UNUSED_RESULT
Definition wtap_opttypes.c:947
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_set_nth_packet_verdict_option_value(wtap_block_t block, unsigned option_id, unsigned idx, packet_verdict_opt_t *value)
Definition wtap_opttypes.c:1601
WS_DLL_PUBLIC wtap_opttype_return_val WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_set_nth_string_option_value_format(wtap_block_t block, unsigned option_id, unsigned idx, const char *format,...) G_GNUC_PRINTF(4
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_get_int8_option_value(wtap_block_t block, unsigned option_id, int8_t *value) G_GNUC_WARN_UNUSED_RESULT
Definition wtap_opttypes.c:908
struct wtapng_if_descr_mandatory_s wtapng_if_descr_mandatory_t
WS_DLL_PUBLIC void wtap_block_array_ref(GArray *block_array)
Definition wtap_opttypes.c:450
WS_DLL_PUBLIC wtap_opttype_return_val WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_set_string_option_value(wtap_block_t block, unsigned option_id, const char *value, size_t value_length)
Definition wtap_opttypes.c:1135
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_set_nth_bytes_option_value(wtap_block_t block, unsigned option_id, unsigned idx, GBytes *value)
Definition wtap_opttypes.c:1293
struct wtapng_iface_descriptions_s wtapng_iface_descriptions_t
WS_DLL_PUBLIC void wtap_block_unref(wtap_block_t block)
Definition wtap_opttypes.c:412
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_add_if_filter_option(wtap_block_t block, unsigned option_id, if_filter_opt_t *value)
Definition wtap_opttypes.c:1544
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_get_nth_string_option_value(wtap_block_t block, unsigned option_id, unsigned idx, char **value) G_GNUC_WARN_UNUSED_RESULT
Definition wtap_opttypes.c:1231
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_set_bytes_option_value(wtap_block_t block, unsigned option_id, const uint8_t *value, size_t value_length)
Definition wtap_opttypes.c:1270
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_add_ipv4_option(wtap_block_t block, unsigned option_id, uint32_t value)
Definition wtap_opttypes.c:999
WS_DLL_PUBLIC void wtap_opttypes_cleanup(void)
Definition wtap_opttypes.c:2257
WS_DLL_PUBLIC wtap_block_type_t wtap_block_get_type(wtap_block_t block)
Definition wtap_opttypes.c:262
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_set_int8_option_value(wtap_block_t block, unsigned option_id, int8_t value)
Definition wtap_opttypes.c:895
WS_DLL_PUBLIC void * wtap_block_get_mandatory_data(wtap_block_t block)
Definition wtap_opttypes.c:267
struct wtapng_ft_specific_mandatory_s wtapng_ft_specific_mandatory_t
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_add_uint8_option(wtap_block_t block, unsigned option_id, uint8_t value)
Definition wtap_opttypes.c:765
WS_DLL_PUBLIC void wtap_block_copy(wtap_block_t dest_block, wtap_block_t src_block)
Definition wtap_opttypes.c:480
WS_DLL_PUBLIC void wtap_block_array_free(GArray *block_array)
Definition wtap_opttypes.c:437
WS_DLL_PUBLIC void wtap_block_array_unref(GArray *block_array)
Definition wtap_opttypes.c:463
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_add_bytes_option_borrow(wtap_block_t block, unsigned option_id, GBytes *value)
Definition wtap_opttypes.c:1257
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_remove_option(wtap_block_t block, unsigned option_id)
Definition wtap_opttypes.c:1645
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_set_uint64_option_value(wtap_block_t block, unsigned option_id, uint64_t value)
Definition wtap_opttypes.c:856
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_add_packet_verdict_option(wtap_block_t block, unsigned option_id, packet_verdict_opt_t *value)
Definition wtap_opttypes.c:1588
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_get_nth_custom_binary_option_value(wtap_block_t block, unsigned option_id, uint32_t pen, unsigned idx, binary_optdata_t *value)
Definition wtap_opttypes.c:1525
WS_DLL_PUBLIC unsigned wtap_block_count_option(wtap_block_t block, unsigned option_id)
Definition wtap_opttypes.c:580
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_get_ipv4_option_value(wtap_block_t block, unsigned option_id, uint32_t *value) G_GNUC_WARN_UNUSED_RESULT
Definition wtap_opttypes.c:1025
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_add_custom_string_option(wtap_block_t block, unsigned option_id, uint32_t pen, const char *value, size_t value_length)
Definition wtap_opttypes.c:1459