D | rxtimestamp.c | 175 bool do_recv(int rcv, int read_size, struct tstamps expected) in do_recv() argument 198 r = recvmsg(rcv, &hdr, flags); in do_recv() 254 void config_so_flags(int rcv, struct options o) in config_so_flags() argument 258 if (setsockopt(rcv, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)) < 0) in config_so_flags() 262 setsockopt(rcv, SOL_SOCKET, SO_TIMESTAMP, in config_so_flags() 267 setsockopt(rcv, SOL_SOCKET, SO_TIMESTAMPNS, in config_so_flags() 272 setsockopt(rcv, SOL_SOCKET, SO_TIMESTAMPING, in config_so_flags() 286 int src, dst, rcv, port; in run_test_case() local 326 rcv = accept(dst, NULL, NULL); in run_test_case() 327 if (rcv < 0) in run_test_case() [all …]
|