/Linux-v6.1/net/ |
D | compat.c | 43 kmsg->msg_namelen = msg->msg_namelen; in __get_compat_msghdr() 46 kmsg->msg_namelen = 0; in __get_compat_msghdr() 48 if (kmsg->msg_namelen < 0) in __get_compat_msghdr() 51 if (kmsg->msg_namelen > sizeof(struct sockaddr_storage)) in __get_compat_msghdr() 52 kmsg->msg_namelen = sizeof(struct sockaddr_storage); in __get_compat_msghdr() 62 if (msg->msg_name && kmsg->msg_namelen) { in __get_compat_msghdr() 65 kmsg->msg_namelen, in __get_compat_msghdr() 72 kmsg->msg_namelen = 0; in __get_compat_msghdr()
|
D | socket.c | 2105 msg.msg_namelen = 0; in __sys_sendto() 2112 msg.msg_namelen = addr_len; in __sys_sendto() 2173 msg.msg_namelen, addr, addr_len); in __sys_recvfrom() 2351 #define COMPAT_NAMELEN(msg) COMPAT_MSG(msg, msg_namelen) 2371 kmsg->msg_namelen = msg->msg_namelen; in __copy_msghdr() 2373 kmsg->msg_namelen = 0; in __copy_msghdr() 2375 if (kmsg->msg_namelen < 0) in __copy_msghdr() 2378 if (kmsg->msg_namelen > sizeof(struct sockaddr_storage)) in __copy_msghdr() 2379 kmsg->msg_namelen = sizeof(struct sockaddr_storage); in __copy_msghdr() 2384 if (msg->msg_name && kmsg->msg_namelen) { in __copy_msghdr() [all …]
|
/Linux-v6.1/arch/arm/kernel/ |
D | sys_oabi-compat.c | 463 int msg_namelen; in sys_oabi_sendmsg() local 466 get_user(msg_namelen, &msg->msg_namelen) == 0 && in sys_oabi_sendmsg() 467 msg_namelen == 112 && in sys_oabi_sendmsg() 481 put_user(110, &msg->msg_namelen); in sys_oabi_sendmsg()
|
/Linux-v6.1/net/qrtr/ |
D | ns.c | 125 msg.msg_namelen = sizeof(*dest); in service_announce_new() 152 msg.msg_namelen = sizeof(*dest); in service_announce_del() 183 msg.msg_namelen = sizeof(*to); in lookup_notify() 319 msg.msg_namelen = sizeof(*dest); in say_hello() 403 msg.msg_namelen = sizeof(sq); in ctrl_cmd_bye() 490 msg.msg_namelen = sizeof(sq); in ctrl_cmd_del_client() 674 msg.msg_namelen = sizeof(sq); in qrtr_ns_worker()
|
/Linux-v6.1/tools/testing/selftests/net/af_unix/ |
D | diag_uid.c | 108 .msg_namelen = sizeof(nladdr), in send_request() 147 .msg_namelen = sizeof(nladdr), in receive_response()
|
/Linux-v6.1/io_uring/ |
D | net.c | 341 msg.msg_namelen = 0; in io_send() 355 msg.msg_namelen = sr->addr_len; in io_send() 445 iomsg->namelen = msg.msg_namelen; in __io_recvmsg_copy_hdr() 497 iomsg->namelen = msg.msg_namelen; in __io_compat_recvmsg_copy_hdr() 664 kmsg->msg.msg_namelen = 0; in io_recvmsg_multishot() 684 if (kmsg->msg.msg_namelen > kmsg->namelen) in io_recvmsg_multishot() 687 copy_len += kmsg->msg.msg_namelen; in io_recvmsg_multishot() 693 hdr.msg.namelen = kmsg->msg.msg_namelen; in io_recvmsg_multishot() 853 msg.msg_namelen = 0; in io_recv() 1063 msg.msg_namelen = 0; in io_send_zc() [all …]
|
/Linux-v6.1/net/rxrpc/ |
D | output.c | 202 msg.msg_namelen = call->peer->srx.transport_len; in rxrpc_send_ack_packet() 311 msg.msg_namelen = call->peer->srx.transport_len; in rxrpc_send_abort_packet() 396 msg.msg_namelen = call->peer->srx.transport_len; in rxrpc_send_data_packet() 603 msg.msg_namelen = srx.transport_len; in rxrpc_reject_packets() 643 msg.msg_namelen = peer->srx.transport_len; in rxrpc_send_keepalive()
|
D | local_event.c | 42 msg.msg_namelen = srx.transport_len; in rxrpc_send_version_request()
|
D | conn_event.c | 56 msg.msg_namelen = conn->params.peer->srx.transport_len; in rxrpc_conn_retransmit_call() 217 msg.msg_namelen = conn->params.peer->srx.transport_len; in rxrpc_abort_connection()
|
/Linux-v6.1/include/net/ |
D | compat.h | 12 compat_int_t msg_namelen; member
|
/Linux-v6.1/tools/testing/selftests/net/ |
D | txtimestamp.c | 383 msg.msg_namelen = 0; in recv_errmsg() 609 msg.msg_namelen = sizeof(laddr); in do_test() 612 msg.msg_namelen = sizeof(daddr); in do_test() 615 msg.msg_namelen = sizeof(daddr6); in do_test()
|
D | tcp_inq.c | 150 msg.msg_namelen = 0; in main()
|
D | udpgso_bench_tx.c | 344 mmsgs[i].msg_hdr.msg_namelen = cfg_alen; in send_udp_sendmmsg() 402 msg.msg_namelen = cfg_alen; in send_udp_segment()
|
D | ipv6_flowlabel.c | 73 msg.msg_namelen = sizeof(addr); in do_send()
|
/Linux-v6.1/drivers/soc/qcom/ |
D | qmi_interface.c | 182 msg.msg_namelen = sizeof(sq); in qmi_send_new_lookup() 247 msg.msg_namelen = sizeof(sq); in qmi_send_new_server() 527 struct msghdr msg = { .msg_name = &sq, .msg_namelen = sizeof(sq) }; in qmi_data_ready_work() 759 msghdr.msg_namelen = sizeof(*sq); in qmi_send_message()
|
/Linux-v6.1/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 54 int msg_namelen; /* size of socket address structure */ member 81 int msg_namelen; /* size of socket address structure */ member
|
/Linux-v6.1/include/linux/ |
D | socket.h | 54 int msg_namelen; /* size of socket address structure */ member 81 int msg_namelen; /* size of socket address structure */ member
|
/Linux-v6.1/tools/testing/vsock/ |
D | vsock_diag_test.c | 189 .msg_namelen = sizeof(nladdr), in send_req() 218 .msg_namelen = sizeof(nladdr), in recv_resp()
|
/Linux-v6.1/net/mctp/ |
D | af_mctp.c | 96 int rc, addrlen = msg->msg_namelen; in mctp_sendmsg() 257 msg->msg_namelen = sizeof(*addr); in mctp_recvmsg() 262 msg->msg_namelen = sizeof(*ae); in mctp_recvmsg()
|
/Linux-v6.1/net/phonet/ |
D | datagram.c | 86 if (msg->msg_namelen < sizeof(struct sockaddr_pn)) in pn_sendmsg()
|
/Linux-v6.1/net/can/ |
D | raw.c | 806 if (msg->msg_namelen < RAW_MIN_NAMELEN) in raw_sendmsg() 911 msg->msg_namelen = RAW_MIN_NAMELEN; in raw_recvmsg() 912 memcpy(msg->msg_name, skb->cb, msg->msg_namelen); in raw_recvmsg()
|
/Linux-v6.1/net/packet/ |
D | af_packet.c | 1968 if (msg->msg_namelen < sizeof(struct sockaddr)) in packet_sendmsg_spkt() 1970 if (msg->msg_namelen == sizeof(struct sockaddr_pkt)) in packet_sendmsg_spkt() 2745 if (msg->msg_namelen < sizeof(struct sockaddr_ll)) in tpacket_snd() 2747 if (msg->msg_namelen < (saddr->sll_halen in tpacket_snd() 2754 if (dev && msg->msg_namelen < dev->addr_len + in tpacket_snd() 2959 if (msg->msg_namelen < sizeof(struct sockaddr_ll)) in packet_snd() 2961 if (msg->msg_namelen < (saddr->sll_halen + offsetof(struct sockaddr_ll, sll_addr))) in packet_snd() 2966 if (dev && msg->msg_namelen < dev->addr_len + in packet_snd() 3493 msg->msg_namelen = sizeof(struct sockaddr_pkt); in packet_recvmsg() 3494 copy_len = msg->msg_namelen; in packet_recvmsg() [all …]
|
/Linux-v6.1/arch/um/os-Linux/drivers/ |
D | tuntap_user.c | 88 msg.msg_namelen = 0; in tuntap_open_tramp()
|
/Linux-v6.1/fs/afs/ |
D | rxrpc.c | 361 msg.msg_namelen = 0; in afs_make_call() 824 msg.msg_namelen = 0; in afs_send_empty_reply() 864 msg.msg_namelen = 0; in afs_send_simple_reply()
|
/Linux-v6.1/arch/um/drivers/ |
D | mconsole_user.c | 49 msg.msg_namelen = req->originlen; in mconsole_reply_v0()
|