12#ifndef __PACKET_ASTERIX_H__
13#define __PACKET_ASTERIX_H__
18#define MAX_UAP_NAME_LENGTH 255
22 int *edition_default_value;
24 const char *edition_name;
25 const char *edition_desc;
32 const char *edition_name;
33 const char *edition_desc;
34 int *int_default_value;
40 const ttt *table_pointer;
41 const int*
const * table_pointer_expand;
42 unsigned int table_size;
43 char uap_name[MAX_UAP_NAME_LENGTH];
47 unsigned int start_index;
48 unsigned int end_index;
51static bool asterix_extended_end (
tvbuff_t *tvb,
unsigned offset);
52static unsigned asterix_get_unsigned_value(
tvbuff_t *tvb,
unsigned offset,
unsigned bytes);
53static int asterix_get_signed_value(
tvbuff_t *tvb,
unsigned offset,
unsigned bytes);
54static int get_signed_int(
unsigned value,
unsigned bits);
55static unsigned asterix_dissect_fspec (
tvbuff_t *tvb,
unsigned offset,
proto_tree *tree);
56static bool asterix_field_exists (
tvbuff_t *tvb,
unsigned offset,
unsigned bitIndex);
57static unsigned asterix_fspec_len (
tvbuff_t *tvb,
unsigned offset);
58static bool asterix_fspec_check (
unsigned fspec_len,
unsigned list_length,
proto_item *ti);
59static void get_expansion_table(
unsigned int cat,
int ed,
table_params *table);
60static unsigned asterix_parse_re_field (
tvbuff_t *tvb,
unsigned offset,
proto_tree *tree,
unsigned fspec_len,
unsigned cat);
61static void print_octal_string (
tvbuff_t *tvb,
unsigned offset,
unsigned bit_offset,
unsigned bit_size,
unsigned byte_size,
proto_tree *tree,
int expand_var);
62static void print_icao_string (
tvbuff_t *tvb,
unsigned offset,
unsigned bit_offset,
unsigned bit_size,
unsigned byte_size,
proto_tree *tree,
int expand_var);
63static void check_spare_bits (
tvbuff_t *tvb,
unsigned bit_offset,
unsigned bit_size,
proto_item *item);
71enum interpretations_depth_e {
79static const enum_val_t interpretations_level_enum_vals[] = {
80 {
"interpretations_depth_10",
"depth 10", depth_10},
81 {
"interpretations_depth_15",
"depth 15", depth_15},
82 {
"interpretations_depth_20",
"depth 20", depth_20},
83 {
"interpretations_depth_25",
"depth 25", depth_25},
84 {
"interpretations_depth_30",
"depth 30", depth_30},
Definition packet-asterix.h:20
Definition packet-asterix.h:29
Defines a single named value within an enumerated preference or option type.
Definition params.h:16
Pairs an expert info index with its associated header field index for registration and display.
Definition expert.h:41
Definition packet-asterix.h:39
Core tvbuff (testy virtual buffer) structure representing a region of packet data,...
Definition tvbuff-int.h:95
Definition packet-asterix.h:46