AN12149 has a hyperlink to AN12149SW:
The newest 2.3.1 PTPd source code still exists much code which adapts to the desktop operating system, so this application note also modifies many other files, most of which are removing the code that do not adapt to the RTOS. For all these changes, see AN12149SW.
This hyperlink is broken. I've also had no luck manually searching for this document. Is it still available?