Home
last modified time | relevance | path

Searched refs:msghdr (Results 1 – 25 of 117) sorted by relevance

12345

/net/rds/
Drecv.c450 int rds_notify_queue_get(struct rds_sock *rs, struct msghdr *msghdr) in rds_notify_queue_get() argument
468 if (msghdr) { in rds_notify_queue_get()
469 max_messages = msghdr->msg_controllen / CMSG_SPACE(sizeof(cmsg)); in rds_notify_queue_get()
489 if (msghdr) { in rds_notify_queue_get()
493 err = put_cmsg(msghdr, SOL_RDS, RDS_CMSG_RDMA_STATUS, in rds_notify_queue_get()
518 static int rds_notify_cong(struct rds_sock *rs, struct msghdr *msghdr) in rds_notify_cong() argument
524 err = put_cmsg(msghdr, SOL_RDS, RDS_CMSG_CONG_UPDATE, in rds_notify_cong()
539 static int rds_cmsg_recv(struct rds_incoming *inc, struct msghdr *msg, in rds_cmsg_recv()
598 static bool rds_recvmsg_zcookie(struct rds_sock *rs, struct msghdr *msg) in rds_recvmsg_zcookie()
633 int rds_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, in rds_recvmsg()
/net/sctp/
Dulpevent.c988 struct msghdr *msghdr) in sctp_ulpevent_read_sndrcvinfo() argument
1008 put_cmsg(msghdr, IPPROTO_SCTP, SCTP_SNDRCV, in sctp_ulpevent_read_sndrcvinfo()
1016 struct msghdr *msghdr) in sctp_ulpevent_read_rcvinfo() argument
1033 put_cmsg(msghdr, IPPROTO_SCTP, SCTP_RCVINFO, in sctp_ulpevent_read_rcvinfo()
1041 struct msghdr *msghdr, in __sctp_ulpevent_read_nxtinfo() argument
1055 put_cmsg(msghdr, IPPROTO_SCTP, SCTP_NXTINFO, in __sctp_ulpevent_read_nxtinfo()
1060 struct msghdr *msghdr, in sctp_ulpevent_read_nxtinfo() argument
1069 msghdr, skb); in sctp_ulpevent_read_nxtinfo()
/net/
Dsocket.c698 INDIRECT_CALLABLE_DECLARE(int inet_sendmsg(struct socket *, struct msghdr *,
700 INDIRECT_CALLABLE_DECLARE(int inet6_sendmsg(struct socket *, struct msghdr *,
702 static inline int sock_sendmsg_nosec(struct socket *sock, struct msghdr *msg) in sock_sendmsg_nosec()
711 static int __sock_sendmsg(struct socket *sock, struct msghdr *msg) in __sock_sendmsg()
727 int sock_sendmsg(struct socket *sock, struct msghdr *msg) in sock_sendmsg()
759 int kernel_sendmsg(struct socket *sock, struct msghdr *msg, in kernel_sendmsg()
780 int kernel_sendmsg_locked(struct sock *sk, struct msghdr *msg, in kernel_sendmsg_locked()
817 static void put_ts_pktinfo(struct msghdr *msg, struct sk_buff *skb) in put_ts_pktinfo()
841 void __sock_recv_timestamp(struct msghdr *msg, struct sock *sk, in __sock_recv_timestamp()
927 void __sock_recv_wifi_status(struct msghdr *msg, struct sock *sk, in __sock_recv_wifi_status()
[all …]
Dcompat.c36 int __get_compat_msghdr(struct msghdr *kmsg, in __get_compat_msghdr()
88 int get_compat_msghdr(struct msghdr *kmsg, in get_compat_msghdr()
127 static inline struct compat_cmsghdr __user *cmsg_compat_nxthdr(struct msghdr *msg, in cmsg_compat_nxthdr()
141 int cmsghdr_from_user_compat_to_kern(struct msghdr *kmsg, struct sock *sk, in cmsghdr_from_user_compat_to_kern()
228 int put_cmsg_compat(struct msghdr *kmsg, int level, int type, int len, void *data) in put_cmsg_compat()
284 static int scm_max_fds_compat(struct msghdr *msg) in scm_max_fds_compat()
291 void scm_detach_fds_compat(struct msghdr *msg, struct scm_cookie *scm) in scm_detach_fds_compat()
/net/core/
Dscm.c137 int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *p) in __scm_send()
219 int put_cmsg(struct msghdr * msg, int level, int type, int len, void *data) in put_cmsg()
270 void put_cmsg_scm_timestamping64(struct msghdr *msg, struct scm_timestamping_internal *tss_internal) in put_cmsg_scm_timestamping64()
284 void put_cmsg_scm_timestamping(struct msghdr *msg, struct scm_timestamping_internal *tss_internal) in put_cmsg_scm_timestamping()
298 static int scm_max_fds(struct msghdr *msg) in scm_max_fds()
305 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm) in scm_detach_fds()
/net/sunrpc/
Dsocklib.c205 static inline int xprt_sendmsg(struct socket *sock, struct msghdr *msg, in xprt_sendmsg()
213 static int xprt_send_kvec(struct socket *sock, struct msghdr *msg, in xprt_send_kvec()
220 static int xprt_send_pagedata(struct socket *sock, struct msghdr *msg, in xprt_send_pagedata()
239 static int xprt_send_rm_and_kvec(struct socket *sock, struct msghdr *msg, in xprt_send_rm_and_kvec()
269 int xprt_sock_sendmsg(struct socket *sock, struct msghdr *msg, in xprt_sock_sendmsg()
Dxprtsock.c353 xs_sock_recvmsg(struct socket *sock, struct msghdr *msg, int flags, size_t seek) in xs_sock_recvmsg()
363 xs_read_kvec(struct socket *sock, struct msghdr *msg, int flags, in xs_read_kvec()
371 xs_read_bvec(struct socket *sock, struct msghdr *msg, int flags, in xs_read_bvec()
380 xs_read_discard(struct socket *sock, struct msghdr *msg, int flags, in xs_read_discard()
408 xs_read_xdr_buf(struct socket *sock, struct msghdr *msg, int flags, in xs_read_xdr_buf()
494 struct msghdr *msg) in xs_read_stream_check_eor()
501 xs_read_stream_request(struct sock_xprt *transport, struct msghdr *msg, in xs_read_stream_request()
548 xs_read_stream_header(struct sock_xprt *transport, struct msghdr *msg, in xs_read_stream_header()
560 xs_read_stream_call(struct sock_xprt *transport, struct msghdr *msg, int flags) in xs_read_stream_call()
589 xs_read_stream_call(struct sock_xprt *transport, struct msghdr *msg, int flags) in xs_read_stream_call()
[all …]
Dsocklib.h11 int xprt_sock_sendmsg(struct socket *sock, struct msghdr *msg,
/net/ipv6/
Dudp_impl.h23 int udpv6_sendmsg(struct sock *sk, struct msghdr *msg, size_t len);
24 int udpv6_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int noblock,
Dping.c26 static int dummy_ipv6_recv_error(struct sock *sk, struct msghdr *msg, int len, in dummy_ipv6_recv_error()
31 static void dummy_ip6_datagram_recv_ctl(struct sock *sk, struct msghdr *msg, in dummy_ip6_datagram_recv_ctl()
47 static int ping_v6_sendmsg(struct sock *sk, struct msghdr *msg, size_t len) in ping_v6_sendmsg()
Ddatagram.c448 int ipv6_recv_error(struct sock *sk, struct msghdr *msg, int len, int *addr_len) in ipv6_recv_error()
541 int ipv6_recv_rxpmtu(struct sock *sk, struct msghdr *msg, int len, in ipv6_recv_rxpmtu()
589 void ip6_datagram_recv_common_ctl(struct sock *sk, struct msghdr *msg, in ip6_datagram_recv_common_ctl()
614 void ip6_datagram_recv_specific_ctl(struct sock *sk, struct msghdr *msg, in ip6_datagram_recv_specific_ctl()
745 void ip6_datagram_recv_ctl(struct sock *sk, struct msghdr *msg, in ip6_datagram_recv_ctl()
754 struct msghdr *msg, struct flowi6 *fl6, in ip6_datagram_send_ctl()
/net/atm/
Dcommon.h17 int vcc_recvmsg(struct socket *sock, struct msghdr *msg, size_t size,
19 int vcc_sendmsg(struct socket *sock, struct msghdr *m, size_t total_len);
/net/qrtr/
Dns.c111 struct msghdr msg = { }; in service_announce_new()
137 struct msghdr msg = { }; in service_announce_del()
168 struct msghdr msg = { }; in lookup_notify()
311 struct msghdr msg = { }; in say_hello()
350 struct msghdr msg = { }; in ctrl_cmd_bye()
428 struct msghdr msg = { }; in ctrl_cmd_del_client()
674 struct msghdr msg = { }; in qrtr_ns_worker()
/net/ipv4/
Dip_sockglue.c56 static void ip_cmsg_recv_pktinfo(struct msghdr *msg, struct sk_buff *skb) in ip_cmsg_recv_pktinfo()
65 static void ip_cmsg_recv_ttl(struct msghdr *msg, struct sk_buff *skb) in ip_cmsg_recv_ttl()
71 static void ip_cmsg_recv_tos(struct msghdr *msg, struct sk_buff *skb) in ip_cmsg_recv_tos()
76 static void ip_cmsg_recv_opts(struct msghdr *msg, struct sk_buff *skb) in ip_cmsg_recv_opts()
86 static void ip_cmsg_recv_retopts(struct net *net, struct msghdr *msg, in ip_cmsg_recv_retopts()
104 static void ip_cmsg_recv_fragsize(struct msghdr *msg, struct sk_buff *skb) in ip_cmsg_recv_fragsize()
115 static void ip_cmsg_recv_checksum(struct msghdr *msg, struct sk_buff *skb, in ip_cmsg_recv_checksum()
131 static void ip_cmsg_recv_security(struct msghdr *msg, struct sk_buff *skb) in ip_cmsg_recv_security()
149 static void ip_cmsg_recv_dstaddr(struct msghdr *msg, struct sk_buff *skb) in ip_cmsg_recv_dstaddr()
171 void ip_cmsg_recv_offset(struct msghdr *msg, struct sock *sk, in ip_cmsg_recv_offset()
[all …]
Dudp_bpf.c13 static int sk_udp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, in sk_udp_recvmsg()
63 static int udp_bpf_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, in udp_bpf_recvmsg()
/net/vmw_vsock/
Dvirtio_transport_common.c306 struct msghdr *msg, in virtio_transport_stream_do_peek()
355 struct msghdr *msg, in virtio_transport_stream_do_dequeue()
424 struct msghdr *msg, in virtio_transport_seqpacket_do_dequeue()
497 struct msghdr *msg, in virtio_transport_stream_dequeue()
509 struct msghdr *msg, in virtio_transport_seqpacket_dequeue()
521 struct msghdr *msg, in virtio_transport_seqpacket_enqueue()
541 struct msghdr *msg, in virtio_transport_dgram_dequeue()
791 struct msghdr *msg, in virtio_transport_dgram_enqueue()
800 struct msghdr *msg, in virtio_transport_stream_enqueue()
Dhyperv_transport.c548 static int hvs_dgram_dequeue(struct vsock_sock *vsk, struct msghdr *msg, in hvs_dgram_dequeue()
555 struct sockaddr_vm *remote, struct msghdr *msg, in hvs_dgram_enqueue()
586 static ssize_t hvs_stream_dequeue(struct vsock_sock *vsk, struct msghdr *msg, in hvs_stream_dequeue()
626 static ssize_t hvs_stream_enqueue(struct vsock_sock *vsk, struct msghdr *msg, in hvs_stream_enqueue()
/net/phonet/
Ddatagram.c73 static int pn_sendmsg(struct sock *sk, struct msghdr *msg, size_t len) in pn_sendmsg()
114 static int pn_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, in pn_recvmsg()
/net/unix/
Daf_unix.c694 static int unix_stream_sendmsg(struct socket *, struct msghdr *, size_t);
695 static int unix_stream_recvmsg(struct socket *, struct msghdr *, size_t, int);
701 static int unix_dgram_sendmsg(struct socket *, struct msghdr *, size_t);
702 static int unix_dgram_recvmsg(struct socket *, struct msghdr *, size_t, int);
709 static int unix_seqpacket_sendmsg(struct socket *, struct msghdr *, size_t);
710 static int unix_seqpacket_recvmsg(struct socket *, struct msghdr *, size_t,
1708 struct msghdr msg = { .msg_controllen = 0 }; in maybe_init_creds()
1754 static int unix_dgram_sendmsg(struct socket *sock, struct msghdr *msg, in unix_dgram_sendmsg()
1971 static int queue_oob(struct socket *sock, struct msghdr *msg, struct sock *other, in queue_oob()
2023 static int unix_stream_sendmsg(struct socket *sock, struct msghdr *msg, in unix_stream_sendmsg()
[all …]
Dunix_bpf.c41 static int __unix_recvmsg(struct sock *sk, struct msghdr *msg, in __unix_recvmsg()
50 static int unix_bpf_recvmsg(struct sock *sk, struct msghdr *msg, in unix_bpf_recvmsg()
/net/rxrpc/
Doutput.c184 struct msghdr msg; in rxrpc_send_ack_packet()
290 struct msghdr msg; in rxrpc_send_abort_packet()
356 struct msghdr msg; in rxrpc_send_data_packet()
561 struct msghdr msg; in rxrpc_reject_packets()
635 struct msghdr msg; in rxrpc_send_keepalive()
Dsendmsg.c289 struct msghdr *msg, size_t len, in rxrpc_send_data()
497 static int rxrpc_sendmsg_cmsg(struct msghdr *msg, struct rxrpc_send_params *p) in rxrpc_sendmsg_cmsg()
603 rxrpc_new_client_call_for_sendmsg(struct rxrpc_sock *rx, struct msghdr *msg, in rxrpc_new_client_call_for_sendmsg()
646 int rxrpc_do_sendmsg(struct rxrpc_sock *rx, struct msghdr *msg, size_t len) in rxrpc_do_sendmsg()
793 struct msghdr *msg, size_t len, in rxrpc_kernel_send_data()
/net/nfc/
Dllcp.h246 struct msghdr *msg, size_t len);
248 struct msghdr *msg, size_t len);
/net/smc/
Dsmc_rx.h22 int smc_rx_recvmsg(struct smc_sock *smc, struct msghdr *msg,
/net/tipc/
Dsocket.c158 static int __tipc_sendstream(struct socket *sock, struct msghdr *m, size_t dsz);
159 static int __tipc_sendmsg(struct socket *sock, struct msghdr *m, size_t dsz);
844 struct msghdr *msg, size_t dlen, long timeout) in tipc_sendmcast()
907 struct msghdr *m, struct tipc_member *mb, in tipc_send_group_msg()
957 static int tipc_send_group_unicast(struct socket *sock, struct msghdr *m, in tipc_send_group_unicast()
1001 static int tipc_send_group_anycast(struct socket *sock, struct msghdr *m, in tipc_send_group_anycast()
1083 static int tipc_send_group_bcast(struct socket *sock, struct msghdr *m, in tipc_send_group_bcast()
1157 static int tipc_send_group_mcast(struct socket *sock, struct msghdr *m, in tipc_send_group_mcast()
1397 struct msghdr *m, size_t dsz) in tipc_sendmsg()
1409 static int __tipc_sendmsg(struct socket *sock, struct msghdr *m, size_t dlen) in __tipc_sendmsg()
[all …]

12345