Signed-off-by: Richard Cochran <richardcoch...@gmail.com> --- clock.h | 8 ++++++++ tlv.h | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/clock.h b/clock.h index e096dfa..d866762 100644 --- a/clock.h +++ b/clock.h @@ -34,6 +34,14 @@ struct ptp_message; /*forward declaration*/ /** Opaque type. */ struct clock; +enum clock_type { + CLOCK_TYPE_ORDINARY = 0x8000, + CLOCK_TYPE_BOUNDARY = 0x4000, + CLOCK_TYPE_P2P = 0x2000, + CLOCK_TYPE_E2E = 0x1000, + CLOCK_TYPE_MANAGEMENT = 0x0800, +}; + /** * Obtains a reference to the best foreign master of a clock. * @param c The clock instance. diff --git a/tlv.h b/tlv.h index 504e269..c345afe 100644 --- a/tlv.h +++ b/tlv.h @@ -213,14 +213,6 @@ struct port_properties_np { struct PTPText interface; } PACKED; -enum clock_type { - CLOCK_TYPE_ORDINARY = 0x8000, - CLOCK_TYPE_BOUNDARY = 0x4000, - CLOCK_TYPE_P2P = 0x2000, - CLOCK_TYPE_E2E = 0x1000, - CLOCK_TYPE_MANAGEMENT = 0x0800, -}; - #define PROFILE_ID_LEN 6 struct mgmt_clock_description { -- 2.1.4 ------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/ gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532 _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel