Home
last modified time | relevance | path

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

/illumos-gate/usr/src/stand/lib/sock/
H A Dsock_test.c557 st_get_buf_and_cnt(char **buf, int *send_cnt) in st_get_buf_and_cnt() argument
570 if ((*send_cnt = atoi(cnt)) < 0) { in st_get_buf_and_cnt()
581 int send_cnt; in st_send() local
588 if (st_get_buf_and_cnt(&buf, &send_cnt) < 0) in st_send()
591 if ((send_cnt = st_local_send(g_sock_fd, buf, send_cnt, 0)) < 0) { in st_send()
595 printf("@ Send %d bytes\n", send_cnt); in st_send()
605 int send_cnt; in st_sendto() local
613 if (st_get_buf_and_cnt(&buf, &send_cnt) < 0) in st_sendto()
616 if ((send_cnt = st_local_sendto(g_sock_fd, buf, send_cnt, 0, in st_sendto()
621 printf("@ Send %d bytes\n", send_cnt); in st_sendto()