Home
last modified time | relevance | path

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

12345

/net/sctp/
Dulpevent.c930 struct msghdr *msghdr) in sctp_ulpevent_read_sndrcvinfo() argument
950 put_cmsg(msghdr, IPPROTO_SCTP, SCTP_SNDRCV, in sctp_ulpevent_read_sndrcvinfo()
958 struct msghdr *msghdr) in sctp_ulpevent_read_rcvinfo() argument
975 put_cmsg(msghdr, IPPROTO_SCTP, SCTP_RCVINFO, in sctp_ulpevent_read_rcvinfo()
983 struct msghdr *msghdr, in __sctp_ulpevent_read_nxtinfo() argument
997 put_cmsg(msghdr, IPPROTO_SCTP, SCTP_NXTINFO, in __sctp_ulpevent_read_nxtinfo()
1002 struct msghdr *msghdr, in sctp_ulpevent_read_nxtinfo() argument
1011 msghdr, skb); in sctp_ulpevent_read_nxtinfo()
/net/rds/
Drecv.c450 int rds_notify_queue_get(struct rds_sock *rs, struct msghdr *msghdr) in rds_notify_queue_get() argument
467 if (msghdr) { in rds_notify_queue_get()
468 max_messages = msghdr->msg_controllen / CMSG_SPACE(sizeof(cmsg)); in rds_notify_queue_get()
488 if (msghdr) { in rds_notify_queue_get()
492 err = put_cmsg(msghdr, SOL_RDS, RDS_CMSG_RDMA_STATUS, in rds_notify_queue_get()
517 static int rds_notify_cong(struct rds_sock *rs, struct msghdr *msghdr) in rds_notify_cong() argument
523 err = put_cmsg(msghdr, SOL_RDS, RDS_CMSG_CONG_UPDATE, in rds_notify_cong()
538 static int rds_cmsg_recv(struct rds_incoming *inc, struct msghdr *msg, in rds_cmsg_recv()
597 static bool rds_recvmsg_zcookie(struct rds_sock *rs, struct msghdr *msg) in rds_recvmsg_zcookie()
632 int rds_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, in rds_recvmsg()
/net/
Dsocket.c632 INDIRECT_CALLABLE_DECLARE(int inet_sendmsg(struct socket *, struct msghdr *,
634 INDIRECT_CALLABLE_DECLARE(int inet6_sendmsg(struct socket *, struct msghdr *,
636 static inline int sock_sendmsg_nosec(struct socket *sock, struct msghdr *msg) in sock_sendmsg_nosec()
653 int sock_sendmsg(struct socket *sock, struct msghdr *msg) in sock_sendmsg()
674 int kernel_sendmsg(struct socket *sock, struct msghdr *msg, in kernel_sendmsg()
695 int kernel_sendmsg_locked(struct sock *sk, struct msghdr *msg, in kernel_sendmsg_locked()
732 static void put_ts_pktinfo(struct msghdr *msg, struct sk_buff *skb) in put_ts_pktinfo()
756 void __sock_recv_timestamp(struct msghdr *msg, struct sock *sk, in __sock_recv_timestamp()
833 void __sock_recv_wifi_status(struct msghdr *msg, struct sock *sk, in __sock_recv_wifi_status()
849 static inline void sock_recv_drops(struct msghdr *msg, struct sock *sk, in sock_recv_drops()
[all …]
Dcompat.c36 int get_compat_msghdr(struct msghdr *kmsg, in get_compat_msghdr()
110 static inline struct compat_cmsghdr __user *cmsg_compat_nxthdr(struct msghdr *msg, in cmsg_compat_nxthdr()
124 int cmsghdr_from_user_compat_to_kern(struct msghdr *kmsg, struct sock *sk, in cmsghdr_from_user_compat_to_kern()
210 int put_cmsg_compat(struct msghdr *kmsg, int level, int type, int len, void *data) in put_cmsg_compat()
266 void scm_detach_fds_compat(struct msghdr *kmsg, struct scm_cookie *scm) in scm_detach_fds_compat()
/net/core/
Dscm.c131 int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *p) in __scm_send()
213 int put_cmsg(struct msghdr * msg, int level, int type, int len, void *data) in put_cmsg()
252 void put_cmsg_scm_timestamping64(struct msghdr *msg, struct scm_timestamping_internal *tss_internal) in put_cmsg_scm_timestamping64()
266 void put_cmsg_scm_timestamping(struct msghdr *msg, struct scm_timestamping_internal *tss_internal) in put_cmsg_scm_timestamping()
278 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm) in scm_detach_fds()
/net/ipv6/
Dudp_impl.h28 int udpv6_sendmsg(struct sock *sk, struct msghdr *msg, size_t len);
29 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.c432 int ipv6_recv_error(struct sock *sk, struct msghdr *msg, int len, int *addr_len) in ipv6_recv_error()
525 int ipv6_recv_rxpmtu(struct sock *sk, struct msghdr *msg, int len, in ipv6_recv_rxpmtu()
573 void ip6_datagram_recv_common_ctl(struct sock *sk, struct msghdr *msg, in ip6_datagram_recv_common_ctl()
598 void ip6_datagram_recv_specific_ctl(struct sock *sk, struct msghdr *msg, in ip6_datagram_recv_specific_ctl()
729 void ip6_datagram_recv_ctl(struct sock *sk, struct msghdr *msg, in ip6_datagram_recv_ctl()
738 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/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_impl.h26 int udp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int noblock,
/net/smc/
Dsmc_clc.c276 struct msghdr msg = {NULL, 0}; in smc_clc_wait_msg()
335 memset(&msg, 0, sizeof(struct msghdr)); in smc_clc_wait_msg()
365 struct msghdr msg; in smc_clc_send_decline()
401 struct msghdr msg; in smc_clc_send_proposal()
473 struct msghdr msg; in smc_clc_send_confirm()
543 struct msghdr msg; in smc_clc_send_accept()
Dsmc_rx.h22 int smc_rx_recvmsg(struct smc_sock *smc, struct msghdr *msg,
Dsmc_tx.h32 int smc_tx_sendmsg(struct smc_sock *smc, struct msghdr *msg, size_t len);
/net/sunrpc/
Dxprtsock.c347 xs_sock_recvmsg(struct socket *sock, struct msghdr *msg, int flags, size_t seek) in xs_sock_recvmsg()
357 xs_read_kvec(struct socket *sock, struct msghdr *msg, int flags, in xs_read_kvec()
365 xs_read_bvec(struct socket *sock, struct msghdr *msg, int flags, in xs_read_bvec()
374 xs_read_discard(struct socket *sock, struct msghdr *msg, int flags, in xs_read_discard()
402 xs_read_xdr_buf(struct socket *sock, struct msghdr *msg, int flags, in xs_read_xdr_buf()
487 struct msghdr *msg) in xs_read_stream_check_eor()
494 xs_read_stream_request(struct sock_xprt *transport, struct msghdr *msg, in xs_read_stream_request()
541 xs_read_stream_header(struct sock_xprt *transport, struct msghdr *msg, in xs_read_stream_header()
553 xs_read_stream_call(struct sock_xprt *transport, struct msghdr *msg, int flags) in xs_read_stream_call()
578 xs_read_stream_call(struct sock_xprt *transport, struct msghdr *msg, int flags) in xs_read_stream_call()
[all …]
/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.c653 static int unix_stream_sendmsg(struct socket *, struct msghdr *, size_t);
654 static int unix_stream_recvmsg(struct socket *, struct msghdr *, size_t, int);
660 static int unix_dgram_sendmsg(struct socket *, struct msghdr *, size_t);
661 static int unix_dgram_recvmsg(struct socket *, struct msghdr *, size_t, int);
664 static int unix_seqpacket_sendmsg(struct socket *, struct msghdr *, size_t);
665 static int unix_seqpacket_recvmsg(struct socket *, struct msghdr *, size_t,
1553 struct msghdr msg = { .msg_controllen = 0 }; in maybe_init_creds()
1581 static int unix_dgram_sendmsg(struct socket *sock, struct msghdr *msg, in unix_dgram_sendmsg()
1787 static int unix_stream_sendmsg(struct socket *sock, struct msghdr *msg, in unix_stream_sendmsg()
2002 static int unix_seqpacket_sendmsg(struct socket *sock, struct msghdr *msg, in unix_seqpacket_sendmsg()
[all …]
/net/rxrpc/
Doutput.c134 struct msghdr msg; in rxrpc_send_ack_packet()
259 struct msghdr msg; in rxrpc_send_abort_packet()
329 struct msghdr msg; in rxrpc_send_data_packet()
547 struct msghdr msg; in rxrpc_reject_packets()
621 struct msghdr msg; in rxrpc_send_keepalive()
Dsendmsg.c263 struct msghdr *msg, size_t len, in rxrpc_send_data()
460 static int rxrpc_sendmsg_cmsg(struct msghdr *msg, struct rxrpc_send_params *p) in rxrpc_sendmsg_cmsg()
566 rxrpc_new_client_call_for_sendmsg(struct rxrpc_sock *rx, struct msghdr *msg, in rxrpc_new_client_call_for_sendmsg()
609 int rxrpc_do_sendmsg(struct rxrpc_sock *rx, struct msghdr *msg, size_t len) in rxrpc_do_sendmsg()
765 struct msghdr *msg, size_t len, in rxrpc_kernel_send_data()
Drecvmsg.c64 static int rxrpc_recvmsg_term(struct rxrpc_call *call, struct msghdr *msg) in rxrpc_recvmsg_term()
111 struct msghdr *msg, int flags) in rxrpc_recvmsg_new_call()
309 struct msghdr *msg, struct iov_iter *iter, in rxrpc_recvmsg_data()
440 int rxrpc_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in rxrpc_recvmsg()
/net/tipc/
Dsocket.c138 static int __tipc_sendstream(struct socket *sock, struct msghdr *m, size_t dsz);
139 static int __tipc_sendmsg(struct socket *sock, struct msghdr *m, size_t dsz);
774 struct msghdr *msg, size_t dlen, long timeout) in tipc_sendmcast()
838 struct msghdr *m, struct tipc_member *mb, in tipc_send_group_msg()
888 static int tipc_send_group_unicast(struct socket *sock, struct msghdr *m, in tipc_send_group_unicast()
932 static int tipc_send_group_anycast(struct socket *sock, struct msghdr *m, in tipc_send_group_anycast()
1017 static int tipc_send_group_bcast(struct socket *sock, struct msghdr *m, in tipc_send_group_bcast()
1091 static int tipc_send_group_mcast(struct socket *sock, struct msghdr *m, in tipc_send_group_mcast()
1284 struct msghdr *m, size_t dsz) in tipc_sendmsg()
1296 static int __tipc_sendmsg(struct socket *sock, struct msghdr *m, size_t dlen) in __tipc_sendmsg()
[all …]
/net/nfc/
Dllcp.h247 struct msghdr *msg, size_t len);
249 struct msghdr *msg, size_t len);
/net/vmw_vsock/
Dhyperv_transport.c585 static int hvs_dgram_dequeue(struct vsock_sock *vsk, struct msghdr *msg, in hvs_dgram_dequeue()
592 struct sockaddr_vm *remote, struct msghdr *msg, in hvs_dgram_enqueue()
623 static ssize_t hvs_stream_dequeue(struct vsock_sock *vsk, struct msghdr *msg, in hvs_stream_dequeue()
663 static ssize_t hvs_stream_enqueue(struct vsock_sock *vsk, struct msghdr *msg, in hvs_stream_enqueue()
Dvirtio_transport_common.c272 struct msghdr *msg, in virtio_transport_stream_do_dequeue()
338 struct msghdr *msg, in virtio_transport_stream_dequeue()
350 struct msghdr *msg, in virtio_transport_dgram_dequeue()
647 struct msghdr *msg, in virtio_transport_dgram_enqueue()
656 struct msghdr *msg, in virtio_transport_stream_enqueue()
/net/ieee802154/
Dsocket.c92 static int ieee802154_sock_sendmsg(struct socket *sock, struct msghdr *msg, in ieee802154_sock_sendmsg()
241 static int raw_sendmsg(struct sock *sk, struct msghdr *msg, size_t size) in raw_sendmsg()
311 static int raw_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, in raw_recvmsg()
604 static int dgram_sendmsg(struct sock *sk, struct msghdr *msg, size_t size) in dgram_sendmsg()
702 static int dgram_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, in dgram_recvmsg()

12345