/openbmc/linux/net/ |
H A D | compat.c | 57 kmsg->msg_controllen = msg->msg_controllen; in __get_compat_msghdr() 122 ((mhdr)->msg_controllen - \ 130 msg->msg_controllen) in cmsg_compat_nxthdr() 216 kmsg->msg_controllen = kcmlen; in cmsghdr_from_user_compat_to_kern() 265 cmlen = kmsg->msg_controllen; in put_cmsg_compat() 276 if (kmsg->msg_controllen < cmlen) in put_cmsg_compat() 277 cmlen = kmsg->msg_controllen; in put_cmsg_compat() 279 kmsg->msg_controllen -= cmlen; in put_cmsg_compat() 315 if (msg->msg_controllen < cmlen) in scm_detach_fds_compat() 316 cmlen = msg->msg_controllen; in scm_detach_fds_compat() [all …]
|
/openbmc/linux/net/core/ |
H A D | scm.c | 227 if (!msg->msg_control || msg->msg_controllen < sizeof(struct cmsghdr)) { in put_cmsg() 231 if (msg->msg_controllen < cmlen) { in put_cmsg() 233 cmlen = msg->msg_controllen; in put_cmsg() 259 cmlen = min(CMSG_SPACE(len), msg->msg_controllen); in put_cmsg() 264 msg->msg_controllen -= cmlen; in put_cmsg() 304 if (msg->msg_controllen <= sizeof(struct cmsghdr)) in scm_max_fds() 306 return (msg->msg_controllen - sizeof(struct cmsghdr)) / sizeof(int); in scm_max_fds() 343 if (msg->msg_controllen < cmlen) in scm_detach_fds() 344 cmlen = msg->msg_controllen; in scm_detach_fds() 346 msg->msg_controllen -= cmlen; in scm_detach_fds()
|
/openbmc/qemu/crypto/ |
H A D | cipher-afalg.c | 95 afalg->msg->msg_controllen += CMSG_SPACE(ALG_OPTYPE_LEN); in qcrypto_afalg_cipher_ctx_new() 98 afalg->msg->msg_controllen += CMSG_SPACE(ALG_MSGIV_LEN(expect_niv)); in qcrypto_afalg_cipher_ctx_new() 100 afalg->msg->msg_control = g_new0(uint8_t, afalg->msg->msg_controllen); in qcrypto_afalg_cipher_ctx_new() 156 origin_controllen = afalg->msg->msg_controllen; in qcrypto_afalg_cipher_op() 191 afalg->msg->msg_controllen = 0; in qcrypto_afalg_cipher_op() 195 afalg->msg->msg_controllen = origin_controllen; in qcrypto_afalg_cipher_op()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | udpgso_bench_tx.c | 221 msg.msg_controllen = sizeof(control); in flush_errqueue_recv() 332 size_t msg_controllen = 0; in send_udp_sendmmsg() local 342 msg.msg_controllen = sizeof(control); in send_udp_sendmmsg() 345 msg_controllen += CMSG_SPACE(sizeof(cfg_tx_ts)); in send_udp_sendmmsg() 361 if (msg_controllen) { in send_udp_sendmmsg() 363 mmsgs[i].msg_hdr.msg_controllen = msg_controllen; in send_udp_sendmmsg() 395 size_t msg_controllen; in send_udp_segment() local 406 msg.msg_controllen = sizeof(control); 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() [all …]
|
H A D | ipv6_flowlabel.c | 84 msg.msg_controllen = sizeof(control); in do_send() 115 msg.msg_controllen = sizeof(control); in do_recv()
|
H A D | so_txtime.c | 93 msg.msg_controllen = sizeof(control); in do_send_one() 171 msg.msg_controllen = sizeof(control); in do_recv_errqueue_timeout() 219 msg.msg_controllen = sizeof(control); in do_recv_errqueue_timeout()
|
H A D | msg_zerocopy.c | 200 msg->msg_controllen = CMSG_SPACE(sizeof(cookie)); in do_sendmsg() 223 msg->msg_controllen = 0; in do_sendmsg() 372 msg.msg_controllen = sizeof(cmsgbuf); in do_recvmsg_completion() 408 msg.msg_controllen = sizeof(control); in do_recv_completion()
|
H A D | tcp_inq.c | 154 msg.msg_controllen = sizeof(cmsgbuf); in main()
|
/openbmc/linux/tools/perf/trace/beauty/include/linux/ |
H A D | socket.h | 75 __kernel_size_t msg_controllen; /* ancillary data buffer length */ member 88 __kernel_size_t msg_controllen; /* ancillary data buffer length */ member 130 #define CMSG_FIRSTHDR(msg) __CMSG_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen) 133 ((mhdr)->msg_controllen - \ 167 return __cmsg_nxthdr(__msg->msg_control, __msg->msg_controllen, __cmsg); in cmsg_nxthdr()
|
/openbmc/linux/include/linux/ |
H A D | socket.h | 75 __kernel_size_t msg_controllen; /* ancillary data buffer length */ member 88 __kernel_size_t msg_controllen; /* ancillary data buffer length */ member 130 #define CMSG_FIRSTHDR(msg) __CMSG_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen) 133 ((mhdr)->msg_controllen - \ 167 return __cmsg_nxthdr(__msg->msg_control, __msg->msg_controllen, __cmsg); in cmsg_nxthdr()
|
/openbmc/linux/samples/seccomp/ |
H A D | user-trap.c | 45 msg.msg_controllen = sizeof(buf); in send_fd() 51 msg.msg_controllen = cmsg->cmsg_len; in send_fd() 74 msg.msg_controllen = sizeof(buf); in recv_fd()
|
/openbmc/linux/tools/testing/selftests/landlock/ |
H A D | common.h | 212 .msg_controllen = sizeof(cmsg_rx.buf), in recv_fd() 246 .msg_controllen = sizeof(cmsg_tx.buf), in send_fd()
|
/openbmc/linux/include/net/ |
H A D | scm.h | 88 if (msg->msg_controllen <= 0) in scm_send() 137 if (msg->msg_controllen < len) { in scm_pidfd_recv()
|
H A D | compat.h | 16 compat_size_t msg_controllen; member
|
/openbmc/linux/net/rxrpc/ |
H A D | output.c | 205 msg.msg_controllen = 0; in rxrpc_send_ack_packet() 287 msg.msg_controllen = 0; in rxrpc_send_abort_packet() 352 msg.msg_controllen = 0; in rxrpc_send_data_packet() 538 msg.msg_controllen = 0; in rxrpc_send_conn_abort() 601 msg.msg_controllen = 0; in rxrpc_reject_packet() 660 msg.msg_controllen = 0; in rxrpc_send_keepalive()
|
H A D | local_event.c | 53 msg.msg_controllen = 0; in rxrpc_send_version_request()
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/fping/fping/ |
H A D | 0001-fping-Initialize-msghdr-struct-in-a-portable-way.patch | 39 + recv_msghdr.msg_controllen = sizeof(msg_control);
|
/openbmc/linux/net/handshake/ |
H A D | alert.c | 53 msg.msg_controllen = sizeof(buf); in tls_alert_send()
|
/openbmc/linux/io_uring/ |
H A D | net.c | 440 kmsg->msg.msg_controllen = 0; in io_sendmsg() 475 msg.msg_controllen = 0; in io_send() 583 cmsg.msg_controllen); in io_recvmsg_copy_hdr() 596 msg.msg_controllen); in io_recvmsg_copy_hdr() 745 kmsg->msg.msg_controllen = kmsg->controllen; in io_recvmsg_prep_multishot() 781 .controllen = kmsg->controllen - kmsg->msg.msg_controllen, in io_recvmsg_multishot() 874 if (flags & MSG_WAITALL && !kmsg->msg.msg_controllen) in io_recvmsg() 950 msg.msg_controllen = 0; in io_recv() 1179 msg.msg_controllen = 0; in io_send_zc()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/lxdm/lxdm/ |
H A D | 0001-Initialize-msghdr-struct-in-a-portable-way.patch | 34 + h.msg_controllen = sizeof(ctrl);
|
/openbmc/qemu/ |
H A D | qemu-bridge-helper.c | 189 .msg_controllen = sizeof(msgbuf), in send_fd() 199 msg.msg_controllen = cmsg->cmsg_len; in send_fd()
|
/openbmc/qemu/net/ |
H A D | l2tpv3.c | 241 message.msg_controllen = 0; in net_l2tpv3_receive_dgram_iov() 284 message.msg_controllen = 0; in net_l2tpv3_receive_dgram() 489 msgvec->msg_hdr.msg_controllen = 0; in build_l2tpv3_vector()
|
/openbmc/linux/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_connect.c | 516 .msg_controllen = sizeof(msg_buf), in do_recvmsg_cmsg() 537 if (msg.msg_controllen && !cfg_cmsg_types.cmsg_enabled) in do_recvmsg_cmsg() 539 (unsigned long)msg.msg_controllen); in do_recvmsg_cmsg() 541 if (msg.msg_controllen == 0 && cfg_cmsg_types.cmsg_enabled) in do_recvmsg_cmsg() 544 if (msg.msg_controllen) in do_recvmsg_cmsg()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | lwt_reroute.c | 98 .msg_controllen = sizeof(control_buf), in overflow_fq()
|
/openbmc/linux/Documentation/networking/ |
H A D | tls.rst | 145 msg.msg_controllen = sizeof(buf); 151 msg.msg_controllen = cmsg->cmsg_len; 178 msg.msg_controllen = sizeof(cmsg);
|