18#include "ws_symbol_export.h"
22#define GUID_STR_LEN 37
23#define MAX_ADDR_STR_LEN 256
24#define VINES_ADDR_LEN 6
25#define EUI64_STR_LEN 24
26#define EUI64_ADDR_LEN 8
27#define AX25_ADDR_LEN 7
28#define FCWWN_ADDR_LEN 8
57WS_DLL_PUBLIC
const char *address_to_name(
const address *addr);
74WS_DLL_PUBLIC
void address_to_str_buf(
const address *addr,
char *buf,
int buf_len);
76WS_DLL_PUBLIC
const char *port_type_to_str (port_type type);
82WS_DLL_PUBLIC
char* tvb_address_with_resolution_to_str(
wmem_allocator_t *scope,
tvbuff_t *tvb,
int type,
const int offset);
84#define tvb_ether_to_str(scope, tvb, offset) tvb_address_to_str(scope, tvb, AT_ETHER, offset)
86#define tvb_ip_to_str(scope, tvb, offset) tvb_address_to_str(scope, tvb, AT_IPv4, offset)
88#define tvb_ip6_to_str(scope, tvb, offset) tvb_address_to_str(scope, tvb, AT_IPv6, offset)
90#define tvb_fcwwn_to_str(scope, tvb, offset) tvb_address_to_str(scope, tvb, AT_FCWWN, offset)
92#define tvb_fc_to_str(scope, tvb, offset) tvb_address_to_str(scope, tvb, AT_FC, offset)
97#define tvb_eui64_to_str(scope, tvb, offset) tvb_address_to_str(scope, tvb, AT_EUI64, offset)
126#define ABS_TIME_TO_STR_SHOW_ZONE (1U << 0)
127#define ABS_TIME_TO_STR_ADD_DQUOTES (1U << 1)
128#define ABS_TIME_TO_STR_SHOW_UTC_ONLY (1U << 2)
129#define ABS_TIME_TO_STR_ISO8601 (1U << 3)
135#define abs_time_to_str(scope, nst, fmt, show_zone) \
136 abs_time_to_str_ex(scope, nst, fmt, (show_zone) ? ABS_TIME_TO_STR_SHOW_ZONE : 0)
145#define abs_time_secs_to_str(scope, nst, fmt, show_zone) \
146 abs_time_secs_to_str_ex(scope, nst, fmt, (show_zone) ? ABS_TIME_TO_STR_SHOW_ZONE : 0)
148WS_DLL_PUBLIC
char *signed_time_secs_to_str(
wmem_allocator_t *scope,
const int32_t time_val);
150WS_DLL_PUBLIC
char *unsigned_time_secs_to_str(
wmem_allocator_t *scope,
const uint32_t);
152WS_DLL_PUBLIC
char *signed_time_msecs_to_str(
wmem_allocator_t *scope, int32_t time_val);
162WS_DLL_PUBLIC
char *guid_to_str_buf(
const e_guid_t *,
char *,
int);
166WS_DLL_PUBLIC
char *decode_bits_in_field(
wmem_allocator_t *scope,
const unsigned bit_offset,
const int no_of_bits,
const uint64_t value,
const unsigned encoding);
WS_DLL_PUBLIC char * tvb_address_to_str(wmem_allocator_t *scope, tvbuff_t *tvb, int type, const int offset)
Definition address_types.c:1106
WS_DLL_PUBLIC char * tvb_address_var_to_str(wmem_allocator_t *scope, tvbuff_t *tvb, address_type type, const int offset, int length)
Definition address_types.c:1131
field_display_e
Definition proto.h:680
Definition guid-utils.h:23
Definition wmem_allocator.h:27
Definition tvbuff-int.h:35