Lines Matching refs:outmsg
36 struct msghdr outmsg; in sctp_sendmsg() local
42 outmsg.msg_name = to; in sctp_sendmsg()
43 outmsg.msg_namelen = tolen; in sctp_sendmsg()
44 outmsg.msg_iov = &iov; in sctp_sendmsg()
47 outmsg.msg_iovlen = 1; in sctp_sendmsg()
49 outmsg.msg_control = outcmsg; in sctp_sendmsg()
50 outmsg.msg_controllen = sizeof(outcmsg); in sctp_sendmsg()
51 outmsg.msg_flags = 0; in sctp_sendmsg()
53 cmsg = CMSG_FIRSTHDR(&outmsg); in sctp_sendmsg()
58 outmsg.msg_controllen = cmsg->cmsg_len; in sctp_sendmsg()
67 return sendmsg(s, &outmsg, 0); in sctp_sendmsg()
77 struct msghdr outmsg; in sctp_send() local
81 outmsg.msg_name = NULL; in sctp_send()
82 outmsg.msg_namelen = 0; in sctp_send()
83 outmsg.msg_iov = &iov; in sctp_send()
86 outmsg.msg_iovlen = 1; in sctp_send()
87 outmsg.msg_controllen = 0; in sctp_send()
92 outmsg.msg_control = outcmsg; in sctp_send()
93 outmsg.msg_controllen = sizeof(outcmsg); in sctp_send()
94 outmsg.msg_flags = 0; in sctp_send()
96 cmsg = CMSG_FIRSTHDR(&outmsg); in sctp_send()
101 outmsg.msg_controllen = cmsg->cmsg_len; in sctp_send()
105 return sendmsg(s, &outmsg, flags); in sctp_send()