Move the protocol version macro to a public header.

This will be needed by the management client program.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
master
Richard Cochran 2012-08-05 14:04:12 +02:00
parent 353b0a2743
commit ba5c5704e6
2 changed files with 2 additions and 2 deletions

2
msg.h
View File

@ -27,6 +27,8 @@
#include "ddt.h"
#include "transport.h"
#define PTP_VERSION 2
/* Values for the messageType field */
#define SYNC 0x0
#define DELAY_REQ 0x1

2
port.c
View File

@ -38,8 +38,6 @@
#define PORT_MAVE_LENGTH 10
#define PTP_VERSION 2
struct port {
char *name;
struct clock *clock;