Home
last modified time | relevance | path

Searched refs:next_cmsg (Results 1 – 3 of 3) sorted by relevance

/external/grpc-grpc/src/core/lib/iomgr/
Dtcp_posix.cc632 auto next_cmsg = CMSG_NXTHDR(msg, cmsg); in process_timestamp() local
633 if (next_cmsg == nullptr) { in process_timestamp()
640 if (!(next_cmsg->cmsg_level == SOL_IP || next_cmsg->cmsg_level == SOL_IPV6) || in process_timestamp()
641 !(next_cmsg->cmsg_type == IP_RECVERR || in process_timestamp()
642 next_cmsg->cmsg_type == IPV6_RECVERR)) { in process_timestamp()
651 auto serr = reinterpret_cast<struct sock_extended_err*>(CMSG_DATA(next_cmsg)); in process_timestamp()
663 return next_cmsg; in process_timestamp()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dtcp_posix.cc1090 auto next_cmsg = CMSG_NXTHDR(msg, cmsg); in process_timestamp() local
1092 if (next_cmsg == nullptr) { in process_timestamp()
1100 if (next_cmsg->cmsg_level == SOL_SOCKET && in process_timestamp()
1101 next_cmsg->cmsg_type == SCM_TIMESTAMPING_OPT_STATS) { in process_timestamp()
1102 opt_stats = next_cmsg; in process_timestamp()
1103 next_cmsg = CMSG_NXTHDR(msg, opt_stats); in process_timestamp()
1104 if (next_cmsg == nullptr) { in process_timestamp()
1112 if (!(next_cmsg->cmsg_level == SOL_IP || next_cmsg->cmsg_level == SOL_IPV6) || in process_timestamp()
1113 !(next_cmsg->cmsg_type == IP_RECVERR || in process_timestamp()
1114 next_cmsg->cmsg_type == IPV6_RECVERR)) { in process_timestamp()
[all …]
/external/crosvm/sys_util/src/
Dsock_ctrl_msg.rs60 let next_cmsg = (cmsg_ptr as *mut u8).wrapping_add(CMSG_ALIGN!(cmsg.cmsg_len)) as *mut cmsghdr; in get_next_cmsg() localVariable
61 if next_cmsg in get_next_cmsg()
68 next_cmsg in get_next_cmsg()