| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Enumerations | Functions
asn1.h File Reference
`#include <epan/packet.h>`
`#include "ws_symbol_export.h"`

Go to the source code of this file.

## Classes
struct | _asn1_par_def_t
struct | _asn1_par_t
struct | _asn1_stack_frame_t
struct | _asn1_ctx_t
struct | _rose_ctx_t

## Macros
#define | ASN1_CTX_SIGNATURE 0x41435458 /* "ACTX" */
#define | ROSE_CTX_SIGNATURE 0x524F5345 /* "ROSE" */
#define | ASN1_EXT_ROOT 0x01
#define | ASN1_EXT_EXT 0x02
#define | ASN1_OPT 0x04
#define | ASN1_DFLT 0x08
#define | ASN1_HAS_EXT(f) ((f)&(ASN1_EXT_ROOT|ASN1_EXT_EXT))

## Typedefs
typedef struct _asn1_par_def_t | asn1_par_def_t
typedef struct _asn1_par_t | asn1_par_t
typedef struct _asn1_stack_frame_t | asn1_stack_frame_t
typedef struct _asn1_ctx_t | asn1_ctx_t
typedef struct _rose_ctx_t | rose_ctx_t

## Enumerations
enum | asn1_enc_e { ASN1_ENC_BER , ASN1_ENC_PER , ASN1_ENC_ECN , ASN1_ENC_XER , ASN1_ENC_OER }
enum | asn1_cb_variant { CB_ASN1_ENC , CB_NEW_DISSECTOR , CB_DISSECTOR_HANDLE }
enum | asn1_par_type { ASN1_PAR_IRR , ASN1_PAR_BOOLEAN , ASN1_PAR_INTEGER , ASN1_PAR_TYPE }

## Functions
WS_DLL_PUBLIC void | asn1_ctx_init (asn1_ctx_t *actx, asn1_enc_e encoding, bool aligned, packet_info *pinfo)
WS_DLL_PUBLIC bool | asn1_ctx_check_signature (asn1_ctx_t *actx)
WS_DLL_PUBLIC void | asn1_ctx_clean_external (asn1_ctx_t *actx)
void | asn1_ctx_clean_epdv (asn1_ctx_t *actx)
WS_DLL_PUBLIC void | asn1_stack_frame_push (asn1_ctx_t *actx, const char *name)
WS_DLL_PUBLIC void | asn1_stack_frame_pop (asn1_ctx_t *actx, const char *name)
WS_DLL_PUBLIC void | asn1_stack_frame_check (asn1_ctx_t *actx, const char *name, const asn1_par_def_t *par_def)
WS_DLL_PUBLIC void | asn1_param_push_boolean (asn1_ctx_t *actx, bool value)
WS_DLL_PUBLIC void | asn1_param_push_integer (asn1_ctx_t *actx, int32_t value)
bool | asn1_param_get_boolean (asn1_ctx_t *actx, const char *name)
WS_DLL_PUBLIC int32_t | asn1_param_get_integer (asn1_ctx_t *actx, const char *name)
WS_DLL_PUBLIC void | rose_ctx_init (rose_ctx_t *rctx)
bool | rose_ctx_check_signature (rose_ctx_t *rctx)
WS_DLL_PUBLIC void | rose_ctx_clean_data (rose_ctx_t *rctx)
WS_DLL_PUBLIC asn1_ctx_t * | get_asn1_ctx (void *ptr)
WS_DLL_PUBLIC rose_ctx_t * | get_rose_ctx (void *ptr)
WS_DLL_PUBLIC double | asn1_get_real (const uint8_t *real_ptr, int len, int *err)

## Detailed Description

Common data for ASN.1 2007 Anders Broman

Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs

SPDX-License-Identifier: GPL-2.0-or-later