/external/ltp/testcases/kernel/syscalls/ipc/msgrcv/ |
D | msgrcv07.c | 77 MSGBUF rcv_buf; in test_msg_except() local 95 memset(&rcv_buf, 0, sizeof(rcv_buf)); in test_msg_except() 96 TEST(msgrcv(msgq_id, &rcv_buf, MSGSIZE, MSGTYPE2, MSG_EXCEPT)); in test_msg_except() 102 if (strcmp(rcv_buf.mtext, MSG1) == 0 && in test_msg_except() 103 rcv_buf.mtype == MSGTYPE1) in test_msg_except() 118 MSGBUF rcv_buf; in test_msg_noerror() local 134 memset(&rcv_buf, 0, sizeof(rcv_buf)); in test_msg_noerror() 136 TEST(msgrcv(msgq_id, &rcv_buf, msg_len, MSGTYPE1, MSG_NOERROR)); in test_msg_noerror() 140 if (strncmp(rcv_buf.mtext, MSG1, msg_len) == 0 && in test_msg_noerror() 141 rcv_buf.mtype == MSGTYPE1) in test_msg_noerror()
|
D | msgrcv01.c | 75 MSGBUF snd_buf, rcv_buf, cmp_buf; variable 146 TEST(msgrcv(msg_q_1, &rcv_buf, MSGSIZE, 1, 0)); in do_child() 159 if (strcmp(rcv_buf.mtext, cmp_buf.mtext) == 0) { in do_child()
|
D | msgrcv03.c | 65 MSGBUF rcv_buf; variable 101 TEST(msgrcv(*(TC[i].queue_id), &rcv_buf, TC[i].msize, in main()
|
D | msgrcv06.c | 80 MSGBUF rcv_buf; variable 152 TEST(msgrcv(msg_q_1, &rcv_buf, MSGSIZE, 1, 0)); in do_child()
|
D | msgrcv04.c | 69 MSGBUF snd_buf, rcv_buf; variable 112 TEST(msgrcv(msg_q_1, &rcv_buf, TC[i].size, TC[i].type, in main()
|
D | msgrcv05.c | 78 MSGBUF rcv_buf; variable 133 TEST(msgrcv(msg_q_1, &rcv_buf, MSGSIZE, 1, 0)); in do_child()
|
D | msgrcv02.c | 77 MSGBUF snd_buf, rcv_buf; variable 86 &msg_q_2, &rcv_buf, EACCES},
|
/external/ltp/testcases/kernel/syscalls/ipc/msgget/ |
D | msgget01.c | 40 } rcv_buf, snd_buf = {MSGTYPE, "hello, world"}; variable 54 SAFE_MSGRCV(queue_id, &rcv_buf, MSGSIZE, MSGTYPE, IPC_NOWAIT); in verify_msgget() 56 if (strcmp(snd_buf.text, rcv_buf.text) == 0) in verify_msgget()
|
/external/ltp/testcases/kernel/syscalls/ipc/msgsnd/ |
D | msgsnd01.c | 37 } rcv_buf, snd_buf = {MSGTYPE, "hello"}; variable 56 SAFE_MSGRCV(queue_id, &rcv_buf, MSGSIZE, 1, 0); in verify_msgsnd()
|
/external/iptables/iptables/ |
D | nft.c | 194 char rcv_buf[MNL_SOCKET_BUFFER_SIZE]; in mnl_nftnl_batch_talk() local 215 ret = mnl_socket_recvfrom(h->nl, rcv_buf, sizeof(rcv_buf)); in mnl_nftnl_batch_talk() 219 ret = mnl_cb_run(rcv_buf, ret, 0, h->portid, NULL, NULL); in mnl_nftnl_batch_talk()
|