Harlan Stenn <st...@ntp.org> wrote: > Rob writes: >> Harlan Stenn <st...@ntp.org> wrote: >> > Paul writes: >> >> On Tue, Dec 16, 2014 at 10:10 AM, Martin Burnicki < >> >> martin.burni...@meinberg.de> wrote: >> >> >> >> > OK, but what is the problem in using these IOCTLs directly from within >> >> > ntpd, via wrapper functions or directly? Several refclock drivers do so. >> >> >> >> You'll have to ask Harlan. >> > >> > Useful discussion and patches would be nice. >> >> The code does not have to be patched because it already works, you only >> need to move the timepps.h file into the distributed source. It provides >> the wrapper functions between the existing refclocks and the IOCTLs. > > Since you don't see my POV and I've looked at yours several times and > always see how doing what you suggest will cause horrible headaches and > problem, something else will have to shift.
When you really think that doing the above will cause headaches, then the direct use of IOCTLs will do even more so. With my solution you can at least update the timepps.h file in the case there would be a change in the IOCTLs, when you access those directly you will have to solve the problem yourself. _______________________________________________ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions