Sunday, April 8, 2018 5:06 AM > +struct ptp_message *msg_duplicate(struct ptp_message *msg, int cnt) > + * This function accepts a message in network byte order and returns a > + * duplicate in host byte.
Maybe you should add _post_recv or something just to indicate more in function name that this duplicate is only for msg in network byte order. /A ------------------------------------------------------------------------------ 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