Lines Matching refs:ptpv2
134 static void sendpacket(int sock, struct sockaddr *addr, socklen_t addr_len, int ptpv2) in sendpacket() argument
136 size_t sync_len = ptpv2 ? sizeof(sync_v2) : sizeof(sync); in sendpacket()
137 const void *sync_p = ptpv2 ? sync_v2 : sync; in sendpacket()
154 int siocgstamp, int siocgstampns, int ptpv2) in printpacket() argument
157 size_t sync_len = ptpv2 ? sizeof(sync_v2) : sizeof(sync); in printpacket()
158 const void *sync_p = ptpv2 ? sync_v2 : sync; in printpacket()
278 int siocgstamp, int siocgstampns, int ptpv2) in recvpacket() argument
309 siocgstamp, siocgstampns, ptpv2); in recvpacket()
320 int ptpv2 = 0; in main() local
364 ptpv2 = 1; in main()
401 ptpv2 ? HWTSTAMP_FILTER_PTP_V2_L4_SYNC : in main()
535 siocgstampns, ptpv2); in main()
538 siocgstampns, ptpv2); in main()
544 sizeof(addr), ptpv2); in main()