These functions will be needed by the new unicast mode.

Signed-off-by: Richard Cochran <richardcoch...@gmail.com>
---
 port.c         | 4 ++--
 port_private.h | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/port.c b/port.c
index 9ec3253..ce25b61 100644
--- a/port.c
+++ b/port.c
@@ -1315,7 +1315,7 @@ out:
        return -1;
 }
 
-static int port_tx_announce(struct port *p, struct address *dst)
+int port_tx_announce(struct port *p, struct address *dst)
 {
        struct timePropertiesDS *tp = clock_time_properties(p->clock);
        struct parent_ds *dad = clock_parent_ds(p->clock);
@@ -1367,7 +1367,7 @@ static int port_tx_announce(struct port *p, struct 
address *dst)
        return err;
 }
 
-static int port_tx_sync(struct port *p, struct address *dst)
+int port_tx_sync(struct port *p, struct address *dst)
 {
        struct ptp_message *msg, *fup;
        int err, event;
diff --git a/port_private.h b/port_private.h
index 80b97cd..07bd04e 100644
--- a/port_private.h
+++ b/port_private.h
@@ -157,6 +157,8 @@ int port_set_delay_tmo(struct port *p);
 int port_set_qualification_tmo(struct port *p);
 void port_show_transition(struct port *p, enum port_state next,
                          enum fsm_event event);
+int port_tx_announce(struct port *p, struct address *dst);
+int port_tx_sync(struct port *p, struct address *dst);
 int process_announce(struct port *p, struct ptp_message *m);
 void process_delay_resp(struct port *p, struct ptp_message *m);
 void process_follow_up(struct port *p, struct ptp_message *m);
-- 
2.11.0


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to