/third_party/ltp/testcases/kernel/syscalls/ipc/msgsnd/ |
D | msgsnd02.c | 40 } snd_buf[] = { variable 54 {&queue_id, &snd_buf[0], MSGSIZE, EACCES, 1}, 56 {&bad_id, &snd_buf[0], MSGSIZE, EINVAL, 0}, 57 {&queue_id, &snd_buf[1], MSGSIZE, EINVAL, 0}, 58 {&queue_id, &snd_buf[2], MSGSIZE, EINVAL, 0}, 59 {&queue_id, &snd_buf[0], -1, EINVAL, 0}
|
D | msgsnd06.c | 27 } snd_buf = {1, "hello"}; variable 31 TST_EXP_FAIL(msgsnd(queue_id, &snd_buf, MSGSIZE, 0), EIDRM, in verify_msgsnd() 32 "msgsnd(%i, %p, %i, 0)", queue_id, &snd_buf, MSGSIZE); in verify_msgsnd() 41 while (msgsnd(queue_id, &snd_buf, MSGSIZE, IPC_NOWAIT) != -1) in do_test() 42 snd_buf.type += 1; in do_test()
|
D | msgsnd05.c | 30 } snd_buf = {1, "hello"}; variable 44 TST_EXP_FAIL(msgsnd(queue_id, &snd_buf, MSGSIZE, tc->flag), tc->exp_err, in verify_msgsnd() 45 "msgsnd(%i, %p, %i, %i)", queue_id, &snd_buf, MSGSIZE, tc->flag); in verify_msgsnd() 84 while (msgsnd(queue_id, &snd_buf, MSGSIZE, IPC_NOWAIT) != -1) in setup() 85 snd_buf.type += 1; in setup()
|
D | msgsnd01.c | 26 } rcv_buf, snd_buf = {MSGTYPE, "hello"}; variable 34 TEST(msgsnd(queue_id, &snd_buf, MSGSIZE, 0)); in verify_msgsnd()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/msgrcv/ |
D | msgrcv08.c | 38 } rcv_buf, snd_buf = {121, "hello"}; variable 43 SAFE_MSGSND(queue_id, &snd_buf, sizeof(snd_buf.mtext), IPC_NOWAIT); in verify_msgrcv() 55 if ((size_t)TST_RET != sizeof(snd_buf.mtext)) { in verify_msgrcv() 56 tst_res(TFAIL, "received %zi, expected %zu", (size_t)TST_RET, sizeof(snd_buf.mtext)); in verify_msgrcv()
|
D | msgrcv01.c | 20 } rcv_buf, snd_buf = {MSGTYPE, "hello"}; variable 27 SAFE_MSGSND(queue_id, &snd_buf, MSGSIZE, 0); in verify_msgrcv() 37 if (strcmp(rcv_buf.mtext, snd_buf.mtext) == 0) in verify_msgrcv() 39 rcv_buf.mtext, snd_buf.mtext); in verify_msgrcv() 42 rcv_buf.mtext, snd_buf.mtext); in verify_msgrcv()
|
D | msgrcv07.c | 45 } rcv_buf, snd_buf[2] = { variable 53 SAFE_MSGSND(queue_id, &snd_buf[0], MSGSIZE, 0); in prepare_queue() 54 SAFE_MSGSND(queue_id, &snd_buf[1], MSGSIZE, 0); in prepare_queue() 85 SAFE_MSGSND(queue_id, &snd_buf[0], MSGSIZE, 0); in test_msg_noerror()
|
D | msgrcv03.c | 38 } rcv_buf, snd_buf = {MSGTYPE, "hello"}; variable 70 SAFE_MSGSND(queue_id, &snd_buf, MSGSIZE, 0); in setup()
|
D | msgrcv02.c | 43 } rcv_buf, snd_buf = {2, "hello"}; variable 77 SAFE_MSGSND(queue_id, &snd_buf, MSGSIZE, 0); in do_test()
|
/third_party/lwip/test/unit/api/ |
D | test_sockets.c | 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 [all …]
|
/third_party/ltp/testcases/kernel/syscalls/ipc/msgget/ |
D | msgget01.c | 29 } rcv_buf, snd_buf = {MSGTYPE, "hello, world"}; variable 41 SAFE_MSGSND(queue_id, &snd_buf, MSGSIZE, 0); in verify_msgget() 45 if (strcmp(snd_buf.text, rcv_buf.text) == 0) in verify_msgget()
|
/third_party/lwip/src/include/lwip/ |
D | tcp.h | 326 tcpwnd_size_t snd_buf; /* Available buffer space for sending (in bytes). */ member 443 #define tcp_sndbuf(pcb) (TCPWND16((pcb)->snd_buf))
|
/third_party/lwip/src/apps/smtp/ |
D | smtp.c | 1228 u16_t snd_buf = altcp_sndbuf(pcb); in smtp_send_body() local 1229 if (send_len > snd_buf) { in smtp_send_body() 1230 send_len = snd_buf; in smtp_send_body()
|
/third_party/lwip/src/core/ |
D | tcp_out.c | 333 if (len > pcb->snd_buf) { in tcp_write_checks() 335 len, pcb->snd_buf)); in tcp_write_checks() 792 pcb->snd_buf -= len; in tcp_write()
|
D | tcp_in.c | 1351 pcb->snd_buf = (tcpwnd_size_t)(pcb->snd_buf + recv_acked);
|
D | tcp.c | 2070 pcb->snd_buf = TCP_SND_BUF;
|
/third_party/lwip/ |
D | CHANGELOG | 759 SYN/FIN in snd_buf counter 1430 * tcp_impl.h: fixed bug #34355: nagle does not take snd_buf/snd_queuelen into 4054 * tcp.c: Increment pcb->snd_buf when ACK is received in SYN_SENT state.
|