/Linux-v6.6/tools/testing/selftests/net/ |
D | udpgso_bench_tx.c | 212 char control[CMSG_SPACE(sizeof(struct scm_timestamping)) + in flush_errqueue_recv() 213 CMSG_SPACE(sizeof(struct sock_extended_err)) + in flush_errqueue_recv() 214 CMSG_SPACE(sizeof(struct sockaddr_in6))] = {0}; in flush_errqueue_recv() 327 char control[CMSG_SPACE(sizeof(cfg_tx_ts))] = {0}; in send_udp_sendmmsg() 345 msg_controllen += CMSG_SPACE(sizeof(cfg_tx_ts)); in send_udp_sendmmsg() 391 char control[CMSG_SPACE(sizeof(cfg_gso_size)) + in send_udp_segment() 392 CMSG_SPACE(sizeof(cfg_tx_ts))] = {0}; in send_udp_segment() 409 msg_controllen = CMSG_SPACE(sizeof(cfg_mss)); in send_udp_segment() 413 msg_controllen += CMSG_SPACE(sizeof(cfg_tx_ts)); in send_udp_segment()
|
D | cmsg_sender.c | 226 *cmsg_len += CMSG_SPACE(sizeof(__u32)); in ca_write_cmsg_u32() 269 cmsg_len += CMSG_SPACE(sizeof(txtime)); in cs_write_cmsg() 287 cmsg_len += CMSG_SPACE(sizeof(__u32)); in cs_write_cmsg() 299 cmsg_len += CMSG_SPACE(8); in cs_write_cmsg()
|
D | ipv6_flowlabel.c | 55 char control[CMSG_SPACE(sizeof(flowlabel))] = {0}; in do_send() 99 char control[CMSG_SPACE(sizeof(expect))]; in do_recv()
|
D | so_txtime.c | 75 char control[CMSG_SPACE(sizeof(uint64_t))]; in do_send_one() 153 char control[CMSG_SPACE(sizeof(struct sock_extended_err)) + in do_recv_errqueue_timeout() 154 CMSG_SPACE(sizeof(struct sockaddr_in6))] = {0}; in do_recv_errqueue_timeout()
|
D | msg_zerocopy.c | 187 char ckbuf[CMSG_SPACE(sizeof(cookie))]; in do_sendmsg() 198 msg->msg_controllen = CMSG_SPACE(sizeof(cookie)); in do_sendmsg() 361 char cmsgbuf[CMSG_SPACE(sizeof(struct rds_zcopy_cookies))]; in do_recvmsg_completion()
|
D | udpgso_bench_rx.c | 217 char control[CMSG_SPACE(sizeof(int))] = {0}; in recv_msg()
|
D | udpgso.c | 454 char control[CMSG_SPACE(sizeof(uint16_t))] = {0}; in send_one()
|
D | txtimestamp.c | 482 char control[CMSG_SPACE(sizeof(uint32_t))]; in do_test()
|
D | csum.c | 716 char ctrl[CMSG_SPACE(sizeof(struct tpacket_auxdata))]; in recv_packet()
|
/Linux-v6.6/tools/testing/selftests/landlock/ |
D | common.h | 200 char buf[CMSG_SPACE(sizeof(fd_rx))]; in recv_fd() 234 char buf[CMSG_SPACE(sizeof(fd_tx))]; in send_fd()
|
/Linux-v6.6/samples/seccomp/ |
D | user-trap.c | 36 char buf[CMSG_SPACE(sizeof(int))] = {0}, c = 'c'; in send_fd() 65 char buf[CMSG_SPACE(sizeof(int))] = {0}, c = 'c'; in recv_fd()
|
/Linux-v6.6/net/handshake/ |
D | alert.c | 37 u8 buf[CMSG_SPACE(sizeof(record_type))]; in tls_alert_send()
|
/Linux-v6.6/arch/um/os-Linux/ |
D | file.c | 508 char buf[CMSG_SPACE(sizeof(new))]; in os_rcv_fd() 654 char control[CMSG_SPACE(sizeof(*fds) * OS_SENDMSG_MAX_FDS)]; in os_sendmsg_fds() 662 .msg_controllen = CMSG_SPACE(fds_size), in os_sendmsg_fds()
|
/Linux-v6.6/net/core/ |
D | scm.c | 253 cmlen = min(CMSG_SPACE(len), msg->msg_controllen); in put_cmsg() 336 cmlen = CMSG_SPACE(i * sizeof(int)); in scm_detach_fds()
|
/Linux-v6.6/tools/testing/selftests/net/af_unix/ |
D | scm_pidfd.c | 136 char control[CMSG_SPACE(sizeof(struct ucred)) + in cmsg_check() 137 CMSG_SPACE(sizeof(int))] = { 0 }; in cmsg_check()
|
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
D | lwt_reroute.c | 81 char control_buf[CMSG_SPACE(sizeof(uint64_t))]; in overflow_fq()
|
D | tc_redirect.c | 402 char ctl[CMSG_SPACE(sizeof(pkt_ts))]; in rcv_tstamp() 443 char ctl[CMSG_SPACE(sizeof(__u64))]; in snd_tstamp()
|
/Linux-v6.6/arch/um/os-Linux/drivers/ |
D | tuntap_user.c | 69 char buf[CMSG_SPACE(sizeof(*fd_out))]; in tuntap_open_tramp()
|
/Linux-v6.6/tools/testing/selftests/uevent/ |
D | uevent_filtering.c | 86 char control[CMSG_SPACE(sizeof(struct ucred))]; in uevent_listener()
|
/Linux-v6.6/Documentation/networking/ |
D | tls.rst | 141 char buf[CMSG_SPACE(cmsg_len)]; 175 char cmsg[CMSG_SPACE(sizeof(unsigned char))];
|
/Linux-v6.6/net/rds/ |
D | recv.c | 470 max_messages = msghdr->msg_controllen / CMSG_SPACE(sizeof(cmsg)); in rds_notify_queue_get() 610 msg->msg_controllen < CMSG_SPACE(sizeof(*done))) in rds_recvmsg_zcookie()
|
/Linux-v6.6/include/linux/ |
D | socket.h | 124 #define CMSG_SPACE(len) (sizeof(struct cmsghdr) + CMSG_ALIGN(len)) macro
|
/Linux-v6.6/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 124 #define CMSG_SPACE(len) (sizeof(struct cmsghdr) + CMSG_ALIGN(len)) macro
|
/Linux-v6.6/tools/testing/selftests/bpf/ |
D | test_sock_addr.c | 1039 char buf[CMSG_SPACE(sizeof(struct in6_pktinfo))]; in sendmsg_to_server() 1043 char buf[CMSG_SPACE(sizeof(struct in_pktinfo))]; in sendmsg_to_server()
|
/Linux-v6.6/net/sunrpc/ |
D | svcsock.c | 154 CMSG_SPACE(sizeof(union svc_pktinfo_u)) 264 u8 buf[CMSG_SPACE(sizeof(u8))]; in svc_tcp_sock_recv_cmsg()
|