Lines Matching refs:snd_buf
289 u8_t * snd_buf; in test_sockets_msgapi_tcp() local
345 snd_buf = (u8_t*)mem_malloc(BUF_SZ); in test_sockets_msgapi_tcp()
347 fail_unless(snd_buf != NULL); in test_sockets_msgapi_tcp()
349 snd_buf[i] = val; in test_sockets_msgapi_tcp()
354 siovs[i].iov_base = snd_buf; in test_sockets_msgapi_tcp()
418 fail_unless(!memcmp(snd_buf, rcv_buf, BUF_SZ)); in test_sockets_msgapi_tcp()
440 mem_free(snd_buf); in test_sockets_msgapi_tcp()
483 u8_t snd_buf[4] = {0xDE, 0xAD, 0xBE, 0xEF}; in test_sockets_msgapi_udp() local
487 siovs[i].iov_base = &snd_buf[i]; in test_sockets_msgapi_udp()
558 u8_t snd_buf[4] = {0xDE, 0xAD, 0xBE, 0xEF}; in test_sockets_msgapi_cmsg() local
589 ret = lwip_sendto(s, snd_buf, sizeof(snd_buf), 0, (struct sockaddr*)&addr_storage, addr_size); in test_sockets_msgapi_cmsg()
590 fail_unless(ret == sizeof(snd_buf)); in test_sockets_msgapi_cmsg()
596 fail_unless(!memcmp(rcv_buf, snd_buf, sizeof(rcv_buf))); in test_sockets_msgapi_cmsg()
617 ret = lwip_sendto(s, snd_buf, sizeof(snd_buf), 0, (struct sockaddr*)&addr_storage, addr_size); in test_sockets_msgapi_cmsg()
618 fail_unless(ret == sizeof(snd_buf)); in test_sockets_msgapi_cmsg()
626 fail_unless(!memcmp(rcv_buf, snd_buf, sizeof(rcv_buf))); in test_sockets_msgapi_cmsg()