D | rxtimestamp.c | 169 bool do_recv(int rcv, int read_size, struct tstamps expected) in do_recv() argument 192 r = recvmsg(rcv, &hdr, flags); in do_recv() 248 void config_so_flags(int rcv, struct options o) in config_so_flags() argument 252 if (setsockopt(rcv, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)) < 0) in config_so_flags() 256 setsockopt(rcv, SOL_SOCKET, SO_TIMESTAMP, in config_so_flags() 261 setsockopt(rcv, SOL_SOCKET, SO_TIMESTAMPNS, in config_so_flags() 266 setsockopt(rcv, SOL_SOCKET, SO_TIMESTAMPING, in config_so_flags() 277 int src, dst, rcv; in run_test_case() local 302 rcv = accept(dst, NULL, NULL); in run_test_case() 303 if (rcv < 0) in run_test_case() [all …]
|