Hi All,
I am new to ptp4l and like to get some information on how to transmit a TLV packet out of the ptp4l. I have configured the ptp4l as Leader and hardcoded the values in the TLV packet including the header as pasted below. After forming the TLV packet with the hardcoded values, I am calling the pmc_send() and msg_put() function to transmit the packet. However, the Wireshark does not show any data coming out of the ptp4l Leader. Anybody has any idea why the ptp4l is not transmitting the TLV packet? Your help will be very much appreciated. msg->header.tsmt = MANAGEMENT | pmc->transport_specific; msg->header.ver = PTP_VERSION; msg->header.messageLength = pdulen; msg->header.domainNumber = pmc->domain_number; msg->header.flagField[0] =0x00; msg->header.flagField[1] =0x3C; msg->header.correction=0.0; msg->header.sourcePortIdentity.clockIdentity.id[0]=0x08; msg->header.sourcePortIdentity.clockIdentity.id[1]=0x00; msg->header.sourcePortIdentity.clockIdentity.id[2]=0x11; msg->header.sourcePortIdentity.clockIdentity.id[3]=0xff; msg->header.sourcePortIdentity.clockIdentity.id[4]=0xfe; msg->header.sourcePortIdentity.clockIdentity.id[5]=0x21; msg->header.sourcePortIdentity.clockIdentity.id[6]=0xb9; msg->header.sourcePortIdentity.clockIdentity.id[7]=0x27; msg->header.sourcePortIdentity.portNumber=3; msg->header.sequenceId = pmc->sequence_id++; msg->header.control = CTL_OTHER; msg->header.logMessageInterval = 0; msg->management.targetPortIdentity = pmc->target; msg->management.startingBoundaryHops = pmc->boundary_hops; msg->management.boundaryHops = pmc->boundary_hops; msg->management.flags = action; Thanks, Ansul Kumar
_______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users