Home
last modified time | relevance | path

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

12

/include/net/
Dcompat.h37 #define compat_msghdr msghdr
41 int get_compat_msghdr(struct msghdr *, struct compat_msghdr __user *,
44 int put_cmsg_compat(struct msghdr*, int, int, int, void *);
46 int cmsghdr_from_user_compat_to_kern(struct msghdr *, struct sock *,
Dping.h30 int (*ipv6_recv_error)(struct sock *sk, struct msghdr *msg, int len,
33 struct msghdr *msg,
36 struct msghdr *msg,
58 struct msghdr *msg;
74 int ping_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int noblock,
76 int ping_common_sendmsg(int family, struct msghdr *msg, size_t len,
Dtransp_v6.h37 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,
Dscm.h40 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm);
41 void scm_detach_fds_compat(struct msghdr *msg, struct scm_cookie *scm);
42 int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm);
78 static __inline__ int scm_send(struct socket *sock, struct msghdr *msg, in scm_send()
93 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec()
109 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec()
113 static __inline__ void scm_recv(struct socket *sock, struct msghdr *msg, in scm_recv()
Dinet_common.h14 struct msghdr;
29 int inet_sendmsg(struct socket *sock, struct msghdr *msg, size_t size);
32 int inet_recvmsg(struct socket *sock, struct msghdr *msg, size_t size,
46 int inet_recv_error(struct sock *sk, struct msghdr *msg, int len,
Daf_vsock.h105 int (*dgram_dequeue)(struct vsock_sock *vsk, struct msghdr *msg,
108 struct msghdr *, size_t len);
113 ssize_t (*stream_dequeue)(struct vsock_sock *, struct msghdr *,
115 ssize_t (*stream_enqueue)(struct vsock_sock *, struct msghdr *,
Daf_rxrpc.h47 struct msghdr *, size_t,
Dtls.h357 int tls_sw_sendmsg(struct sock *sk, struct msghdr *msg, size_t size);
368 int tls_sw_recvmsg(struct sock *sk, struct msghdr *msg, size_t len,
375 int tls_device_sendmsg(struct sock *sk, struct msghdr *msg, size_t size);
650 int tls_proccess_cmsg(struct sock *sk, struct msghdr *msg,
Dsock.h1110 int (*sendmsg)(struct sock *sk, struct msghdr *msg,
1112 int (*recvmsg)(struct sock *sk, struct msghdr *msg,
1653 int __sock_cmsg_send(struct sock *sk, struct msghdr *msg, struct cmsghdr *cmsg,
1655 int sock_cmsg_send(struct sock *sk, struct msghdr *msg,
1672 int sock_no_sendmsg(struct socket *, struct msghdr *, size_t);
1673 int sock_no_sendmsg_locked(struct sock *sk, struct msghdr *msg, size_t len);
1674 int sock_no_recvmsg(struct socket *, struct msghdr *, size_t, int);
1688 int sock_common_recvmsg(struct socket *sock, struct msghdr *msg, size_t size,
2365 void __sock_recv_timestamp(struct msghdr *msg, struct sock *sk,
2367 void __sock_recv_wifi_status(struct msghdr *msg, struct sock *sk,
[all …]
Dudplite.h23 struct msghdr *msg = from; in udplite_getfrag()
Dipx.h155 struct msghdr *msg, size_t len, int noblock);
Dip.h139 struct msghdr;
738 void ip_cmsg_recv_offset(struct msghdr *msg, struct sock *sk,
740 int ip_cmsg_send(struct sock *sk, struct msghdr *msg,
753 int ip_recv_error(struct sock *sk, struct msghdr *msg, int len, int *addr_len);
759 static inline void ip_cmsg_recv(struct msghdr *msg, struct sk_buff *skb) in ip_cmsg_recv()
Dudp.h284 int udp_sendmsg(struct sock *sk, struct msghdr *msg, size_t len);
287 int udp_cmsg_send(struct sock *sk, struct msghdr *msg, u16 *gso_size);
Dtcp.h323 int tcp_sendmsg(struct sock *sk, struct msghdr *msg, size_t size);
324 int tcp_sendmsg_locked(struct sock *sk, struct msghdr *msg, size_t size);
404 int tcp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int nonblock,
459 int tcp_send_rcvq(struct sock *sk, struct msghdr *msg, size_t size);
1630 struct msghdr *data; /* data in MSG_FASTOPEN */
2165 int tcp_bpf_recvmsg(struct sock *sk, struct msghdr *msg, size_t len,
2168 struct msghdr *msg, int len, int flags);
/include/linux/
Dvmw_vmci_api.h19 struct msghdr;
69 struct msghdr *msg, size_t iov_size, int mode);
71 struct msghdr *msg, size_t iov_size, int mode);
72 ssize_t vmci_qpair_peekv(struct vmci_qp *qpair, struct msghdr *msg, size_t iov_size,
Dvirtio_vsock.h64 struct msghdr *msg;
82 struct msghdr *msg,
87 struct msghdr *msg,
143 struct msghdr *msg,
148 struct msghdr *msg,
Dnet.h129 struct msghdr;
174 int (*sendmsg) (struct socket *sock, struct msghdr *m,
184 int (*recvmsg) (struct socket *sock, struct msghdr *m,
202 int (*sendmsg_locked)(struct sock *sk, struct msghdr *msg,
238 int sock_sendmsg(struct socket *sock, struct msghdr *msg);
239 int sock_recvmsg(struct socket *sock, struct msghdr *msg, int flags);
291 int kernel_sendmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec,
293 int kernel_sendmsg_locked(struct sock *sk, struct msghdr *msg,
295 int kernel_recvmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec,
Dsocket.h49 struct msghdr { struct
139 static inline struct cmsghdr * cmsg_nxthdr (struct msghdr *__msg, struct cmsghdr *__cmsg) in cmsg_nxthdr()
144 static inline size_t msg_data_left(struct msghdr *msg) in msg_data_left()
354 extern int put_cmsg(struct msghdr*, int level, int type, int len, void *data);
364 extern void put_cmsg_scm_timestamping64(struct msghdr *msg, struct scm_timestamping_internal *tss);
365 extern void put_cmsg_scm_timestamping(struct msghdr *msg, struct scm_timestamping_internal *tss);
Dudp.h121 static inline void udp_cmsg_recv(struct msghdr *msg, struct sock *sk, in udp_cmsg_recv()
Dsecurity.h159 struct msghdr;
1287 int security_socket_sendmsg(struct socket *sock, struct msghdr *msg, int size);
1288 int security_socket_recvmsg(struct socket *sock, struct msghdr *msg,
1386 struct msghdr *msg, int size) in security_socket_sendmsg()
1392 struct msghdr *msg, int size, in security_socket_recvmsg()
Dlsm_hooks.h1717 int (*socket_sendmsg)(struct socket *sock, struct msghdr *msg,
1719 int (*socket_recvmsg)(struct socket *sock, struct msghdr *msg,
/include/net/sctp/
Dulpevent.h144 struct msghdr *);
146 struct msghdr *);
148 struct msghdr *, struct sock *sk);
Dsm.h211 struct msghdr *msg, size_t msg_len);
/include/crypto/
Dif_alg.h230 int af_alg_sendmsg(struct socket *sock, struct msghdr *msg, size_t size,
240 int af_alg_get_rsgl(struct sock *sk, struct msghdr *msg, int flags,
/include/net/bluetooth/
Dbluetooth.h270 int bt_sock_recvmsg(struct socket *sock, struct msghdr *msg, size_t len,
272 int bt_sock_stream_recvmsg(struct socket *sock, struct msghdr *msg,

12