Home
last modified time | relevance | path

Searched refs:msg_count (Results 1 – 9 of 9) sorted by relevance

/external/ltp/utils/sctp/func_tests/
Dtest_1_to_1_sendto.c63 int msg_count; in main() local
106 msg_count = strlen(message) + 1; in main()
109 count = sendto(sk, message, msg_count, flag, in main()
111 if (count != msg_count) in main()
117 test_recv(acpt_sk, message_rcv, msg_count, flag); in main()
122 count = sendto(acpt_sk, message, msg_count, flag, in main()
124 if (count != msg_count) in main()
130 test_recv(sk, message_rcv, msg_count, flag); in main()
139 count = sendto(sk1, message, msg_count, flag, in main()
141 if (count != msg_count) in main()
[all …]
Dtest_1_to_1_recvfrom.c66 int msg_count; in main() local
111 msg_count = (strlen(message) + 1); in main()
115 count = test_send(sk, message, msg_count, flag); in main()
118 count = recvfrom(-1, message_rcv, msg_count, flag, in main()
132 count = recvfrom(fd, message_rcv, msg_count, flag, in main()
145 count = recvfrom(acpt_sk, (char *)-1, msg_count, flag, in main()
154 count = recvfrom(lstn_sk, message_rcv, msg_count, flag, in main()
162 count = test_send(acpt_sk, message, msg_count, flag); in main()
167 count = recvfrom(acpt_sk, message_rcv, msg_count, flag, in main()
178 count = recvfrom(sk, message_rcv, msg_count, flag, in main()
[all …]
Dtest_1_to_1_send.c68 int msg_count; in main() local
200 msg_count = strlen(message) + 1; in main()
203 count = send(sk, message, msg_count, flag); in main()
204 if (count != msg_count) in main()
210 test_recv(acpt_sk, message_rcv, msg_count, flag); in main()
215 count = send(acpt_sk, message, msg_count, flag); in main()
216 if (count != msg_count) in main()
222 test_recv(sk, message_rcv, msg_count, flag); in main()
Dtest_1_to_1_sendmsg.c75 int msg_count; in main() local
314 msg_count = strlen(message) + 1; in main()
318 if (count != msg_count) in main()
325 test_check_msg_data(&inmessage, count, msg_count, MSG_EOR, 0, 0); in main()
331 if (count != msg_count) in main()
338 test_check_msg_data(&inmessage, count, msg_count, MSG_EOR, 0, 0); in main()
349 if (count != msg_count) in main()
358 test_check_msg_data(&inmessage, count, msg_count, MSG_EOR, 0, 0); in main()
364 if (count != msg_count) in main()
371 test_check_msg_data(&inmessage, count, msg_count, MSG_EOR, 0, 0); in main()
Dtest_1_to_1_nonblock.c66 int error,msg_count; in main() local
187 msg_count = strlen(message) + 1; in main()
197 test_sendmsg(acpt_sk, &outmessage, flag, msg_count); in main()
201 test_check_msg_data(&inmessage, error, msg_count, MSG_EOR, 0, 0); in main()
Dtest_1_to_1_addrs.c88 int msg_count; in main() local
145 msg_count = strlen(message) + 1; in main()
165 outmessage.msg_iov->iov_len = msg_count; in main()
167 test_sendmsg(clnt_sk, &outmessage, MSG_NOSIGNAL, msg_count); in main()
/external/ipsec-tools/src/racoon/
Disakmp_xauth.c579 PAM_conv(msg_count, msg, rsp, dontcare) in PAM_conv() argument
580 int msg_count; in PAM_conv()
589 if ((reply = racoon_malloc(sizeof(*reply) * msg_count)) == NULL)
591 bzero(reply, sizeof(*reply) * msg_count);
593 for (i = 0; i < msg_count; i++) {
/external/netperf/src/
Dnettest_sctp.c96 msg_count = 0, /* number of messages to transmit on association */ variable
539 if (msg_count) in send_sctp_stream()
540 test_bytes = send_size * msg_count; in send_sctp_stream()
1662 if (msg_count) in send_sctp_stream_1toMany()
1663 test_bytes = send_size * msg_count; in send_sctp_stream_1toMany()
4825 msg_count = convert (optarg); in scan_sctp_args()
4826 if (msg_count > 0) in scan_sctp_args()
Dnettest_sdp.c91 msg_count = 0, /* number of messages to transmit on association */ variable
3535 msg_count = convert (optarg);
3536 if (msg_count > 0)