11#ifndef __PACKET_OER_H__
12#define __PACKET_OER_H__
14#include "ws_symbol_export.h"
24#define ASN1_NO_EXTENSIONS 0
25#define ASN1_EXTENSION_ROOT ASN1_EXT_ROOT
26#define ASN1_NOT_EXTENSION_ROOT ASN1_EXT_EXT
29#define ASN1_NOT_OPTIONAL 0
30#define ASN1_OPTIONAL ASN1_OPT
54WS_DLL_PUBLIC uint32_t dissect_oer_IA5String(
tvbuff_t *tvb, uint32_t offset,
asn1_ctx_t *actx,
proto_tree *tree,
int hf_index,
int min_len,
int max_len,
bool has_extension);
64extern uint32_t dissect_oer_UTF8String(
tvbuff_t *tvb, uint32_t offset,
asn1_ctx_t *actx,
proto_tree *tree,
int hf_index,
int min_len,
int max_len,
bool has_extension);
68WS_DLL_PUBLIC uint32_t dissect_oer_constrained_sequence_of(
tvbuff_t *tvb, uint32_t offset,
asn1_ctx_t *actx,
proto_tree *parent_tree,
int hf_index,
int ett_index,
const oer_sequence_t *seq,
int min_len,
int max_len,
bool has_extension);
80WS_DLL_PUBLIC uint32_t dissect_oer_boolean(
tvbuff_t *tvb, uint32_t offset,
asn1_ctx_t *actx,
proto_tree *tree,
int hf_index,
bool *bool_val);
82WS_DLL_PUBLIC uint32_t dissect_oer_integer(
tvbuff_t *tvb, uint32_t offset,
asn1_ctx_t *actx,
proto_tree *tree,
int hf_index, int32_t *value);
84WS_DLL_PUBLIC uint32_t dissect_oer_constrained_integer(
tvbuff_t *tvb, uint32_t offset,
asn1_ctx_t *actx,
proto_tree *tree,
int hf_index, int64_t min, int64_t max, uint32_t *value,
bool has_extension);
86WS_DLL_PUBLIC uint32_t dissect_oer_constrained_integer_64b(
tvbuff_t *tvb, uint32_t offset,
asn1_ctx_t *actx,
proto_tree *tree,
int hf_index, int64_t min, uint64_t max, uint64_t *value,
bool has_extension);
87WS_DLL_PUBLIC uint32_t dissect_oer_constrained_integer_64b_no_ub(
tvbuff_t *tvb, uint32_t offset,
asn1_ctx_t *actx,
proto_tree *tree,
int hf_index, int64_t min, uint64_t max, uint64_t *value,
bool has_extension);
96WS_DLL_PUBLIC uint32_t dissect_oer_octet_string(
tvbuff_t *tvb, uint32_t offset,
asn1_ctx_t *actx,
proto_tree *tree,
int hf_index,
int min_len,
int max_len,
bool has_extension,
tvbuff_t **value_tvb);
100dissect_oer_bit_string(
tvbuff_t *tvb, uint32_t offset _U_,
asn1_ctx_t *actx,
proto_tree *tree,
int hf_index _U_,
int min_len _U_,
int max_len _U_,
bool has_extension _U_,
int *
const *named_bits _U_,
int num_named_bits _U_,
tvbuff_t **value_tvb _U_,
int *len _U_);
105WS_DLL_PUBLIC uint32_t dissect_oer_enumerated(
tvbuff_t *tvb, uint32_t offset,
asn1_ctx_t *actx,
proto_tree *tree,
int hf_index, uint32_t root_num, uint32_t *value,
bool has_extension, uint32_t ext_num, uint32_t *value_map);
107WS_DLL_PUBLIC uint32_t dissect_oer_open_type(
tvbuff_t *tvb, uint32_t offset,
asn1_ctx_t *actx,
proto_tree *tree,
int hf_index, oer_type_fn type_cb);
Definition packet-oer.h:32
Definition packet-oer.h:39
Definition tvbuff-int.h:35