diff options
author | Anthony Coddington <anthony.coddington@endace.com> | 2016-07-25 17:55:13 +1200 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-07-31 13:26:33 +0000 |
commit | 94cb86a0ca62680ceb8565b4f0a716e48010d885 (patch) | |
tree | 03e4dfa004a1ab3ca92968f5058e8d370504135a /wiretap/erf.h | |
parent | e03574df2e1e87112e47317d1da522445699a88d (diff) |
ERF: Add ERF_TYPE_META clock tags
Adds various clock configuration related tags.
Uses ptp_v2 value strings exported from packet-ptp.
Refactor out common ERF_TYPE_META bitfield code.
Also clean up field registration a bit.
Add flow_hash_mode enum, other minor wording cleanup.
Manually display relative timestamps as nanoseconds for <1ms.
Fix ns_host_* tag subtree summary field name duplication.
Ping-Bug: 12303
Change-Id: I76264d141f1c4a3590627637daa5dcd4fdfd2e93
Reviewed-on: https://code.wireshark.org/review/16782
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'wiretap/erf.h')
-rw-r--r-- | wiretap/erf.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/wiretap/erf.h b/wiretap/erf.h index bf91311025..c7d9e0ccac 100644 --- a/wiretap/erf.h +++ b/wiretap/erf.h @@ -199,6 +199,7 @@ #define ERF_META_TAG_if_link_status 81 #define ERF_META_TAG_if_phy_mode 82 #define ERF_META_TAG_if_port_type 83 +#define ERF_META_TAG_if_rx_latency 84 #define ERF_META_TAG_src_ipv4 128 #define ERF_META_TAG_dest_ipv4 129 @@ -265,6 +266,37 @@ #define ERF_META_TAG_pcap_ng_block 322 #define ERF_META_TAG_asn1 323 +#define ERF_META_TAG_clk_source 384 +#define ERF_META_TAG_clk_state 385 +#define ERF_META_TAG_clk_threshold 386 +#define ERF_META_TAG_clk_correction 387 +#define ERF_META_TAG_clk_failures 388 +#define ERF_META_TAG_clk_resyncs 389 +#define ERF_META_TAG_clk_phase_error 390 +#define ERF_META_TAG_clk_input_pulses 391 +#define ERF_META_TAG_clk_rejected_pulses 392 +#define ERF_META_TAG_clk_phc_index 393 +#define ERF_META_TAG_clk_phc_offset 394 +#define ERF_META_TAG_clk_timebase 395 +#define ERF_META_TAG_clk_descr 396 +#define ERF_META_TAG_clk_out_source 397 +#define ERF_META_TAG_clk_link_mode 398 +#define ERF_META_TAG_ptp_domain_num 399 +#define ERF_META_TAG_ptp_steps_removed 400 +#define ERF_META_TAG_ptp_offset_from_master 401 +#define ERF_META_TAG_ptp_mean_path_delay 402 +#define ERF_META_TAG_ptp_parent_identity 403 +#define ERF_META_TAG_ptp_parent_port_num 404 +#define ERF_META_TAG_ptp_gm_identity 405 +#define ERF_META_TAG_ptp_gm_clock_quality 406 +#define ERF_META_TAG_ptp_current_utc_offset 407 +#define ERF_META_TAG_ptp_time_properties 408 +#define ERF_META_TAG_ptp_time_source 409 +#define ERF_META_TAG_ptp_clock_identity 410 +#define ERF_META_TAG_ptp_port_num 411 +#define ERF_META_TAG_ptp_port_state 412 +#define ERF_META_TAG_ptp_delay_mechanism 413 +#define ERF_META_TAG_clk_port_proto 414 /* * The timestamp is 64bit unsigned fixed point little-endian value with |