Home
last modified time | relevance | path

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

1234

/net/rds/
Drecv.c296 int rds_notify_queue_get(struct rds_sock *rs, struct msghdr *msghdr) in rds_notify_queue_get() argument
313 if (msghdr) { in rds_notify_queue_get()
314 max_messages = msghdr->msg_controllen / CMSG_SPACE(sizeof(cmsg)); in rds_notify_queue_get()
334 if (msghdr) { in rds_notify_queue_get()
338 err = put_cmsg(msghdr, SOL_RDS, RDS_CMSG_RDMA_STATUS, in rds_notify_queue_get()
363 static int rds_notify_cong(struct rds_sock *rs, struct msghdr *msghdr) in rds_notify_cong() argument
369 err = put_cmsg(msghdr, SOL_RDS, RDS_CMSG_CONG_UPDATE, in rds_notify_cong()
384 static int rds_cmsg_recv(struct rds_incoming *inc, struct msghdr *msg) in rds_cmsg_recv()
398 int rds_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, in rds_recvmsg()
Drds.h709 int rds_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg,
712 int rds_notify_queue_get(struct rds_sock *rs, struct msghdr *msg);
718 int rds_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg,
/net/sctp/
Dulpevent.c865 struct msghdr *msghdr) in sctp_ulpevent_read_sndrcvinfo() argument
885 put_cmsg(msghdr, IPPROTO_SCTP, SCTP_SNDRCV, in sctp_ulpevent_read_sndrcvinfo()
893 struct msghdr *msghdr) in sctp_ulpevent_read_rcvinfo() argument
910 put_cmsg(msghdr, IPPROTO_SCTP, SCTP_RCVINFO, in sctp_ulpevent_read_rcvinfo()
918 struct msghdr *msghdr, in __sctp_ulpevent_read_nxtinfo() argument
932 put_cmsg(msghdr, IPPROTO_SCTP, SCTP_NXTINFO, in __sctp_ulpevent_read_nxtinfo()
937 struct msghdr *msghdr, in sctp_ulpevent_read_nxtinfo() argument
946 msghdr, skb); in sctp_ulpevent_read_nxtinfo()
/net/
Dsocket.c648 struct msghdr *msg, size_t size) in __sock_sendmsg_nosec()
661 struct msghdr *msg, size_t size) in __sock_sendmsg()
668 int sock_sendmsg(struct socket *sock, struct msghdr *msg, size_t size) in sock_sendmsg()
683 static int sock_sendmsg_nosec(struct socket *sock, struct msghdr *msg, size_t size) in sock_sendmsg_nosec()
697 int kernel_sendmsg(struct socket *sock, struct msghdr *msg, in kernel_sendmsg()
719 void __sock_recv_timestamp(struct msghdr *msg, struct sock *sk, in __sock_recv_timestamp()
761 void __sock_recv_wifi_status(struct msghdr *msg, struct sock *sk, in __sock_recv_wifi_status()
777 static inline void sock_recv_drops(struct msghdr *msg, struct sock *sk, in sock_recv_drops()
785 void __sock_recv_ts_and_drops(struct msghdr *msg, struct sock *sk, in __sock_recv_ts_and_drops()
794 struct msghdr *msg, size_t size, int flags) in __sock_recvmsg_nosec()
[all …]
Dcompat.c62 int get_compat_msghdr(struct msghdr *kmsg, struct compat_msghdr __user *umsg) in get_compat_msghdr()
91 int verify_compat_iovec(struct msghdr *kern_msg, struct iovec *kern_iov, in verify_compat_iovec()
140 static inline struct compat_cmsghdr __user *cmsg_compat_nxthdr(struct msghdr *msg, in cmsg_compat_nxthdr()
154 int cmsghdr_from_user_compat_to_kern(struct msghdr *kmsg, struct sock *sk, in cmsghdr_from_user_compat_to_kern()
232 int put_cmsg_compat(struct msghdr *kmsg, int level, int type, int len, void *data) in put_cmsg_compat()
288 void scm_detach_fds_compat(struct msghdr *kmsg, struct scm_cookie *scm) in scm_detach_fds_compat()
749 return __sys_sendmsg(fd, (struct msghdr __user *)msg, flags | MSG_CMSG_COMPAT); in COMPAT_SYSCALL_DEFINE3()
761 return __sys_recvmsg(fd, (struct msghdr __user *)msg, flags | MSG_CMSG_COMPAT); in COMPAT_SYSCALL_DEFINE3()
/net/atm/
Dcommon.h16 int vcc_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg,
18 int vcc_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *m,
/net/ipv6/
Dudp_impl.h26 int udpv6_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
28 int udpv6_recvmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
Dping.c59 static int dummy_ipv6_recv_error(struct sock *sk, struct msghdr *msg, int len, in dummy_ipv6_recv_error()
64 static void dummy_ip6_datagram_recv_ctl(struct sock *sk, struct msghdr *msg, in dummy_ip6_datagram_recv_ctl()
80 int ping_v6_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg, in ping_v6_sendmsg()
Ddatagram.c348 int ipv6_recv_error(struct sock *sk, struct msghdr *msg, int len, int *addr_len) in ipv6_recv_error()
441 int ipv6_recv_rxpmtu(struct sock *sk, struct msghdr *msg, int len, in ipv6_recv_rxpmtu()
489 void ip6_datagram_recv_common_ctl(struct sock *sk, struct msghdr *msg, in ip6_datagram_recv_common_ctl()
511 void ip6_datagram_recv_specific_ctl(struct sock *sk, struct msghdr *msg, in ip6_datagram_recv_specific_ctl()
636 void ip6_datagram_recv_ctl(struct sock *sk, struct msghdr *msg, in ip6_datagram_recv_ctl()
645 struct msghdr *msg, struct flowi6 *fl6, in ip6_datagram_send_ctl()
/net/rxrpc/
Dar-output.c29 struct msghdr *msg, size_t len);
34 static int rxrpc_sendmsg_cmsg(struct rxrpc_sock *rx, struct msghdr *msg, in rxrpc_sendmsg_cmsg()
133 struct rxrpc_transport *trans, struct msghdr *msg, in rxrpc_client_sendmsg()
213 int rxrpc_kernel_send_data(struct rxrpc_call *call, struct msghdr *msg, in rxrpc_kernel_send_data()
278 struct msghdr *msg, size_t len) in rxrpc_server_sendmsg()
341 struct msghdr msg; in rxrpc_send_packet()
529 struct msghdr *msg, size_t len) in rxrpc_send_data()
Dar-internal.h552 struct rxrpc_transport *, struct msghdr *, size_t);
553 int rxrpc_server_sendmsg(struct kiocb *, struct rxrpc_sock *, struct msghdr *,
575 int rxrpc_recvmsg(struct kiocb *, struct socket *, struct msghdr *, size_t,
Dar-connevent.c64 struct msghdr msg; in rxrpc_abort_connection()
341 struct msghdr msg; in rxrpc_reject_packets()
/net/ipv4/
Dip_sockglue.c60 static void ip_cmsg_recv_pktinfo(struct msghdr *msg, struct sk_buff *skb) in ip_cmsg_recv_pktinfo()
69 static void ip_cmsg_recv_ttl(struct msghdr *msg, struct sk_buff *skb) in ip_cmsg_recv_ttl()
75 static void ip_cmsg_recv_tos(struct msghdr *msg, struct sk_buff *skb) in ip_cmsg_recv_tos()
80 static void ip_cmsg_recv_opts(struct msghdr *msg, struct sk_buff *skb) in ip_cmsg_recv_opts()
90 static void ip_cmsg_recv_retopts(struct msghdr *msg, struct sk_buff *skb) in ip_cmsg_recv_retopts()
107 static void ip_cmsg_recv_security(struct msghdr *msg, struct sk_buff *skb) in ip_cmsg_recv_security()
125 static void ip_cmsg_recv_dstaddr(struct msghdr *msg, struct sk_buff *skb) in ip_cmsg_recv_dstaddr()
147 void ip_cmsg_recv(struct msghdr *msg, struct sk_buff *skb) in ip_cmsg_recv()
189 int ip_cmsg_send(struct net *net, struct msghdr *msg, struct ipcm_cookie *ipc, in ip_cmsg_send()
405 int ip_recv_error(struct sock *sk, struct msghdr *msg, int len, int *addr_len) in ip_recv_error()
[all …]
Dudp_impl.h24 int udp_recvmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
/net/core/
Dscm.c127 int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *p) in __scm_send()
210 int put_cmsg(struct msghdr * msg, int level, int type, int len, void *data) in put_cmsg()
249 void scm_detach_fds(struct msghdr *msg, struct scm_cookie *scm) in scm_detach_fds()
Diovec.c38 int verify_iovec(struct msghdr *m, struct iovec *iov, struct sockaddr_storage *address, int mode) in verify_iovec()
/net/phonet/
Ddatagram.c87 struct msghdr *msg, size_t len) in pn_sendmsg()
129 struct msghdr *msg, size_t len, int noblock, in pn_recvmsg()
/net/ieee802154/
Draw.c110 struct msghdr *msg, size_t size) in raw_sendmsg()
181 static int raw_recvmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg, in raw_recvmsg()
/net/unix/
Daf_unix.c634 struct msghdr *, size_t);
636 struct msghdr *, size_t, int);
638 struct msghdr *, size_t);
640 struct msghdr *, size_t, int);
644 struct msghdr *, size_t);
646 struct msghdr *, size_t, int);
1579 struct msghdr *msg, size_t len) in unix_dgram_sendmsg()
1793 struct msghdr *msg, size_t len) in unix_stream_sendmsg()
1902 struct msghdr *msg, size_t len) in unix_seqpacket_sendmsg()
1921 struct msghdr *msg, size_t size, in unix_seqpacket_recvmsg()
[all …]
/net/nfc/
Dllcp.h259 struct msghdr *msg, size_t len);
261 struct msghdr *msg, size_t len);
Drawsock.c215 struct msghdr *msg, size_t len) in rawsock_sendmsg()
252 struct msghdr *msg, size_t len, int flags) in rawsock_recvmsg()
/net/tipc/
Dsocket.c831 static int dest_name_check(struct sockaddr_tipc *dest, struct msghdr *m) in dest_name_check()
894 struct msghdr *m, size_t dsz) in tipc_sendmsg()
1049 struct msghdr *m, size_t dsz) in tipc_send_stream()
1132 struct msghdr *m, size_t dsz) in tipc_send_packet()
1168 static void set_orig_addr(struct msghdr *m, struct tipc_msg *msg) in set_orig_addr()
1194 static int tipc_sk_anc_data_recv(struct msghdr *m, struct tipc_msg *msg, in tipc_sk_anc_data_recv()
1319 struct msghdr *m, size_t buf_len, int flags) in tipc_recvmsg()
1415 struct msghdr *m, size_t buf_len, int flags) in tipc_recv_stream()
1838 struct msghdr m = {NULL,}; in tipc_connect()
2029 struct msghdr m = {NULL,}; in tipc_accept()
/net/bluetooth/bnep/
Dbnep.h161 struct msghdr msg;
/net/can/
Dbcm.c829 static int bcm_tx_setup(struct bcm_msg_head *msg_head, struct msghdr *msg, in bcm_tx_setup()
988 static int bcm_rx_setup(struct bcm_msg_head *msg_head, struct msghdr *msg, in bcm_rx_setup()
1196 static int bcm_tx_send(struct msghdr *msg, int ifindex, struct sock *sk) in bcm_tx_send()
1240 struct msghdr *msg, size_t size) in bcm_sendmsg()
1544 struct msghdr *msg, size_t size, int flags) in bcm_recvmsg()
/net/caif/
Dcaif_socket.c275 struct msghdr *m, size_t len, int flags) in caif_seqpkt_recvmsg()
351 struct msghdr *msg, size_t size, in caif_stream_recvmsg()
523 struct msghdr *msg, size_t len) in caif_seqpkt_sendmsg()
598 struct msghdr *msg, size_t len) in caif_stream_sendmsg()

1234