Home | History | Annotate | Download | only in tipc-test

Lines Matching refs:msgsz

339 static int echo_test(uint repeat, uint msgsz, bool var)
345 char tx_buf[msgsz];
346 char rx_buf[msgsz];
349 printf("%s: repeat %u: msgsz %u: variable %s\n",
350 __func__, repeat, msgsz, var ? "true" : "false");
361 msg_len = msgsz;
362 if (opt_variable && msgsz) {
363 msg_len = rand() % msgsz;
401 static int burst_write_test(uint repeat, uint msgburst, uint msgsz, bool var)
407 char tx_buf[msgsz];
410 printf("%s: repeat %u: burst %u: msgsz %u: variable %s\n",
411 __func__, repeat, msgburst, msgsz,
425 msg_len = msgsz;
426 if (var && msgsz) {
427 msg_len = rand() % msgsz;
449 static int _wait_for_msg(int fd, uint msgsz, int timeout)
454 char rx_buf[msgsz];
501 static int select_test(uint repeat, uint msgburst, uint msgsz)
506 char tx_buf[msgsz];
521 _wait_for_msg(fd, msgsz, 1);
528 memset(tx_buf, i + j, msgsz);
529 rc = write(fd, tx_buf, msgsz);
530 if ((size_t)rc != msgsz) {