I meet two problem when using recvmsg to get the hardware timestamp.
Can anyone give me the answer or some useful advices?
The first problem is because different NIC dirvers' realization is different.
The second problem is because the NIC clock hasn't sync with the computer wall time.
I finally get the answer by myself.