port: Publish the method for creating signaling messages.
Signed-off-by: Richard Cochran <richardcochran@gmail.com>master
parent
0695d48332
commit
8f523e4d62
3
port.h
3
port.h
|
@ -210,6 +210,9 @@ struct port *port_open(const char *phc_device,
|
||||||
struct interface *interface,
|
struct interface *interface,
|
||||||
struct clock *clock);
|
struct clock *clock);
|
||||||
|
|
||||||
|
struct ptp_message *port_signaling_construct(struct port *p,
|
||||||
|
const struct PortIdentity *tpid);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a port's current state.
|
* Returns a port's current state.
|
||||||
* @param port A port instance.
|
* @param port A port instance.
|
||||||
|
|
|
@ -30,8 +30,8 @@ const struct PortIdentity wildcard_pid = {
|
||||||
.portNumber = 0xffff,
|
.portNumber = 0xffff,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct ptp_message *port_signaling_construct(struct port *p,
|
struct ptp_message *port_signaling_construct(struct port *p,
|
||||||
struct PortIdentity *tpid)
|
const struct PortIdentity *tpid)
|
||||||
{
|
{
|
||||||
struct ptp_message *msg;
|
struct ptp_message *msg;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue