Home
last modified time | relevance | path

Searched refs:CMSG_SPACE (Results 1 – 24 of 24) sorted by relevance

/linux/tools/testing/selftests/net/
A Dudpgso_bench_tx.c211 char control[CMSG_SPACE(sizeof(struct scm_timestamping)) + in flush_errqueue_recv()
212 CMSG_SPACE(sizeof(struct sock_extended_err)) + in flush_errqueue_recv()
213 CMSG_SPACE(sizeof(struct sockaddr_in6))] = {0}; in flush_errqueue_recv()
311 char control[CMSG_SPACE(sizeof(cfg_tx_ts))] = {0}; in send_udp_sendmmsg()
329 msg_controllen += CMSG_SPACE(sizeof(cfg_tx_ts)); in send_udp_sendmmsg()
375 char control[CMSG_SPACE(sizeof(cfg_gso_size)) + in send_udp_segment()
376 CMSG_SPACE(sizeof(cfg_tx_ts))] = {0}; in send_udp_segment()
393 msg_controllen = CMSG_SPACE(sizeof(cfg_mss)); in send_udp_segment()
397 msg_controllen += CMSG_SPACE(sizeof(cfg_tx_ts)); in send_udp_segment()
A Dipv6_flowlabel.c40 char control[CMSG_SPACE(sizeof(flowlabel))] = {0}; in do_send()
76 char control[CMSG_SPACE(sizeof(expect))]; in do_recv()
A Dso_txtime.c75 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()
A Dcmsg_so_mark.c13 char cbuf[CMSG_SPACE(sizeof(__u32))]; in main()
A Dmsg_zerocopy.c187 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()
A Dudpgso_bench_rx.c217 char control[CMSG_SPACE(sizeof(uint16_t))] = {0}; in recv_msg()
A Dudpgso.c454 char control[CMSG_SPACE(sizeof(uint16_t))] = {0}; in send_one()
A Dtxtimestamp.c482 char control[CMSG_SPACE(sizeof(uint32_t))]; in do_test()
A Dtls.c142 char cbuf[CMSG_SPACE(sizeof(char))]; in tls_send_cmsg()
170 char cbuf[CMSG_SPACE(sizeof(char))]; in tls_recv_cmsg()
/linux/samples/seccomp/
A Duser-trap.c36 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/arch/um/os-Linux/
A Dfile.c508 char buf[CMSG_SPACE(sizeof(new))]; in os_rcv_fd()
645 char control[CMSG_SPACE(sizeof(*fds) * OS_SENDMSG_MAX_FDS)]; in os_sendmsg_fds()
653 .msg_controllen = CMSG_SPACE(fds_size), in os_sendmsg_fds()
/linux/net/core/
A Dscm.c250 cmlen = min(CMSG_SPACE(len), msg->msg_controllen); in put_cmsg()
330 cmlen = CMSG_SPACE(i * sizeof(int)); in scm_detach_fds()
/linux/samples/bpf/
A Dxdpsock_ctrl_proc.c61 char cmsgbuf[CMSG_SPACE(sizeof(int))]; in send_xsks_map_fd()
A Dxdpsock_user.c1513 char cms[CMSG_SPACE(sizeof(int))]; in recv_xsks_map_fd_from_ctrl_node()
/linux/arch/um/os-Linux/drivers/
A Dtuntap_user.c69 char buf[CMSG_SPACE(sizeof(*fd_out))]; in tuntap_open_tramp()
/linux/Documentation/networking/
A Dtls.rst141 char buf[CMSG_SPACE(cmsg_len)];
175 char cmsg[CMSG_SPACE(sizeof(unsigned char))];
/linux/tools/testing/selftests/landlock/
A Dbase_test.c178 char buf[CMSG_SPACE(sizeof(ruleset_fd_tx))]; in TEST()
/linux/tools/testing/selftests/uevent/
A Duevent_filtering.c86 char control[CMSG_SPACE(sizeof(struct ucred))]; in uevent_listener()
/linux/net/rds/
A Drecv.c469 max_messages = msghdr->msg_controllen / CMSG_SPACE(sizeof(cmsg)); in rds_notify_queue_get()
609 msg->msg_controllen < CMSG_SPACE(sizeof(*done))) in rds_recvmsg_zcookie()
/linux/tools/perf/trace/beauty/include/linux/
A Dsocket.h112 #define CMSG_SPACE(len) (sizeof(struct cmsghdr) + CMSG_ALIGN(len)) macro
/linux/include/linux/
A Dsocket.h112 #define CMSG_SPACE(len) (sizeof(struct cmsghdr) + CMSG_ALIGN(len)) macro
/linux/tools/testing/selftests/bpf/
A Dtest_sock_addr.c1030 char buf[CMSG_SPACE(sizeof(struct in6_pktinfo))]; in sendmsg_to_server()
1034 char buf[CMSG_SPACE(sizeof(struct in_pktinfo))]; in sendmsg_to_server()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dsk_lookup.c359 char cmsg_buf[CMSG_SPACE(sizeof(struct sockaddr_storage))]; in udp_recv_send()
/linux/net/sunrpc/
A Dsvcsock.c151 CMSG_SPACE(sizeof(union svc_pktinfo_u))

Completed in 39 milliseconds