Home
last modified time | relevance | path

Searched refs:SO_TIMESTAMPING (Results 1 – 19 of 19) sorted by relevance

/linux/Documentation/translations/zh_CN/networking/
H A Dtimestamping.rst40 SO_TIMESTAMPING
70 1.3 SO_TIMESTAMPING(也包括 SO_TIMESTAMPING_OLD 和 SO_TIMESTAMPING_NEW)
75 err = setsockopt(fd, SOL_SOCKET, SO_TIMESTAMPING, &val, sizeof(val));
272 cmsg->cmsg_type = SO_TIMESTAMPING;
286 err = setsockopt(fd, SOL_SOCKET, SO_TIMESTAMPING, &val, sizeof(val));
292 SO_TIMESTAMPING 接口支持字节流的时间戳。每个请求解释为请求当整个缓冲区内容
364 SO_TIMESTAMPING 使用 SOF_TIMESTAMPING_SOFTWARE,在 recvmsg()
572 SO_TIMESTAMPING API 不允许为同一数据包传递多个硬件时间戳,因此除了 DSA
/linux/tools/include/uapi/asm-generic/
H A Dsocket.h156 #define SO_TIMESTAMPING SO_TIMESTAMPING_OLD
163 #define SO_TIMESTAMPING (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPING_OLD : SO_TIMESTAMPING_NEW)
171 #define SCM_TIMESTAMPING SO_TIMESTAMPING
154 #define SO_TIMESTAMPING SO_TIMESTAMPING_ global() macro
161 #define SO_TIMESTAMPING (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPING_OLD : SO_TIMESTAMPING_ global() macro
/linux/arch/mips/include/uapi/asm/
H A Dsocket.h174 #define SO_TIMESTAMPING SO_TIMESTAMPING_OLD macro
181 #define SO_TIMESTAMPING (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPING_OLD : SO_TIMES… macro
189 #define SCM_TIMESTAMPING SO_TIMESTAMPING
/linux/arch/parisc/include/uapi/asm/
H A Dsocket.h155 #define SO_TIMESTAMPING SO_TIMESTAMPING_OLD macro
161 #define SO_TIMESTAMPING (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPING_OLD : SO_TIMES… macro
169 #define SCM_TIMESTAMPING SO_TIMESTAMPING
/linux/include/uapi/asm-generic/
H A Dsocket.h159 #define SO_TIMESTAMPING SO_TIMESTAMPING_OLD macro
166 #define SO_TIMESTAMPING (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPING_OLD : SO_TIMES… macro
174 #define SCM_TIMESTAMPING SO_TIMESTAMPING
/linux/arch/sparc/include/uapi/asm/
H A Dsocket.h157 #define SO_TIMESTAMPING SO_TIMESTAMPING_OLD macro
164 #define SO_TIMESTAMPING (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPING_OLD : SO_TIMES… macro
172 #define SCM_TIMESTAMPING SO_TIMESTAMPING
/linux/arch/alpha/include/uapi/asm/
H A Dsocket.h163 #define SO_TIMESTAMPING SO_TIMESTAMPING_OLD macro
170 #define SO_TIMESTAMPING (sizeof(time_t) == sizeof(__kernel_long_t) ? SO_TIMESTAMPING_OLD : SO_TIMES… macro
178 #define SCM_TIMESTAMPING SO_TIMESTAMPING
/linux/tools/testing/selftests/net/
H A Dtimestamping.c37 #ifndef SO_TIMESTAMPING
38 # define SO_TIMESTAMPING 37 macro
39 # define SCM_TIMESTAMPING SO_TIMESTAMPING
196 case SO_TIMESTAMPING: { in printpacket()
460 setsockopt(sock, SOL_SOCKET, SO_TIMESTAMPING, &so_timestamping, in main()
483 if (getsockopt(sock, SOL_SOCKET, SO_TIMESTAMPING, &so_timestamping_get, in main()
H A Dudpgso_bench_tx.c149 if (cmsg->cmsg_type == SO_TIMESTAMPING) { in flush_cmsg()
319 cm->cmsg_type = SO_TIMESTAMPING; in send_ts_cmsg()
578 if (setsockopt(fd, SOL_SOCKET, SO_TIMESTAMPING, &val, sizeof(val))) in set_tx_timestamping()
H A Dcmsg_sender.c309 cmsg->cmsg_type = SO_TIMESTAMPING; in cs_write_cmsg()
464 if (setsockopt(fd, SOL_SOCKET, SO_TIMESTAMPING, in ca_set_sockopts()
H A Dtxtimestamp.c581 if (setsockopt(fd, SOL_SOCKET, SO_TIMESTAMPING, in do_test()
641 cmsg->cmsg_type = SO_TIMESTAMPING; in do_test()
H A Drxtimestamp.c290 setsockopt(rcv, SOL_SOCKET, SO_TIMESTAMPING, in config_so_flags()
/linux/drivers/net/ethernet/xscale/
H A DKconfig40 using the SO_TIMESTAMPING API.
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dnet_timestamping.c196 ret = setsockopt(cfd, SOL_SOCKET, SO_TIMESTAMPING, in test_tcp()
/linux/Documentation/networking/
H A Dj1939.rst635 ``SO_TIMESTAMPING`` option.
644 ``SO_TIMESTAMPING`` in most cases. This enables proper error handling along
664 setsockopt(sock, SOL_SOCKET, SO_TIMESTAMPING, &timestamping,
668 combining ``SO_J1939_ERRQUEUE`` with ``SO_TIMESTAMPING`` (with
674 `SO_TIMESTAMPING` section.
676 ``SO_TIMESTAMPING``
679 The ``SO_TIMESTAMPING`` option allows the socket to receive timestamps for
836 The key flags for ``SO_TIMESTAMPING`` include:
874 setsockopt(sock, SOL_SOCKET, SO_TIMESTAMPING, &sock_opt, sizeof(sock_opt));
H A Dtimestamping.rst36 SO_TIMESTAMPING
71 1.3 SO_TIMESTAMPING (also SO_TIMESTAMPING_OLD and SO_TIMESTAMPING_NEW)
77 err = setsockopt(fd, SOL_SOCKET, SO_TIMESTAMPING, &val, sizeof(val));
333 cmsg->cmsg_type = SO_TIMESTAMPING;
348 err = setsockopt(fd, SOL_SOCKET, SO_TIMESTAMPING, &val, sizeof(val));
354 The SO_TIMESTAMPING interface supports timestamping of bytes in a
455 together with SO_TIMESTAMPING using SOF_TIMESTAMPING_SOFTWARE, a false
710 hardware timestamping on it. This is because the SO_TIMESTAMPING API does not
H A Dpacket_mmap.rst1035 PACKET_TIMESTAMP accepts the same integer bit field as SO_TIMESTAMPING::
/linux/Documentation/driver-api/
H A Dptp.rst8 Linux. Together with the SO_TIMESTAMPING socket options, this
/linux/tools/testing/selftests/bpf/
H A Dxdp_hw_metadata.c644 ret = setsockopt(fd, SOL_SOCKET, SO_TIMESTAMPING, &val, sizeof(val)); in timestamping_enable()