Home
last modified time | relevance | path

Searched refs:txbuf (Results 1 - 9 of 9) sorted by relevance

/third_party/lwip/test/sockets/
H A Dsockets_stresstest.c436 char txbuf[TEST_TXRX_BUFSIZE]; in sockets_stresstest_conn_client() local
487 size_t send_len = (LWIP_RAND() % (sizeof(txbuf) - 4)) + 4; in sockets_stresstest_conn_client()
488 fill_test_data(txbuf, send_len); in sockets_stresstest_conn_client()
490 ret = lwip_write(s, txbuf, send_len); in sockets_stresstest_conn_client()
513 char txbuf[TEST_TXRX_BUFSIZE]; in sockets_stresstest_conn_server() local
537 size_t send_len = (LWIP_RAND() % (sizeof(txbuf) - 4)) + 4; in sockets_stresstest_conn_server()
538 fill_test_data(txbuf, send_len); in sockets_stresstest_conn_server()
540 ret = lwip_write(s, txbuf, send_len); in sockets_stresstest_conn_server()
/third_party/backends/backend/
H A Depsonds-io.c99 SANE_Status eds_txrx(epsonds_scanner* s, char *txbuf, size_t txlen, in eds_txrx() argument
105 done = eds_send(s, txbuf, txlen, &status, rxlen); in eds_txrx()
H A Depsonds-io.h23 SANE_Status eds_txrx(epsonds_scanner *s, char *txbuf, size_t txlen,
H A Depson2-io.h32 e2_txrx(Epson_Scanner * s, unsigned char *txbuf, size_t txlen,
H A Depson2-io.c175 e2_txrx(Epson_Scanner * s, unsigned char *txbuf, size_t txlen, in e2_txrx() argument
181 done = e2_send(s, txbuf, txlen, rxlen, &status); in e2_txrx()
H A Dmagicolor.c573 mc_txrx(Magicolor_Scanner * s, unsigned char *txbuf, size_t txlen, in mc_txrx() argument
578 mc_send(s, txbuf, txlen, &status); in mc_txrx()
800 unsigned char *txbuf, rxbuf[8]; in cmd_get_scanning_parameters() local
808 &txbuf, NULL, 8, &status); in cmd_get_scanning_parameters()
815 status = mc_txrx (s, txbuf, buflen, rxbuf, 8); in cmd_get_scanning_parameters()
816 free (txbuf); in cmd_get_scanning_parameters()
976 unsigned char *txbuf; in cmd_read_data() local
988 &txbuf, param, 4, &status); in cmd_read_data()
998 status = mc_txrx (s, txbuf, txbuflen, buf, len); in cmd_read_data()
1000 free (txbuf); in cmd_read_data()
[all...]
H A Dkodakaio.c959 kodakaio_txrx(KodakAio_Scanner *s, unsigned char *txbuf, unsigned char *rxbuf) in kodakaio_txrx() argument
965 k_send(s, txbuf, 8, &status); in kodakaio_txrx()
991 kodakaio_txrxack(KodakAio_Scanner *s, unsigned char *txbuf, unsigned char *rxbuf) in kodakaio_txrxack() argument
999 k_send(s, txbuf, 8, &status); in kodakaio_txrxack()
1024 txbuf[0], txbuf[1], txbuf[2], txbuf[3],rxbuf[0], rxbuf[1], rxbuf[2], rxbuf[3]); in kodakaio_txrxack()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/l2_packet/
H A Dl2_packet_linux.c124 u8 txbuf[2312] = {0}; in l2_packet_send() local
125 u8 *pos = txbuf; in l2_packet_send()
159 wpa_hexdump(MSG_MSGDUMP, "txbuf", txbuf, len + ETH_HLEN); in l2_packet_send()
160 ret = sendto(l2->fd, txbuf, len + ETH_HLEN, 0, (struct sockaddr *) &ll, sizeof(ll)); in l2_packet_send()
/third_party/lwip/test/unit/api/
H A Dtest_sockets.c696 const char txbuf[] = "something"; in START_TEST() local
765 ret = lwip_send(sact, txbuf, sizeof(txbuf), 0); in START_TEST()
766 fail_unless(ret == sizeof(txbuf)); in START_TEST()

Completed in 11 milliseconds