/linux-6.6.21/include/net/ |
D | scm.h | 41 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm); 42 void scm_detach_fds_compat(struct msghdr *msg, struct scm_cookie *scm); 43 int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm); 79 static __inline__ int scm_send(struct socket *sock, struct msghdr *msg, in scm_send() 94 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec() 115 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec() 124 static __inline__ void scm_pidfd_recv(struct msghdr *msg, struct scm_cookie *scm) in scm_pidfd_recv() 160 static inline bool __scm_recv_common(struct socket *sock, struct msghdr *msg, in __scm_recv_common() 190 static inline void scm_recv(struct socket *sock, struct msghdr *msg, in scm_recv() 199 static inline void scm_recv_unix(struct socket *sock, struct msghdr *msg, in scm_recv_unix()
|
D | ping.h | 23 int (*ipv6_recv_error)(struct sock *sk, struct msghdr *msg, int len, 26 struct msghdr *msg, 29 struct msghdr *msg, 51 struct msghdr *msg; 67 int ping_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, 69 int ping_common_sendmsg(int family, struct msghdr *msg, size_t len,
|
D | af_vsock.h | 123 int (*dgram_dequeue)(struct vsock_sock *vsk, struct msghdr *msg, 126 struct msghdr *, size_t len); 131 ssize_t (*stream_dequeue)(struct vsock_sock *, struct msghdr *, 133 ssize_t (*stream_enqueue)(struct vsock_sock *, struct msghdr *, 142 ssize_t (*seqpacket_dequeue)(struct vsock_sock *vsk, struct msghdr *msg, 144 int (*seqpacket_enqueue)(struct vsock_sock *vsk, struct msghdr *msg, 230 int vsock_connectible_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, 232 int vsock_dgram_recvmsg(struct socket *sock, struct msghdr *msg,
|
D | transp_v6.h | 37 void ip6_datagram_recv_ctl(struct sock *sk, struct msghdr *msg, 39 void ip6_datagram_recv_common_ctl(struct sock *sk, struct msghdr *msg, 41 void ip6_datagram_recv_specific_ctl(struct sock *sk, struct msghdr *msg, 44 int ip6_datagram_send_ctl(struct net *net, struct sock *sk, struct msghdr *msg,
|
D | compat.h | 49 int __get_compat_msghdr(struct msghdr *kmsg, struct compat_msghdr *msg, 51 int get_compat_msghdr(struct msghdr *, struct compat_msghdr __user *, 53 int put_cmsg_compat(struct msghdr*, int, int, int, void *); 55 int cmsghdr_from_user_compat_to_kern(struct msghdr *, struct sock *,
|
D | inet_common.h | 18 struct msghdr; 37 int inet_sendmsg(struct socket *sock, struct msghdr *msg, size_t size); 39 int inet_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, 63 int inet_recv_error(struct sock *sk, struct msghdr *msg, int len,
|
/linux-6.6.21/include/linux/ |
D | socket.h | 55 struct msghdr { struct 165 static inline struct cmsghdr * cmsg_nxthdr (struct msghdr *__msg, struct cmsghdr *__cmsg) in cmsg_nxthdr() 170 static inline size_t msg_data_left(struct msghdr *msg) in msg_data_left() 392 extern int put_cmsg(struct msghdr*, int level, int type, int len, void *data); 402 extern void put_cmsg_scm_timestamping64(struct msghdr *msg, struct scm_timestamping_internal *tss); 403 extern void put_cmsg_scm_timestamping(struct msghdr *msg, struct scm_timestamping_internal *tss); 419 extern long __sys_sendmsg_sock(struct socket *sock, struct msghdr *msg, 421 extern long __sys_recvmsg_sock(struct socket *sock, struct msghdr *msg, 425 extern int sendmsg_copy_msghdr(struct msghdr *msg, 428 extern int recvmsg_copy_msghdr(struct msghdr *msg, [all …]
|
D | net.h | 153 struct msghdr; 196 int (*sendmsg) (struct socket *sock, struct msghdr *m, 206 int (*recvmsg) (struct socket *sock, struct msghdr *m, 223 int (*sendmsg_locked)(struct sock *sk, struct msghdr *msg, 259 int sock_sendmsg(struct socket *sock, struct msghdr *msg); 260 int sock_recvmsg(struct socket *sock, struct msghdr *msg, int flags); 326 int kernel_sendmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec, 328 int kernel_sendmsg_locked(struct sock *sk, struct msghdr *msg, 330 int kernel_recvmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec,
|
D | virtio_vsock.h | 148 struct msghdr *msg; 166 struct msghdr *msg, 171 struct msghdr *msg, 176 struct msghdr *msg, 180 struct msghdr *msg, 231 struct msghdr *msg, 236 struct msghdr *msg,
|
D | vmw_vmci_api.h | 19 struct msghdr; 71 struct msghdr *msg, size_t iov_size, int mode); 73 struct msghdr *msg, size_t iov_size, int mode); 74 ssize_t vmci_qpair_peekv(struct vmci_qp *qpair, struct msghdr *msg, size_t iov_size,
|
/linux-6.6.21/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 55 struct msghdr { struct 165 static inline struct cmsghdr * cmsg_nxthdr (struct msghdr *__msg, struct cmsghdr *__cmsg) in cmsg_nxthdr() 170 static inline size_t msg_data_left(struct msghdr *msg) in msg_data_left() 391 extern int put_cmsg(struct msghdr*, int level, int type, int len, void *data); 401 extern void put_cmsg_scm_timestamping64(struct msghdr *msg, struct scm_timestamping_internal *tss); 402 extern void put_cmsg_scm_timestamping(struct msghdr *msg, struct scm_timestamping_internal *tss); 418 extern long __sys_sendmsg_sock(struct socket *sock, struct msghdr *msg, 420 extern long __sys_recvmsg_sock(struct socket *sock, struct msghdr *msg, 424 extern int sendmsg_copy_msghdr(struct msghdr *msg, 427 extern int recvmsg_copy_msghdr(struct msghdr *msg, [all …]
|
/linux-6.6.21/drivers/net/ethernet/brocade/bna/ |
D | bna_enet.c | 77 struct bfi_msgq_mhdr *msghdr) in bna_bfi_ethport_enable_aen() argument 87 struct bfi_msgq_mhdr *msghdr) in bna_bfi_ethport_disable_aen() argument 99 struct bfi_msgq_mhdr *msghdr) in bna_bfi_ethport_admin_rsp() argument 104 container_of(msghdr, struct bfi_enet_rsp, mh); in bna_bfi_ethport_admin_rsp() 126 struct bfi_msgq_mhdr *msghdr) in bna_bfi_ethport_lpbk_rsp() argument 131 container_of(msghdr, struct bfi_enet_rsp, mh); in bna_bfi_ethport_lpbk_rsp() 150 bna_bfi_pause_set_rsp(struct bna_enet *enet, struct bfi_msgq_mhdr *msghdr) in bna_bfi_pause_set_rsp() argument 157 struct bfi_msgq_mhdr *msghdr) in bna_bfi_attr_get_rsp() argument 160 container_of(msghdr, struct bfi_enet_attr_rsp, mh); in bna_bfi_attr_get_rsp() 179 bna_bfi_stats_get_rsp(struct bna *bna, struct bfi_msgq_mhdr *msghdr) in bna_bfi_stats_get_rsp() argument [all …]
|
D | bna.h | 255 void bna_bfi_stats_clr_rsp(struct bna *bna, struct bfi_msgq_mhdr *msghdr); 290 struct bfi_msgq_mhdr *msghdr); 292 struct bfi_msgq_mhdr *msghdr); 323 struct bfi_msgq_mhdr *msghdr); 325 struct bfi_msgq_mhdr *msghdr); 326 void bna_bfi_rxf_cfg_rsp(struct bna_rxf *rxf, struct bfi_msgq_mhdr *msghdr); 328 struct bfi_msgq_mhdr *msghdr); 330 struct bfi_msgq_mhdr *msghdr);
|
/linux-6.6.21/net/rds/ |
D | recv.c | 451 int rds_notify_queue_get(struct rds_sock *rs, struct msghdr *msghdr) in rds_notify_queue_get() argument 469 if (msghdr) { in rds_notify_queue_get() 470 max_messages = msghdr->msg_controllen / CMSG_SPACE(sizeof(cmsg)); in rds_notify_queue_get() 490 if (msghdr) { in rds_notify_queue_get() 494 err = put_cmsg(msghdr, SOL_RDS, RDS_CMSG_RDMA_STATUS, in rds_notify_queue_get() 519 static int rds_notify_cong(struct rds_sock *rs, struct msghdr *msghdr) in rds_notify_cong() argument 525 err = put_cmsg(msghdr, SOL_RDS, RDS_CMSG_CONG_UPDATE, in rds_notify_cong() 540 static int rds_cmsg_recv(struct rds_incoming *inc, struct msghdr *msg, in rds_cmsg_recv() 599 static bool rds_recvmsg_zcookie(struct rds_sock *rs, struct msghdr *msg) in rds_recvmsg_zcookie() 634 int rds_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, in rds_recvmsg()
|
/linux-6.6.21/net/core/ |
D | scm.c | 137 int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *p) in __scm_send() 220 int put_cmsg(struct msghdr * msg, int level, int type, int len, void *data) in put_cmsg() 274 void put_cmsg_scm_timestamping64(struct msghdr *msg, struct scm_timestamping_internal *tss_internal) in put_cmsg_scm_timestamping64() 288 void put_cmsg_scm_timestamping(struct msghdr *msg, struct scm_timestamping_internal *tss_internal) in put_cmsg_scm_timestamping() 302 static int scm_max_fds(struct msghdr *msg) in scm_max_fds() 309 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm) in scm_detach_fds()
|
/linux-6.6.21/net/sctp/ |
D | ulpevent.c | 988 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()
|
/linux-6.6.21/drivers/xen/ |
D | pvcalls-front.h | 17 struct msghdr *msg, 20 struct msghdr *msg,
|
/linux-6.6.21/net/ipv4/ |
D | tcp_bpf.c | 91 struct msghdr msghdr = {}; in tcp_bpf_push() local 110 msghdr.msg_flags = flags | MSG_SPLICE_PAGES; in tcp_bpf_push() 113 msghdr.msg_flags |= MSG_SENDPAGE_NOPOLICY; in tcp_bpf_push() 116 msghdr.msg_flags |= MSG_MORE; in tcp_bpf_push() 119 iov_iter_bvec(&msghdr.msg_iter, ITER_SOURCE, &bvec, 1, size); in tcp_bpf_push() 120 ret = tcp_sendmsg_locked(sk, &msghdr, size); in tcp_bpf_push() 219 struct msghdr *msg, in tcp_bpf_recvmsg_parser() 331 static int tcp_bpf_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, in tcp_bpf_recvmsg() 495 static int tcp_bpf_sendmsg(struct sock *sk, struct msghdr *msg, size_t size) in tcp_bpf_sendmsg()
|
/linux-6.6.21/net/ipv6/ |
D | udp_impl.h | 23 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 flags,
|
/linux-6.6.21/net/sunrpc/ |
D | socklib.c | 206 static inline int xprt_sendmsg(struct socket *sock, struct msghdr *msg, in xprt_sendmsg() 214 static int xprt_send_kvec(struct socket *sock, struct msghdr *msg, in xprt_send_kvec() 221 static int xprt_send_pagedata(struct socket *sock, struct msghdr *msg, in xprt_send_pagedata() 234 static int xprt_send_rm_and_kvec(struct socket *sock, struct msghdr *msg, in xprt_send_rm_and_kvec() 264 int xprt_sock_sendmsg(struct socket *sock, struct msghdr *msg, in xprt_sock_sendmsg()
|
/linux-6.6.21/net/ |
D | socket.c | 717 INDIRECT_CALLABLE_DECLARE(int inet_sendmsg(struct socket *, struct msghdr *, 719 INDIRECT_CALLABLE_DECLARE(int inet6_sendmsg(struct socket *, struct msghdr *, 728 static inline int sock_sendmsg_nosec(struct socket *sock, struct msghdr *msg) in sock_sendmsg_nosec() 740 static int __sock_sendmsg(struct socket *sock, struct msghdr *msg) in __sock_sendmsg() 756 int sock_sendmsg(struct socket *sock, struct msghdr *msg) in sock_sendmsg() 788 int kernel_sendmsg(struct socket *sock, struct msghdr *msg, in kernel_sendmsg() 809 int kernel_sendmsg_locked(struct sock *sk, struct msghdr *msg, in kernel_sendmsg_locked() 867 static void put_ts_pktinfo(struct msghdr *msg, struct sk_buff *skb, in put_ts_pktinfo() 895 void __sock_recv_timestamp(struct msghdr *msg, struct sock *sk, in __sock_recv_timestamp() 988 void __sock_recv_wifi_status(struct msghdr *msg, struct sock *sk, in __sock_recv_wifi_status() [all …]
|
/linux-6.6.21/net/atm/ |
D | common.h | 17 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);
|
/linux-6.6.21/include/net/sctp/ |
D | ulpevent.h | 146 struct msghdr *); 148 struct msghdr *); 150 struct msghdr *, struct sock *sk);
|
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/af/ |
D | mbox.c | 269 struct mbox_msghdr *msghdr = NULL; in otx2_mbox_alloc_msg_rsp() local 284 msghdr = mdev->mbase + mbox->tx_start + msgs_offset + mdev->msg_size; in otx2_mbox_alloc_msg_rsp() 287 memset(msghdr, 0, size); in otx2_mbox_alloc_msg_rsp() 289 msghdr->ver = OTX2_MBOX_VERSION; in otx2_mbox_alloc_msg_rsp() 292 msghdr->next_msgoff = mdev->msg_size + msgs_offset; in otx2_mbox_alloc_msg_rsp() 296 return msghdr; in otx2_mbox_alloc_msg_rsp()
|
/linux-6.6.21/crypto/ |
D | algif_skcipher.c | 37 static int skcipher_sendmsg(struct socket *sock, struct msghdr *msg, in skcipher_sendmsg() 50 static int _skcipher_recvmsg(struct socket *sock, struct msghdr *msg, in _skcipher_recvmsg() 149 static int skcipher_recvmsg(struct socket *sock, struct msghdr *msg, in skcipher_recvmsg() 236 static int skcipher_sendmsg_nokey(struct socket *sock, struct msghdr *msg, in skcipher_sendmsg_nokey() 248 static int skcipher_recvmsg_nokey(struct socket *sock, struct msghdr *msg, in skcipher_recvmsg_nokey()
|