Home
last modified time | relevance | path

Searched refs:msg_name (Results 1 – 25 of 90) sorted by relevance

1234

/kernel/liteos_a/syscall/
Dnet_syscall.c409 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/
Ddatagram.c75 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/
Dnet_socket_test_003.c94 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()
Dnet_socket_test_002.c92 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/
Dhdcp_log.h96 #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/
Dcompat.c50 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()
Dsocket.c1972 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/
Dns.c124 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/
Dnet_socket_test_003.cpp116 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()
Dnet_socket_test_002.cpp97 msg.msg_name = &clnAddr; in UdpTest()
113 msg.msg_name = &clnAddr; in UdpTest()
/kernel/linux/linux-5.10/net/rds/
Drecv.c640 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/
Doutput.c201 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()
Dlocal_event.c41 msg.msg_name = &srx.transport; in rxrpc_send_version_request()
/kernel/linux/linux-5.10/net/can/j1939/
Dsocket.c835 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/
Dcompat.h13 compat_uptr_t msg_name; /* void * */ member
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dudp.c309 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/
Dnet_fuzz.c91 msg.msg_name = &clnAddr; in SampleUdpServer()
131 msg.msg_name = &clnAddr; in SampleUdpClient()
/kernel/linux/linux-5.10/net/ipv6/
Dping.c74 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/
Dqmi_interface.c181 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/
Dtxtimestamp.c382 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/
Dl2tp_ip.c412 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/
Draw.c776 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/
Dsiw_cm.h109 struct msghdr msg = { .msg_name = NULL, .msg_flags = flags }; in ksock_recv()
/kernel/linux/linux-5.10/include/linux/
Dsocket.h51 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/
Dsocket.h51 void *msg_name; /* ptr to socket address structure */ member
71 void __user *msg_name; /* ptr to socket address structure */ member

1234