/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()
|
/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 | 729 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() 2056 msg.msg_name = NULL; in __sys_sendto() 2064 msg.msg_name = (struct sockaddr *)&address; in __sys_sendto() 2120 msg.msg_name = addr ? (struct sockaddr *)&address : NULL; in __sys_recvfrom() 2334 if (!msg.msg_name) in __copy_msghdr_from_user() 2344 *save_addr = msg.msg_name; in __copy_msghdr_from_user() [all …]
|
/net/qrtr/ |
D | ns.c | 127 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/ |
D | af_mctp.c | 82 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/ |
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 | af_rxrpc.c | 512 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()
|
D | recvmsg.c | 590 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()
|
D | local_event.c | 41 msg.msg_name = &srx.transport; in rxrpc_send_version_request()
|
D | sendmsg.c | 612 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()
|
D | conn_event.c | 63 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/ |
D | socket.c | 849 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/ |
D | ping.c | 69 if (msg->msg_name) { in ping_v6_sendmsg() 70 DECLARE_SOCKADDR(struct sockaddr_in6 *, u, msg->msg_name); in ping_v6_sendmsg()
|
D | udp.c | 418 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/ |
D | raw.c | 789 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()
|
D | bcm.c | 1316 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/ |
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()
|
D | l2tp_ip6.c | 492 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/ |
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()
|
/net/ipv4/ |
D | ping.c | 729 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/ |
D | af_rose.c | 1098 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/ieee802154/ |
D | socket.c | 616 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/nfc/ |
D | llcp_sock.c | 802 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/bluetooth/ |
D | af_bluetooth.c | 289 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/ |
D | topsrv.c | 273 msg.msg_name = NULL; in tipc_conn_send_to_sock() 398 msg.msg_name = NULL; in tipc_conn_rcv_from_sock()
|