Home
last modified time | relevance | path

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

/third_party/ltp/utils/sctp/func_tests/
Dtest_1_to_1_sendmsg.c78 struct msghdr outmessage; in main() local
130 memset(&outmessage, 0, sizeof(outmessage)); in main()
131 outmessage.msg_name = &conn_addr; in main()
132 outmessage.msg_namelen = sizeof(conn_addr); 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()
139 cmsg = CMSG_FIRSTHDR(&outmessage); in main()
[all …]
Dtest_timetolive.c98 struct msghdr outmessage; in main() local
196 outmessage.msg_name = &loop2; in main()
197 outmessage.msg_namelen = sizeof(loop2); in main()
198 outmessage.msg_iov = &out_iov; in main()
199 outmessage.msg_iovlen = 1; in main()
200 outmessage.msg_control = outcmsg; in main()
201 outmessage.msg_controllen = sizeof(outcmsg); in main()
202 outmessage.msg_flags = 0; in main()
203 cmsg = CMSG_FIRSTHDR(&outmessage); in main()
207 outmessage.msg_controllen = cmsg->cmsg_len; in main()
[all …]
Dtest_inaddr_any.c71 struct msghdr outmessage; in main() local
154 outmessage.msg_name = &loop; in main()
155 outmessage.msg_namelen = sizeof(loop); in main()
156 outmessage.msg_iov = &out_iov; in main()
157 outmessage.msg_iovlen = 1; in main()
158 outmessage.msg_control = outcmsg; in main()
159 outmessage.msg_controllen = sizeof(outcmsg); in main()
160 outmessage.msg_flags = 0; in main()
161 cmsg = CMSG_FIRSTHDR(&outmessage); in main()
165 outmessage.msg_controllen = cmsg->cmsg_len; in main()
[all …]
Dtest_assoc_abort.c72 struct msghdr outmessage; in main() local
122 outmessage.msg_name = &svr_loop; in main()
123 outmessage.msg_namelen = sizeof(svr_loop); in main()
124 outmessage.msg_iov = &out_iov; in main()
125 outmessage.msg_iovlen = 1; in main()
126 outmessage.msg_control = outcmsg; in main()
127 outmessage.msg_controllen = sizeof(outcmsg); in main()
128 outmessage.msg_flags = 0; in main()
129 cmsg = CMSG_FIRSTHDR(&outmessage); in main()
133 outmessage.msg_controllen = cmsg->cmsg_len; in main()
[all …]
Dtest_assoc_shutdown.c71 struct msghdr outmessage; in main() local
122 outmessage.msg_name = &svr_loop; in main()
123 outmessage.msg_namelen = sizeof(svr_loop); in main()
124 outmessage.msg_iov = &out_iov; in main()
125 outmessage.msg_iovlen = 1; in main()
126 outmessage.msg_control = outcmsg; in main()
127 outmessage.msg_controllen = sizeof(outcmsg); in main()
128 outmessage.msg_flags = 0; in main()
129 cmsg = CMSG_FIRSTHDR(&outmessage); in main()
133 outmessage.msg_controllen = cmsg->cmsg_len; in main()
[all …]
Dtest_basic.c73 struct msghdr outmessage; in main() local
171 outmessage.msg_name = &loop2; in main()
172 outmessage.msg_namelen = sizeof(loop2); in main()
173 outmessage.msg_iov = &out_iov; in main()
174 outmessage.msg_iovlen = 1; in main()
175 outmessage.msg_control = outcmsg; in main()
176 outmessage.msg_controllen = sizeof(outcmsg); in main()
177 outmessage.msg_flags = 0; in main()
178 cmsg = CMSG_FIRSTHDR(&outmessage); in main()
182 outmessage.msg_controllen = cmsg->cmsg_len; in main()
[all …]
Dtest_1_to_1_threads.c92 struct msghdr outmessage; in t_send() local
98 memset(&outmessage, 0, sizeof(outmessage)); in t_send()
99 outmessage.msg_name = &conn_addr; in t_send()
100 outmessage.msg_namelen = sizeof(conn_addr); in t_send()
101 outmessage.msg_iov = &out_iov; in t_send()
102 outmessage.msg_iovlen = 1; in t_send()
103 outmessage.msg_control = outcmsg; in t_send()
104 outmessage.msg_controllen = sizeof(outcmsg); in t_send()
105 outmessage.msg_flags = 0; in t_send()
107 cmsg = CMSG_FIRSTHDR(&outmessage); in t_send()
[all …]
Dtest_1_to_1_events.c59 struct msghdr inmessage, outmessage; in main() local
112 memset(&outmessage, 0, sizeof(outmessage)); in main()
113 outmessage.msg_name = &svr_loop; in main()
114 outmessage.msg_namelen = sizeof(svr_loop); in main()
115 outmessage.msg_iov = &out_iov; in main()
116 outmessage.msg_iovlen = 1; in main()
117 outmessage.msg_control = outcmsg; in main()
118 outmessage.msg_controllen = sizeof(outcmsg); in main()
119 outmessage.msg_flags = 0; in main()
121 cmsg = CMSG_FIRSTHDR(&outmessage); in main()
[all …]
Dtest_1_to_1_nonblock.c70 struct msghdr outmessage; in main() local
161 memset(&outmessage, 0, sizeof(outmessage)); in main()
162 outmessage.msg_name = &svr_addr; in main()
163 outmessage.msg_namelen = sizeof(svr_addr); in main()
164 outmessage.msg_iov = &out_iov; in main()
165 outmessage.msg_iovlen = 1; in main()
166 outmessage.msg_control = outcmsg; in main()
167 outmessage.msg_controllen = sizeof(outcmsg); in main()
168 outmessage.msg_flags = 0; in main()
170 cmsg = CMSG_FIRSTHDR(&outmessage); in main()
[all …]
Dtest_peeloff.c70 struct msghdr outmessage; in main() local
135 outmessage.msg_name = &svr_loop; in main()
136 outmessage.msg_namelen = sizeof(svr_loop); in main()
137 outmessage.msg_iov = &out_iov; in main()
138 outmessage.msg_iovlen = 1; in main()
139 outmessage.msg_control = outcmsg; in main()
140 outmessage.msg_controllen = sizeof(outcmsg); in main()
141 outmessage.msg_flags = 0; in main()
142 cmsg = CMSG_FIRSTHDR(&outmessage); in main()
146 outmessage.msg_controllen = cmsg->cmsg_len; in main()
[all …]
Dtest_fragments.c83 struct msghdr outmessage; in main() local
146 outmessage.msg_name = &loop2; in main()
147 outmessage.msg_namelen = sizeof(loop2); in main()
148 outmessage.msg_iov = &out_iov; in main()
149 outmessage.msg_iovlen = 1; in main()
150 outmessage.msg_control = outcmsg; in main()
151 outmessage.msg_controllen = sizeof(outcmsg); in main()
152 outmessage.msg_flags = 0; in main()
153 cmsg = CMSG_FIRSTHDR(&outmessage); in main()
157 outmessage.msg_controllen = cmsg->cmsg_len; in main()
[all …]
Dtest_1_to_1_addrs.c84 struct msghdr outmessage; in main() local
151 memset(&outmessage, 0, sizeof(outmessage)); in main()
152 outmessage.msg_name = &lstn_addr; in main()
153 outmessage.msg_namelen = sizeof(lstn_addr); in main()
154 outmessage.msg_iov = &out_iov; in main()
155 outmessage.msg_iovlen = 1; in main()
156 outmessage.msg_control = outcmsg; in main()
157 outmessage.msg_controllen = sizeof(outcmsg); in main()
158 outmessage.msg_flags = 0; in main()
160 cmsg = CMSG_FIRSTHDR(&outmessage); in main()
[all …]
Dtest_recvmsg.c68 struct msghdr inmessage, outmessage; in main() local
106 memset(&outmessage, 0, sizeof(outmessage)); in main()
107 outmessage.msg_name = &svr_loop; in main()
108 outmessage.msg_namelen = sizeof(svr_loop); in main()
109 outmessage.msg_iov = &out_iov; in main()
110 outmessage.msg_iovlen = 1; in main()
112 outmessage.msg_iov->iov_base = msg_buf; in main()
113 outmessage.msg_iov->iov_len = 30000; in main()
114 test_sendmsg(clt_sk, &outmessage, 0, 30000); in main()
Dtest_autoclose.c67 struct msghdr inmessage, outmessage; in main() local
113 memset(&outmessage, 0, sizeof(outmessage)); in main()
114 outmessage.msg_name = &loop2; in main()
115 outmessage.msg_namelen = sizeof(loop2); in main()
116 outmessage.msg_iov = &out_iov; in main()
117 outmessage.msg_iovlen = 1; in main()
118 outmessage.msg_iov->iov_base = message; in main()
119 outmessage.msg_iov->iov_len = strlen(message) + 1; in main()
121 test_sendmsg(sk1, &outmessage, 0, strlen(message)+1); in main()
Dtest_tcp_style.c75 struct msghdr outmessage; in main() local
411 outmessage.msg_name = &svr_loop; in main()
412 outmessage.msg_namelen = sizeof(svr_loop); in main()
413 outmessage.msg_iov = NULL; in main()
414 outmessage.msg_iovlen = 0; in main()
415 outmessage.msg_control = outcmsg; in main()
416 outmessage.msg_controllen = sizeof(outcmsg); in main()
417 outmessage.msg_flags = 0; in main()
419 cmsg = CMSG_FIRSTHDR(&outmessage); in main()
423 outmessage.msg_controllen = cmsg->cmsg_len; in main()
[all …]
Dtest_sockopt.c74 struct msghdr outmessage; in main() local
183 outmessage.msg_name = &udp_svr_loop; in main()
184 outmessage.msg_namelen = sizeof(udp_svr_loop); in main()
185 outmessage.msg_iov = &out_iov; in main()
186 outmessage.msg_iovlen = 1; in main()
187 outmessage.msg_control = outcmsg; in main()
188 outmessage.msg_controllen = sizeof(outcmsg); in main()
189 outmessage.msg_flags = 0; in main()
190 cmsg = CMSG_FIRSTHDR(&outmessage); in main()
194 outmessage.msg_controllen = cmsg->cmsg_len; in main()
[all …]