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
126#define OPT_PKT_FLAGS 2
127#define OPT_PKT_HASH 3
128#define OPT_PKT_DROPCOUNT 4
129#define OPT_PKT_PACKETID 5
130#define OPT_PKT_QUEUE 6
131#define OPT_PKT_VERDICT 7
134#define OPT_NS_DNSNAME 2
135#define OPT_NS_DNSIP4ADDR 3
136#define OPT_NS_DNSIP6ADDR 4
139#define OPT_ISB_STARTTIME 2
140#define OPT_ISB_ENDTIME 3
141#define OPT_ISB_IFRECV 4
142#define OPT_ISB_IFDROP 5
143#define OPT_ISB_FILTERACCEPT 6
144#define OPT_ISB_OSDROP 7
145#define OPT_ISB_USRDELIV 8
185 WTAP_BLOCK_SECTION = 0,
186 WTAP_BLOCK_IF_ID_AND_INFO,
187 WTAP_BLOCK_NAME_RESOLUTION,
188 WTAP_BLOCK_IF_STATISTICS,
189 WTAP_BLOCK_DECRYPTION_SECRETS,
191 WTAP_BLOCK_FT_SPECIFIC_REPORT,
192 WTAP_BLOCK_FT_SPECIFIC_EVENT,
193 WTAP_BLOCK_SYSDIG_EVENT,
194 WTAP_BLOCK_META_EVENT,
195 WTAP_BLOCK_SYSTEMD_JOURNAL_EXPORT,
197 MAX_WTAP_BLOCK_TYPE_VALUE
219 GArray *interface_data;
227 uint64_t time_units_per_second;
232 uint8_t num_stat_entries;
241 GList *ipv4_addr_list;
242 GList *ipv6_addr_list;
249 uint32_t interface_id;
258 uint32_t secrets_type;
267 uint32_t mev_block_type;
282typedef struct wtapng_packet_mandatory_s {
283 uint32_t interface_id;
286 uint32_t captured_len;
288} wtapng_packet_mandatory_t;
295 unsigned record_type;
314 WTAP_OPTTYPE_IF_FILTER,
315 WTAP_OPTTYPE_PACKET_VERDICT,
316 WTAP_OPTTYPE_PACKET_HASH,
323 WTAP_OPTTYPE_SUCCESS = 0,
324 WTAP_OPTTYPE_NO_SUCH_OPTION = -1,
325 WTAP_OPTTYPE_NOT_FOUND = -2,
326 WTAP_OPTTYPE_TYPE_MISMATCH = -3,
327 WTAP_OPTTYPE_NUMBER_MISMATCH = -4,
328 WTAP_OPTTYPE_ALREADY_EXISTS = -5,
329 WTAP_OPTTYPE_BAD_BLOCK = -6,
330} wtap_opttype_return_val;
333#define PEN_NFLX 10949
334#define PEN_VCTR 46254
343 struct generic_custom_opt_data {
344 size_t custom_data_len;
347 struct nflx_custom_opt_data {
349 size_t custom_data_len;
351 bool use_little_endian;
360 bool nflx_use_little_endian;
362 size_t nflx_custom_data_len;
363 char *nflx_custom_data;
385 if_filter_type_e type;
388 struct wtap_bpf_insns {
401 packet_verdict_hardware = 0,
402 packet_verdict_linux_ebpf_tc = 1,
403 packet_verdict_linux_ebpf_xdp = 2
404} packet_verdict_type_e;
407 packet_verdict_type_e type;
409 GByteArray *verdict_bytes;
410 uint64_t verdict_linux_ebpf_tc;
411 uint64_t verdict_linux_ebpf_xdp;
417 GByteArray *hash_bytes;
448#define NFLX_OPT_TYPE_VERSION 1
449#define NFLX_OPT_TYPE_TCPINFO 2
450#define NFLX_OPT_TYPE_DUMPINFO 4
451#define NFLX_OPT_TYPE_DUMPTIME 5
452#define NFLX_OPT_TYPE_STACKNAME 6
455 uint32_t tlh_version;
458 uint16_t tlh_ie_fport;
459 uint16_t tlh_ie_lport;
460 uint32_t tlh_ie_faddr_addr32[4];
461 uint32_t tlh_ie_laddr_addr32[4];
462 uint32_t tlh_ie_zoneid;
463 uint64_t tlh_offset_tv_sec;
464 uint64_t tlh_offset_tv_usec;
473#define NFLX_TLB_FLAG_RXBUF 0x0001
474#define NFLX_TLB_FLAG_TXBUF 0x0002
475#define NFLX_TLB_FLAG_HDR 0x0004
476#define NFLX_TLB_FLAG_VERBOSE 0x0008
477#define NFLX_TLB_FLAG_STACKINFO 0x0010
480#define NFLX_TLB_TF_REQ_SCALE 0x00000020
481#define NFLX_TLB_TF_RCVD_SCALE 0x00000040
484#define NFLX_TLB_TCPS_ESTABLISHED 4
485#define NFLX_TLB_IS_SYNCHRONIZED(state) (state >= NFLX_TLB_TCPS_ESTABLISHED)
489 uint64_t tlb_tv_usec;
494 uint16_t tlb_eventflags;
496 uint32_t tlb_rxbuf_tls_sb_acc;
497 uint32_t tlb_rxbuf_tls_sb_ccc;
498 uint32_t tlb_rxbuf_tls_sb_spare;
499 uint32_t tlb_txbuf_tls_sb_acc;
500 uint32_t tlb_txbuf_tls_sb_ccc;
501 uint32_t tlb_txbuf_tls_sb_spare;
503 uint32_t tlb_starttime;
506 uint32_t tlb_snd_una;
507 uint32_t tlb_snd_max;
508 uint32_t tlb_snd_cwnd;
509 uint32_t tlb_snd_nxt;
510 uint32_t tlb_snd_recover;
511 uint32_t tlb_snd_wnd;
512 uint32_t tlb_snd_ssthresh;
516 uint32_t tlb_rcv_adv;
518 uint32_t tlb_rcv_nxt;
519 uint32_t tlb_rcv_wnd;
520 uint32_t tlb_dupacks;
522 int32_t tlb_snd_numholes;
525 uint32_t tlb_fbyte_in;
526 uint32_t tlb_fbyte_out;
527 uint8_t tlb_snd_scale:4,
532 uint64_t tlb_stackinfo_bbr_cur_del_rate;
533 uint64_t tlb_stackinfo_bbr_delRate;
534 uint64_t tlb_stackinfo_bbr_rttProp;
535 uint64_t tlb_stackinfo_bbr_bw_inuse;
536 uint32_t tlb_stackinfo_bbr_inflight;
537 uint32_t tlb_stackinfo_bbr_applimited;
538 uint32_t tlb_stackinfo_bbr_delivered;
539 uint32_t tlb_stackinfo_bbr_timeStamp;
540 uint32_t tlb_stackinfo_bbr_epoch;
541 uint32_t tlb_stackinfo_bbr_lt_epoch;
542 uint32_t tlb_stackinfo_bbr_pkts_out;
543 uint32_t tlb_stackinfo_bbr_flex1;
544 uint32_t tlb_stackinfo_bbr_flex2;
545 uint32_t tlb_stackinfo_bbr_flex3;
546 uint32_t tlb_stackinfo_bbr_flex4;
547 uint32_t tlb_stackinfo_bbr_flex5;
548 uint32_t tlb_stackinfo_bbr_flex6;
549 uint32_t tlb_stackinfo_bbr_lost;
550 uint16_t tlb_stackinfo_bbr_pacing_gain;
551 uint16_t tlb_stackinfo_bbr_cwnd_gain;
552 uint16_t tlb_stackinfo_bbr_flex7;
553 uint8_t tlb_stackinfo_bbr_bbr_state;
554 uint8_t tlb_stackinfo_bbr_bbr_substate;
555 uint8_t tlb_stackinfo_bbr_inhpts;
556 uint8_t tlb_stackinfo_bbr_ininput;
557 uint8_t tlb_stackinfo_bbr_use_lt_bw;
558 uint8_t tlb_stackinfo_bbr_flex8;
559 uint32_t tlb_stackinfo_bbr_pkt_epoch;
564typedef void (*wtap_block_create_func)(
wtap_block_t block);
645WS_DLL_PUBLIC wtap_block_type_t
662WS_DLL_PUBLIC
unsigned
673WS_DLL_PUBLIC wtap_opttype_return_val
684WS_DLL_PUBLIC wtap_opttype_return_val
695WS_DLL_PUBLIC wtap_opttype_return_val
706WS_DLL_PUBLIC wtap_opttype_return_val
717WS_DLL_PUBLIC wtap_opttype_return_val
728WS_DLL_PUBLIC wtap_opttype_return_val
739WS_DLL_PUBLIC wtap_opttype_return_val
750WS_DLL_PUBLIC wtap_opttype_return_val
761WS_DLL_PUBLIC wtap_opttype_return_val
772WS_DLL_PUBLIC wtap_opttype_return_val
783WS_DLL_PUBLIC wtap_opttype_return_val
794WS_DLL_PUBLIC wtap_opttype_return_val
805WS_DLL_PUBLIC wtap_opttype_return_val
816WS_DLL_PUBLIC wtap_opttype_return_val
827WS_DLL_PUBLIC wtap_opttype_return_val
838WS_DLL_PUBLIC wtap_opttype_return_val
849WS_DLL_PUBLIC wtap_opttype_return_val
860WS_DLL_PUBLIC wtap_opttype_return_val
871WS_DLL_PUBLIC wtap_opttype_return_val
882WS_DLL_PUBLIC wtap_opttype_return_val
893WS_DLL_PUBLIC wtap_opttype_return_val
904WS_DLL_PUBLIC wtap_opttype_return_val
915WS_DLL_PUBLIC wtap_opttype_return_val
926WS_DLL_PUBLIC wtap_opttype_return_val
938WS_DLL_PUBLIC wtap_opttype_return_val
949WS_DLL_PUBLIC wtap_opttype_return_val
960WS_DLL_PUBLIC wtap_opttype_return_val
973WS_DLL_PUBLIC wtap_opttype_return_val
987WS_DLL_PUBLIC wtap_opttype_return_val
998WS_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
1049WS_DLL_PUBLIC wtap_opttype_return_val
1060WS_DLL_PUBLIC wtap_opttype_return_val
1072WS_DLL_PUBLIC wtap_opttype_return_val
1084WS_DLL_PUBLIC wtap_opttype_return_val
1097WS_DLL_PUBLIC wtap_opttype_return_val
1111WS_DLL_PUBLIC wtap_opttype_return_val
1123WS_DLL_PUBLIC wtap_opttype_return_val
1135WS_DLL_PUBLIC wtap_opttype_return_val
1148WS_DLL_PUBLIC wtap_opttype_return_val
1159WS_DLL_PUBLIC wtap_opttype_return_val
1170WS_DLL_PUBLIC wtap_opttype_return_val
1181WS_DLL_PUBLIC wtap_opttype_return_val
1192WS_DLL_PUBLIC wtap_opttype_return_val
1205WS_DLL_PUBLIC wtap_opttype_return_val
1218WS_DLL_PUBLIC wtap_opttype_return_val
1232WS_DLL_PUBLIC wtap_opttype_return_val
1245WS_DLL_PUBLIC wtap_opttype_return_val
1256WS_DLL_PUBLIC wtap_opttype_return_val
1278typedef
bool (*wtap_block_foreach_func)(
wtap_block_t block,
unsigned option_id, wtap_opttype_e option_type,
wtap_optval_t *option,
void *user_data);
1280wtap_block_foreach_option(
wtap_block_t block, wtap_block_foreach_func func,
void* user_data);
Definition wtap_opttypes.h:340
Definition inet_addr.h:21
Definition wtap_opttypes.h:384
char * filter_str
Definition wtap_opttypes.h:387
unsigned bpf_prog_len
Definition wtap_opttypes.h:389
wtap_bpf_insn_t * bpf_prog
Definition wtap_opttypes.h:390
Definition wtap_opttypes.h:359
Definition wtap_opttypes.h:454
Definition wtap_opttypes.h:487
Definition wtap_opttypes.h:415
Definition wtap_opttypes.h:406
Definition wtap_opttypes.c:85
Definition wtap_opttypes.h:369
Definition wtap_opttypes.h:443
wtap_optval_t value
Definition wtap_opttypes.h:445
unsigned option_id
Definition wtap_opttypes.h:444
Definition wtap_opttypes.h:257
uint32_t secrets_len
Definition wtap_opttypes.h:259
uint8_t * secrets_data
Definition wtap_opttypes.h:260
Definition wtap_opttypes.h:294
Definition wtap_opttypes.h:225
GArray * interface_statistics
Definition wtap_opttypes.h:233
int tsprecision
Definition wtap_opttypes.h:228
int wtap_encap
Definition wtap_opttypes.h:226
Definition wtap_opttypes.h:248
Definition wtap_opttypes.h:218
Definition wtap_opttypes.h:240
Definition wtap_opttypes.h:203
uint64_t section_length
Definition wtap_opttypes.h:204
Definition wtap_opttypes.h:423
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:1561
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:846
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_add_custom_option(wtap_block_t block, unsigned option_id, uint32_t pen, const char *custom_data, size_t custom_data_len)
Definition wtap_opttypes.c:1533
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:794
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:976
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:1323
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:1623
WS_DLL_PUBLIC wtap_block_t wtap_block_make_copy(wtap_block_t block)
Definition wtap_opttypes.c:586
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:807
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:950
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:1002
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:1093
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:820
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:1234
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:859
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:1080
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:1579
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:1107
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:1174
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:1636
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:989
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:898
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_add_nflx_custom_option(wtap_block_t block, uint32_t nflx_type, const char *nflx_custom_data, size_t nflx_custom_data_len)
Definition wtap_opttypes.c:1349
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:1336
WS_DLL_PUBLIC wtap_block_t wtap_block_create(wtap_block_type_t block_type)
Definition wtap_opttypes.c:333
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:417
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:885
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:1691
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:1054
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:1260
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:833
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:1067
WS_DLL_PUBLIC void wtap_opttypes_initialize(void)
Definition wtap_opttypes.c:1913
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:1028
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:937
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:963
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:1605
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:924
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:468
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:1151
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:1309
struct wtapng_iface_descriptions_s wtapng_iface_descriptions_t
WS_DLL_PUBLIC void wtap_block_unref(wtap_block_t block)
Definition wtap_opttypes.c:430
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:1548
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:1247
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:1286
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:1015
WS_DLL_PUBLIC void wtap_opttypes_cleanup(void)
Definition wtap_opttypes.c:2264
WS_DLL_PUBLIC wtap_block_type_t wtap_block_get_type(wtap_block_t block)
Definition wtap_opttypes.c:280
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:911
WS_DLL_PUBLIC void * wtap_block_get_mandatory_data(wtap_block_t block)
Definition wtap_opttypes.c:285
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:781
WS_DLL_PUBLIC void wtap_block_copy(wtap_block_t dest_block, wtap_block_t src_block)
Definition wtap_opttypes.c:498
WS_DLL_PUBLIC void wtap_block_array_free(GArray *block_array)
Definition wtap_opttypes.c:455
WS_DLL_PUBLIC void wtap_block_array_unref(GArray *block_array)
Definition wtap_opttypes.c:481
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:1273
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_remove_option(wtap_block_t block, unsigned option_id)
Definition wtap_opttypes.c:1649
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:872
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:1592
WS_DLL_PUBLIC unsigned wtap_block_count_option(wtap_block_t block, unsigned option_id)
Definition wtap_opttypes.c:596
WS_DLL_PUBLIC wtap_opttype_return_val wtap_block_get_nflx_custom_option(wtap_block_t block, uint32_t nflx_type, char *nflx_custom_data, size_t nflx_custom_data_len)
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:1041