Home
last modified time | relevance | path

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

12

/include/net/
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,
Dcompat.h49 int __get_compat_msghdr(struct msghdr *kmsg, struct compat_msghdr __user *umsg,
52 int get_compat_msghdr(struct msghdr *, struct compat_msghdr __user *,
54 int put_cmsg_compat(struct msghdr*, int, int, int, void *);
56 int cmsghdr_from_user_compat_to_kern(struct msghdr *, struct sock *,
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()
114 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec()
123 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,
54 int inet_recv_error(struct sock *sk, struct msghdr *msg, int len,
Daf_vsock.h120 int (*dgram_dequeue)(struct vsock_sock *vsk, struct msghdr *msg,
123 struct msghdr *, size_t len);
128 ssize_t (*stream_dequeue)(struct vsock_sock *, struct msghdr *,
130 ssize_t (*stream_enqueue)(struct vsock_sock *, struct msghdr *,
139 ssize_t (*seqpacket_dequeue)(struct vsock_sock *vsk, struct msghdr *msg,
141 int (*seqpacket_enqueue)(struct vsock_sock *vsk, struct msghdr *msg,
Daf_unix.h96 int __unix_dgram_recvmsg(struct sock *sk, struct msghdr *msg, size_t size,
98 int __unix_stream_recvmsg(struct sock *sk, struct msghdr *msg, size_t size,
Daf_rxrpc.h53 struct msghdr *, size_t,
Dudplite.h23 struct msghdr *msg = from; in udplite_getfrag()
Dsock.h1225 int (*sendmsg)(struct sock *sk, struct msghdr *msg,
1227 int (*recvmsg)(struct sock *sk, struct msghdr *msg,
1833 int __sock_cmsg_send(struct sock *sk, struct msghdr *msg, struct cmsghdr *cmsg,
1835 int sock_cmsg_send(struct sock *sk, struct msghdr *msg,
1850 int sock_no_sendmsg(struct socket *, struct msghdr *, size_t);
1851 int sock_no_sendmsg_locked(struct sock *sk, struct msghdr *msg, size_t len);
1852 int sock_no_recvmsg(struct socket *, struct msghdr *, size_t, int);
1866 int sock_common_recvmsg(struct socket *sock, struct msghdr *msg, size_t size,
2620 void __sock_recv_timestamp(struct msghdr *msg, struct sock *sk,
2622 void __sock_recv_wifi_status(struct msghdr *msg, struct sock *sk,
[all …]
Dtls.h382 int tls_sw_sendmsg(struct sock *sk, struct msghdr *msg, size_t size);
393 int tls_sw_recvmsg(struct sock *sk, struct msghdr *msg, size_t len,
400 int tls_device_sendmsg(struct sock *sk, struct msghdr *msg, size_t size);
715 int tls_proccess_cmsg(struct sock *sk, struct msghdr *msg,
Dip.h145 struct msghdr;
760 void ip_cmsg_recv_offset(struct msghdr *msg, struct sock *sk,
762 int ip_cmsg_send(struct sock *sk, struct msghdr *msg,
771 int ip_recv_error(struct sock *sk, struct msghdr *msg, int len, int *addr_len);
777 static inline void ip_cmsg_recv(struct msghdr *msg, struct sk_buff *skb) in ip_cmsg_recv()
Dudp.h294 int udp_sendmsg(struct sock *sk, struct msghdr *msg, size_t len);
297 int udp_cmsg_send(struct sock *sk, struct msghdr *msg, u16 *gso_size);
Dipv6.h1108 int ipv6_recv_error(struct sock *sk, struct msghdr *msg, int len,
1110 int ipv6_recv_rxpmtu(struct sock *sk, struct msghdr *msg, int len,
1129 int inet6_sendmsg(struct socket *sock, struct msghdr *msg, size_t size);
1130 int inet6_recvmsg(struct socket *sock, struct msghdr *msg, size_t size,
Dtcp.h319 int tcp_sendmsg(struct sock *sk, struct msghdr *msg, size_t size);
320 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,
410 void tcp_recv_timestamp(struct msghdr *msg, const struct sock *sk,
466 int tcp_send_rcvq(struct sock *sk, struct msghdr *msg, size_t size);
1714 struct msghdr *data; /* data in MSG_FASTOPEN */
/include/linux/
Dvirtio_vsock.h59 struct msghdr *msg;
77 struct msghdr *msg,
82 struct msghdr *msg,
87 struct msghdr *msg,
91 struct msghdr *msg,
142 struct msghdr *msg,
147 struct msghdr *msg,
Dsocket.h50 struct msghdr { struct
153 static inline struct cmsghdr * cmsg_nxthdr (struct msghdr *__msg, struct cmsghdr *__cmsg) in cmsg_nxthdr()
158 static inline size_t msg_data_left(struct msghdr *msg) in msg_data_left()
372 extern int put_cmsg(struct msghdr*, int level, int type, int len, void *data);
382 extern void put_cmsg_scm_timestamping64(struct msghdr *msg, struct scm_timestamping_internal *tss);
383 extern void put_cmsg_scm_timestamping(struct msghdr *msg, struct scm_timestamping_internal *tss);
399 extern long __sys_sendmsg_sock(struct socket *sock, struct msghdr *msg,
401 extern long __sys_recvmsg_sock(struct socket *sock, struct msghdr *msg,
405 extern int sendmsg_copy_msghdr(struct msghdr *msg,
408 extern int recvmsg_copy_msghdr(struct msghdr *msg,
[all …]
Dvmw_vmci_api.h19 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,
Dnet.h132 struct msghdr;
173 int (*sendmsg) (struct socket *sock, struct msghdr *m,
183 int (*recvmsg) (struct socket *sock, struct msghdr *m,
201 int (*sendmsg_locked)(struct sock *sk, struct msghdr *msg,
242 int sock_sendmsg(struct socket *sock, struct msghdr *msg);
243 int sock_recvmsg(struct socket *sock, struct msghdr *msg, int flags);
311 int kernel_sendmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec,
313 int kernel_sendmsg_locked(struct sock *sk, struct msghdr *msg,
315 int kernel_recvmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec,
Dudp.h124 static inline void udp_cmsg_recv(struct msghdr *msg, struct sock *sk, in udp_cmsg_recv()
Dsecurity.h172 struct msghdr;
1405 int security_socket_sendmsg(struct socket *sock, struct msghdr *msg, int size);
1406 int security_socket_recvmsg(struct socket *sock, struct msghdr *msg,
1505 struct msghdr *msg, int size) in security_socket_sendmsg()
1511 struct msghdr *msg, int size, in security_socket_recvmsg()
Dlsm_hook_defs.h297 LSM_HOOK(int, 0, socket_sendmsg, struct socket *sock, struct msghdr *msg,
299 LSM_HOOK(int, 0, socket_recvmsg, struct socket *sock, struct msghdr *msg,
/include/net/sctp/
Dulpevent.h146 struct msghdr *);
148 struct msghdr *);
150 struct msghdr *, struct sock *sk);
/include/net/bluetooth/
Dbluetooth.h297 void (*skb_put_cmsg)(struct sk_buff *, struct msghdr *, struct sock *);
317 int bt_sock_recvmsg(struct socket *sock, struct msghdr *msg, size_t len,
319 int bt_sock_stream_recvmsg(struct socket *sock, struct msghdr *msg,
427 struct msghdr *msg, in bt_skb_sendmsg()
457 struct msghdr *msg, in bt_skb_sendmmsg()
/include/crypto/
Dif_alg.h236 int af_alg_sendmsg(struct socket *sock, struct msghdr *msg, size_t size,
246 int af_alg_get_rsgl(struct sock *sk, struct msghdr *msg, int flags,

12