Home
last modified time | relevance | path

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

123

/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()
/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.c729 struct sockaddr_storage *save_addr = (struct sockaddr_storage *)msg->msg_name; in sock_sendmsg()
734 if (msg->msg_name) { in sock_sendmsg()
735 memcpy(&address, msg->msg_name, msg->msg_namelen); in sock_sendmsg()
736 msg->msg_name = &address; in sock_sendmsg()
740 msg->msg_name = save_addr; in sock_sendmsg()
2044 msg.msg_name = NULL; in __sys_sendto()
2052 msg.msg_name = (struct sockaddr *)&address; in __sys_sendto()
2108 msg.msg_name = addr ? (struct sockaddr *)&address : NULL; in __sys_recvfrom()
2322 if (!msg.msg_name) in __copy_msghdr_from_user()
2332 *save_addr = msg.msg_name; in __copy_msghdr_from_user()
[all …]
/net/qrtr/
Dns.c127 msg.msg_name = (struct sockaddr *)dest; in service_announce_new()
154 msg.msg_name = (struct sockaddr *)dest; in service_announce_del()
185 msg.msg_name = (struct sockaddr *)to; in lookup_notify()
321 msg.msg_name = (struct sockaddr *)dest; in say_hello()
405 msg.msg_name = (struct sockaddr *)&sq; in ctrl_cmd_bye()
495 msg.msg_name = (struct sockaddr *)&sq; in ctrl_cmd_del_client()
681 msg.msg_name = (struct sockaddr *)&sq; in qrtr_ns_worker()
/net/mctp/
Daf_mctp.c82 DECLARE_SOCKADDR(struct sockaddr_mctp *, addr, msg->msg_name); in mctp_sendmsg()
145 DECLARE_SOCKADDR(struct sockaddr_mctp *, addr, msg->msg_name); in mctp_recvmsg()
184 addr = msg->msg_name; in mctp_recvmsg()
/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()
Daf_rxrpc.c512 if (m->msg_name) { in rxrpc_sendmsg()
513 ret = rxrpc_validate_address(rx, m->msg_name, m->msg_namelen); in rxrpc_sendmsg()
553 if (!m->msg_name && in rxrpc_sendmsg()
555 m->msg_name = &rx->connect_srx; in rxrpc_sendmsg()
Drecvmsg.c590 if (msg->msg_name && call->peer) { in rxrpc_recvmsg()
591 struct sockaddr_rxrpc *srx = msg->msg_name; in rxrpc_recvmsg()
594 memcpy(msg->msg_name, &call->peer->srx, len); in rxrpc_recvmsg()
Dlocal_event.c41 msg.msg_name = &srx.transport; in rxrpc_send_version_request()
Dsendmsg.c612 DECLARE_SOCKADDR(struct sockaddr_rxrpc *, srx, msg->msg_name); in rxrpc_new_client_call_for_sendmsg()
616 if (!msg->msg_name) { in rxrpc_new_client_call_for_sendmsg()
801 ASSERTCMP(msg->msg_name, ==, NULL); in rxrpc_kernel_send_data()
Dconn_event.c63 msg.msg_name = &conn->params.peer->srx.transport; in rxrpc_conn_retransmit_call()
224 msg.msg_name = &conn->params.peer->srx.transport; in rxrpc_abort_connection()
/net/can/j1939/
Dsocket.c849 if (msg->msg_name) { in j1939_sk_recvmsg()
850 struct sockaddr_can *paddr = msg->msg_name; in j1939_sk_recvmsg()
853 memset(msg->msg_name, 0, msg->msg_namelen); in j1939_sk_recvmsg()
903 if (msg->msg_name) { in j1939_sk_alloc_skb()
904 struct sockaddr_can *addr = msg->msg_name; in j1939_sk_alloc_skb()
1235 if (msg->msg_name) { in j1939_sk_sendmsg()
1236 struct sockaddr_can *addr = msg->msg_name; in j1939_sk_sendmsg()
/net/ipv6/
Dping.c69 if (msg->msg_name) { in ping_v6_sendmsg()
70 DECLARE_SOCKADDR(struct sockaddr_in6 *, u, msg->msg_name); in ping_v6_sendmsg()
Dudp.c418 if (msg->msg_name) { in udpv6_recvmsg()
419 DECLARE_SOCKADDR(struct sockaddr_in6 *, sin6, msg->msg_name); in udpv6_recvmsg()
1329 DECLARE_SOCKADDR(struct sockaddr_in6 *, sin6, msg->msg_name); in udpv6_sendmsg()
1368 msg->msg_name = sin6 = NULL; in udpv6_sendmsg()
1388 msg->msg_name = &sin; in udpv6_sendmsg()
1393 msg->msg_name = sin6; in udpv6_sendmsg()
/net/can/
Draw.c789 if (msg->msg_name) { in raw_sendmsg()
790 DECLARE_SOCKADDR(struct sockaddr_can *, addr, msg->msg_name); in raw_sendmsg()
893 if (msg->msg_name) { in raw_recvmsg()
896 memcpy(msg->msg_name, skb->cb, msg->msg_namelen); in raw_recvmsg()
Dbcm.c1316 if (!ifindex && msg->msg_name) { in bcm_sendmsg()
1318 DECLARE_SOCKADDR(struct sockaddr_can *, addr, msg->msg_name); in bcm_sendmsg()
1670 if (msg->msg_name) { in bcm_recvmsg()
1673 memcpy(msg->msg_name, skb->cb, msg->msg_namelen); in bcm_recvmsg()
/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()
Dl2tp_ip6.c492 DECLARE_SOCKADDR(struct sockaddr_l2tpip6 *, lsa, msg->msg_name); in l2tp_ip6_sendmsg()
662 DECLARE_SOCKADDR(struct sockaddr_l2tpip6 *, lsa, msg->msg_name); in l2tp_ip6_recvmsg()
/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()
/net/ipv4/
Dping.c729 if (msg->msg_name) { in ping_v4_sendmsg()
730 DECLARE_SOCKADDR(struct sockaddr_in *, usin, msg->msg_name); in ping_v4_sendmsg()
898 DECLARE_SOCKADDR(struct sockaddr_in *, sin, msg->msg_name); in ping_recvmsg()
915 DECLARE_SOCKADDR(struct sockaddr_in6 *, sin6, msg->msg_name); in ping_recvmsg()
/net/rose/
Daf_rose.c1098 DECLARE_SOCKADDR(struct sockaddr_rose *, usrose, msg->msg_name); in rose_sendmsg()
1298 if (msg->msg_name) { in rose_recvmsg()
1301 msg->msg_name); in rose_recvmsg()
1303 memset(msg->msg_name, 0, sizeof(struct full_sockaddr_rose)); in rose_recvmsg()
1304 srose = msg->msg_name; in rose_recvmsg()
/net/nfc/
Dllcp_sock.c802 msg->msg_name); in llcp_sock_sendmsg()
872 if (sk->sk_type == SOCK_DGRAM && msg->msg_name) { in llcp_sock_recvmsg()
875 msg->msg_name); in llcp_sock_recvmsg()
/net/ieee802154/
Dsocket.c616 DECLARE_SOCKADDR(struct sockaddr_ieee802154*, daddr, msg->msg_name); in dgram_sendmsg()
625 if (msg->msg_name) { in dgram_sendmsg()
714 DECLARE_SOCKADDR(struct sockaddr_ieee802154 *, saddr, msg->msg_name); in dgram_recvmsg()
/net/bluetooth/
Daf_bluetooth.c289 if (msg->msg_name && bt_sk(sk)->skb_msg_name) in bt_sock_recvmsg()
290 bt_sk(sk)->skb_msg_name(skb, msg->msg_name, in bt_sock_recvmsg()
/net/tipc/
Dtopsrv.c273 msg.msg_name = NULL; in tipc_conn_send_to_sock()
398 msg.msg_name = NULL; in tipc_conn_rcv_from_sock()

123