Home
last modified time | relevance | path

Searched refs:outmessage (Results 1 – 16 of 16) sorted by relevance

/external/ltp/utils/sctp/func_tests/
Dtest_1_to_1_sendmsg.c77 struct msghdr outmessage; in main() local
126 memset(&outmessage, 0, sizeof(outmessage)); in main()
127 outmessage.msg_name = &conn_addr; in main()
128 outmessage.msg_namelen = sizeof(conn_addr); in main()
129 outmessage.msg_iov = &out_iov; in main()
130 outmessage.msg_iovlen = 1; in main()
131 outmessage.msg_control = outcmsg; in main()
132 outmessage.msg_controllen = sizeof(outcmsg); in main()
133 outmessage.msg_flags = 0; in main()
135 cmsg = CMSG_FIRSTHDR(&outmessage); in main()
[all …]
Dtest_timetolive.c97 struct msghdr outmessage; in main() local
192 outmessage.msg_name = &loop2; in main()
193 outmessage.msg_namelen = sizeof(loop2); in main()
194 outmessage.msg_iov = &out_iov; in main()
195 outmessage.msg_iovlen = 1; in main()
196 outmessage.msg_control = outcmsg; in main()
197 outmessage.msg_controllen = sizeof(outcmsg); in main()
198 outmessage.msg_flags = 0; in main()
199 cmsg = CMSG_FIRSTHDR(&outmessage); in main()
203 outmessage.msg_controllen = cmsg->cmsg_len; in main()
[all …]
Dtest_inaddr_any.c70 struct msghdr outmessage; in main() local
150 outmessage.msg_name = &loop; in main()
151 outmessage.msg_namelen = sizeof(loop); in main()
152 outmessage.msg_iov = &out_iov; in main()
153 outmessage.msg_iovlen = 1; in main()
154 outmessage.msg_control = outcmsg; in main()
155 outmessage.msg_controllen = sizeof(outcmsg); in main()
156 outmessage.msg_flags = 0; in main()
157 cmsg = CMSG_FIRSTHDR(&outmessage); in main()
161 outmessage.msg_controllen = cmsg->cmsg_len; in main()
[all …]
Dtest_assoc_shutdown.c70 struct msghdr outmessage; in main() local
118 outmessage.msg_name = &svr_loop; in main()
119 outmessage.msg_namelen = sizeof(svr_loop); in main()
120 outmessage.msg_iov = &out_iov; in main()
121 outmessage.msg_iovlen = 1; in main()
122 outmessage.msg_control = outcmsg; in main()
123 outmessage.msg_controllen = sizeof(outcmsg); in main()
124 outmessage.msg_flags = 0; in main()
125 cmsg = CMSG_FIRSTHDR(&outmessage); in main()
129 outmessage.msg_controllen = cmsg->cmsg_len; in main()
[all …]
Dtest_assoc_abort.c71 struct msghdr outmessage; in main() local
118 outmessage.msg_name = &svr_loop; in main()
119 outmessage.msg_namelen = sizeof(svr_loop); in main()
120 outmessage.msg_iov = &out_iov; in main()
121 outmessage.msg_iovlen = 1; in main()
122 outmessage.msg_control = outcmsg; in main()
123 outmessage.msg_controllen = sizeof(outcmsg); in main()
124 outmessage.msg_flags = 0; in main()
125 cmsg = CMSG_FIRSTHDR(&outmessage); in main()
129 outmessage.msg_controllen = cmsg->cmsg_len; in main()
[all …]
Dtest_1_to_1_threads.c91 struct msghdr outmessage; in t_send() local
97 memset(&outmessage, 0, sizeof(outmessage)); in t_send()
98 outmessage.msg_name = &conn_addr; in t_send()
99 outmessage.msg_namelen = sizeof(conn_addr); in t_send()
100 outmessage.msg_iov = &out_iov; in t_send()
101 outmessage.msg_iovlen = 1; in t_send()
102 outmessage.msg_control = outcmsg; in t_send()
103 outmessage.msg_controllen = sizeof(outcmsg); in t_send()
104 outmessage.msg_flags = 0; in t_send()
106 cmsg = CMSG_FIRSTHDR(&outmessage); in t_send()
[all …]
Dtest_basic.c72 struct msghdr outmessage; in main() local
167 outmessage.msg_name = &loop2; in main()
168 outmessage.msg_namelen = sizeof(loop2); in main()
169 outmessage.msg_iov = &out_iov; in main()
170 outmessage.msg_iovlen = 1; in main()
171 outmessage.msg_control = outcmsg; in main()
172 outmessage.msg_controllen = sizeof(outcmsg); in main()
173 outmessage.msg_flags = 0; in main()
174 cmsg = CMSG_FIRSTHDR(&outmessage); in main()
178 outmessage.msg_controllen = cmsg->cmsg_len; in main()
[all …]
Dtest_1_to_1_events.c58 struct msghdr inmessage, outmessage; in main() local
108 memset(&outmessage, 0, sizeof(outmessage)); in main()
109 outmessage.msg_name = &svr_loop; in main()
110 outmessage.msg_namelen = sizeof(svr_loop); in main()
111 outmessage.msg_iov = &out_iov; in main()
112 outmessage.msg_iovlen = 1; in main()
113 outmessage.msg_control = outcmsg; in main()
114 outmessage.msg_controllen = sizeof(outcmsg); in main()
115 outmessage.msg_flags = 0; in main()
117 cmsg = CMSG_FIRSTHDR(&outmessage); in main()
[all …]
Dtest_1_to_1_nonblock.c69 struct msghdr outmessage; in main() local
157 memset(&outmessage, 0, sizeof(outmessage)); in main()
158 outmessage.msg_name = &svr_addr; in main()
159 outmessage.msg_namelen = sizeof(svr_addr); in main()
160 outmessage.msg_iov = &out_iov; in main()
161 outmessage.msg_iovlen = 1; in main()
162 outmessage.msg_control = outcmsg; in main()
163 outmessage.msg_controllen = sizeof(outcmsg); in main()
164 outmessage.msg_flags = 0; in main()
166 cmsg = CMSG_FIRSTHDR(&outmessage); in main()
[all …]
Dtest_peeloff.c69 struct msghdr outmessage; in main() local
131 outmessage.msg_name = &svr_loop; in main()
132 outmessage.msg_namelen = sizeof(svr_loop); in main()
133 outmessage.msg_iov = &out_iov; in main()
134 outmessage.msg_iovlen = 1; in main()
135 outmessage.msg_control = outcmsg; in main()
136 outmessage.msg_controllen = sizeof(outcmsg); in main()
137 outmessage.msg_flags = 0; in main()
138 cmsg = CMSG_FIRSTHDR(&outmessage); in main()
142 outmessage.msg_controllen = cmsg->cmsg_len; in main()
[all …]
Dtest_fragments.c82 struct msghdr outmessage; in main() local
142 outmessage.msg_name = &loop2; in main()
143 outmessage.msg_namelen = sizeof(loop2); in main()
144 outmessage.msg_iov = &out_iov; in main()
145 outmessage.msg_iovlen = 1; in main()
146 outmessage.msg_control = outcmsg; in main()
147 outmessage.msg_controllen = sizeof(outcmsg); in main()
148 outmessage.msg_flags = 0; in main()
149 cmsg = CMSG_FIRSTHDR(&outmessage); in main()
153 outmessage.msg_controllen = cmsg->cmsg_len; in main()
[all …]
Dtest_recvmsg.c67 struct msghdr inmessage, outmessage; in main() local
102 memset(&outmessage, 0, sizeof(outmessage)); in main()
103 outmessage.msg_name = &svr_loop; in main()
104 outmessage.msg_namelen = sizeof(svr_loop); in main()
105 outmessage.msg_iov = &out_iov; in main()
106 outmessage.msg_iovlen = 1; in main()
108 outmessage.msg_iov->iov_base = msg_buf; in main()
109 outmessage.msg_iov->iov_len = 30000; in main()
110 test_sendmsg(clt_sk, &outmessage, 0, 30000); in main()
Dtest_1_to_1_addrs.c83 struct msghdr outmessage; in main() local
147 memset(&outmessage, 0, sizeof(outmessage)); in main()
148 outmessage.msg_name = &lstn_addr; in main()
149 outmessage.msg_namelen = sizeof(lstn_addr); in main()
150 outmessage.msg_iov = &out_iov; in main()
151 outmessage.msg_iovlen = 1; in main()
152 outmessage.msg_control = outcmsg; in main()
153 outmessage.msg_controllen = sizeof(outcmsg); in main()
154 outmessage.msg_flags = 0; in main()
156 cmsg = CMSG_FIRSTHDR(&outmessage); in main()
[all …]
Dtest_autoclose.c66 struct msghdr inmessage, outmessage; in main() local
109 memset(&outmessage, 0, sizeof(outmessage)); in main()
110 outmessage.msg_name = &loop2; in main()
111 outmessage.msg_namelen = sizeof(loop2); in main()
112 outmessage.msg_iov = &out_iov; in main()
113 outmessage.msg_iovlen = 1; in main()
114 outmessage.msg_iov->iov_base = message; in main()
115 outmessage.msg_iov->iov_len = strlen(message) + 1; in main()
117 test_sendmsg(sk1, &outmessage, 0, strlen(message)+1); in main()
Dtest_tcp_style.c74 struct msghdr outmessage; in main() local
407 outmessage.msg_name = &svr_loop; in main()
408 outmessage.msg_namelen = sizeof(svr_loop); in main()
409 outmessage.msg_iov = NULL; in main()
410 outmessage.msg_iovlen = 0; in main()
411 outmessage.msg_control = outcmsg; in main()
412 outmessage.msg_controllen = sizeof(outcmsg); in main()
413 outmessage.msg_flags = 0; in main()
415 cmsg = CMSG_FIRSTHDR(&outmessage); in main()
419 outmessage.msg_controllen = cmsg->cmsg_len; in main()
[all …]
Dtest_sockopt.c73 struct msghdr outmessage; in main() local
179 outmessage.msg_name = &udp_svr_loop; in main()
180 outmessage.msg_namelen = sizeof(udp_svr_loop); in main()
181 outmessage.msg_iov = &out_iov; in main()
182 outmessage.msg_iovlen = 1; in main()
183 outmessage.msg_control = outcmsg; in main()
184 outmessage.msg_controllen = sizeof(outcmsg); in main()
185 outmessage.msg_flags = 0; in main()
186 cmsg = CMSG_FIRSTHDR(&outmessage); in main()
190 outmessage.msg_controllen = cmsg->cmsg_len; in main()
[all …]