/kernel/liteos_a/syscall/ |
D | net_syscall.c | 409 CHECK_FIELD_ASPACE(message, msg_name, message->msg_namelen); in SysSendMsg() 416 DUP_FIELD_FROM_USER(message, msg_name, message->msg_namelen, in SysSendMsg() 420 FREE_DUP_FIELD(message, msg_name)); in SysSendMsg() 424 FREE_DUP_FIELD(message, msg_name)); in SysSendMsg() 435 FREE_DUP_FIELD(message, msg_name); in SysSendMsg() 457 CHECK_FIELD_ASPACE(message, msg_name, message->msg_namelen); in SysRecvMsg() 464 DUP_FIELD_FROM_USER_NOCOPY(message, msg_name, message->msg_namelen, in SysRecvMsg() 468 FREE_DUP_FIELD(message, msg_name)); in SysRecvMsg() 472 FREE_DUP_FIELD(message, msg_name)); in SysRecvMsg() 487 DUP_FIELD_TO_USER(message, msg_name, message->msg_namelen, ret = -1; goto OUT); in SysRecvMsg() [all …]
|
/kernel/linux/linux-5.10/net/phonet/ |
D | datagram.c | 75 DECLARE_SOCKADDR(struct sockaddr_pn *, target, msg->msg_name); in pn_sendmsg() 146 if (msg->msg_name != NULL) { in pn_recvmsg() 148 memcpy(msg->msg_name, &sa, sizeof(sa)); in pn_recvmsg()
|
/kernel/liteos_m/components/net/test/ |
D | net_socket_test_003.c | 94 msg.msg_name = &clnAddr; in SampleTcpServer() 109 msg.msg_name = &clnAddr; in SampleTcpServer() 193 msg.msg_name = &clnAddr; in SampleTcpClient() 208 msg.msg_name = &clnAddr; in SampleTcpClient()
|
D | net_socket_test_002.c | 92 msg.msg_name = &clnAddr; in UdpTestTask() 106 msg.msg_name = &clnAddr; in UdpTestTask()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/hdcp/ |
D | hdcp_log.h | 96 #define HDCP_DDC_READ_TRACE(hdcp, msg_name, msg, msg_size) do { \ argument 100 msg_name, hdcp->buf); \ 102 #define HDCP_DDC_WRITE_TRACE(hdcp, msg_name, msg, msg_size) do { \ argument 106 hdcp->config.index, msg_name,\
|
/kernel/linux/linux-5.10/net/ |
D | compat.c | 50 if (!msg.msg_name) in __get_compat_msghdr() 64 *save_addr = compat_ptr(msg.msg_name); in __get_compat_msghdr() 66 if (msg.msg_name && kmsg->msg_namelen) { in __get_compat_msghdr() 68 err = move_addr_to_kernel(compat_ptr(msg.msg_name), in __get_compat_msghdr() 70 kmsg->msg_name); in __get_compat_msghdr() 75 kmsg->msg_name = NULL; in __get_compat_msghdr()
|
D | socket.c | 1972 msg.msg_name = NULL; in __sys_sendto() 1980 msg.msg_name = (struct sockaddr *)&address; in __sys_sendto() 2036 msg.msg_name = addr ? (struct sockaddr *)&address : NULL; in __sys_recvfrom() 2247 if (!msg.msg_name) in __copy_msghdr_from_user() 2257 *save_addr = msg.msg_name; in __copy_msghdr_from_user() 2259 if (msg.msg_name && kmsg->msg_namelen) { in __copy_msghdr_from_user() 2261 err = move_addr_to_kernel(msg.msg_name, in __copy_msghdr_from_user() 2263 kmsg->msg_name); in __copy_msghdr_from_user() 2268 kmsg->msg_name = NULL; in __copy_msghdr_from_user() 2349 if (used_address && msg_sys->msg_name && in ____sys_sendmsg() [all …]
|
/kernel/linux/linux-5.10/net/qrtr/ |
D | ns.c | 124 msg.msg_name = (struct sockaddr *)dest; in service_announce_new() 151 msg.msg_name = (struct sockaddr *)dest; in service_announce_del() 182 msg.msg_name = (struct sockaddr *)to; in lookup_notify() 318 msg.msg_name = (struct sockaddr *)dest; in say_hello() 402 msg.msg_name = (struct sockaddr *)&sq; in ctrl_cmd_bye() 489 msg.msg_name = (struct sockaddr *)&sq; in ctrl_cmd_del_client() 681 msg.msg_name = (struct sockaddr *)&sq; in qrtr_ns_worker()
|
/kernel/liteos_a/testsuites/unittest/net/socket/smoke/ |
D | net_socket_test_003.cpp | 116 msg.msg_name = &clnAddr; in SampleTcpServer() 136 msg.msg_name = &clnAddr; in SampleTcpServer() 231 msg.msg_name = &clnAddr; in SampleTcpClient() 251 msg.msg_name = &clnAddr; in SampleTcpClient()
|
D | net_socket_test_002.cpp | 97 msg.msg_name = &clnAddr; in UdpTest() 113 msg.msg_name = &clnAddr; in UdpTest()
|
/kernel/linux/linux-5.10/net/rds/ |
D | recv.c | 640 DECLARE_SOCKADDR(struct sockaddr_in6 *, sin6, msg->msg_name); in rds_recvmsg() 641 DECLARE_SOCKADDR(struct sockaddr_in *, sin, msg->msg_name); in rds_recvmsg() 723 if (msg->msg_name) { in rds_recvmsg() 725 sin = (struct sockaddr_in *)msg->msg_name; in rds_recvmsg() 734 sin6 = (struct sockaddr_in6 *)msg->msg_name; in rds_recvmsg()
|
/kernel/linux/linux-5.10/net/rxrpc/ |
D | output.c | 201 msg.msg_name = &call->peer->srx.transport; in rxrpc_send_ack_packet() 310 msg.msg_name = &call->peer->srx.transport; in rxrpc_send_abort_packet() 395 msg.msg_name = &call->peer->srx.transport; in rxrpc_send_data_packet() 574 msg.msg_name = &srx.transport; in rxrpc_reject_packets() 642 msg.msg_name = &peer->srx.transport; in rxrpc_send_keepalive()
|
D | local_event.c | 41 msg.msg_name = &srx.transport; in rxrpc_send_version_request()
|
/kernel/linux/linux-5.10/net/can/j1939/ |
D | socket.c | 835 if (msg->msg_name) { in j1939_sk_recvmsg() 836 struct sockaddr_can *paddr = msg->msg_name; in j1939_sk_recvmsg() 839 memset(msg->msg_name, 0, msg->msg_namelen); in j1939_sk_recvmsg() 889 if (msg->msg_name) { in j1939_sk_alloc_skb() 890 struct sockaddr_can *addr = msg->msg_name; in j1939_sk_alloc_skb() 1141 if (msg->msg_name) { in j1939_sk_sendmsg() 1142 struct sockaddr_can *addr = msg->msg_name; in j1939_sk_sendmsg()
|
/kernel/linux/linux-5.10/include/net/ |
D | compat.h | 13 compat_uptr_t msg_name; /* void * */ member
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
D | udp.c | 309 if (msg->msg_name) { in nip_udp_recvmsg() 310 DECLARE_SOCKADDR(struct sockaddr_nin *, sin, msg->msg_name); in nip_udp_recvmsg() 412 DECLARE_SOCKADDR(struct sockaddr_nin *, sin, msg->msg_name); in nip_udp_output()
|
/kernel/liteos_m/testsuites/unittest/fuzz/src/socket/ |
D | net_fuzz.c | 91 msg.msg_name = &clnAddr; in SampleUdpServer() 131 msg.msg_name = &clnAddr; in SampleUdpClient()
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | ping.c | 74 if (msg->msg_name) { in ping_v6_sendmsg() 75 DECLARE_SOCKADDR(struct sockaddr_in6 *, u, msg->msg_name); in ping_v6_sendmsg()
|
/kernel/linux/linux-5.10/drivers/soc/qcom/ |
D | qmi_interface.c | 181 msg.msg_name = &sq; in qmi_send_new_lookup() 246 msg.msg_name = &sq; in qmi_send_new_server() 527 struct msghdr msg = { .msg_name = &sq, .msg_namelen = sizeof(sq) }; in qmi_data_ready_work() 757 msghdr.msg_name = sq; in qmi_send_message()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | txtimestamp.c | 382 msg.msg_name = NULL; in recv_errmsg() 608 msg.msg_name = (void *)&laddr; in do_test() 611 msg.msg_name = (void *)&daddr; in do_test() 614 msg.msg_name = (void *)&daddr6; in do_test()
|
/kernel/linux/linux-5.10/net/l2tp/ |
D | l2tp_ip.c | 412 if (msg->msg_name) { in l2tp_ip_sendmsg() 413 DECLARE_SOCKADDR(struct sockaddr_l2tpip *, lip, msg->msg_name); in l2tp_ip_sendmsg() 523 DECLARE_SOCKADDR(struct sockaddr_in *, sin, msg->msg_name); in l2tp_ip_recvmsg()
|
/kernel/linux/linux-5.10/net/can/ |
D | raw.c | 776 if (msg->msg_name) { in raw_sendmsg() 777 DECLARE_SOCKADDR(struct sockaddr_can *, addr, msg->msg_name); in raw_sendmsg() 871 if (msg->msg_name) { in raw_recvmsg() 874 memcpy(msg->msg_name, skb->cb, msg->msg_namelen); in raw_recvmsg()
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/ |
D | siw_cm.h | 109 struct msghdr msg = { .msg_name = NULL, .msg_flags = flags }; in ksock_recv()
|
/kernel/linux/linux-5.10/include/linux/ |
D | socket.h | 51 void *msg_name; /* ptr to socket address structure */ member 71 void __user *msg_name; /* ptr to socket address structure */ member
|
/kernel/linux/linux-5.10/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 51 void *msg_name; /* ptr to socket address structure */ member 71 void __user *msg_name; /* ptr to socket address structure */ member
|