Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/ipc/msgrcv/
Dmsgrcv07.c77 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()
Dmsgrcv01.c75 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()
Dmsgrcv03.c65 MSGBUF rcv_buf; variable
101 TEST(msgrcv(*(TC[i].queue_id), &rcv_buf, TC[i].msize, in main()
Dmsgrcv06.c80 MSGBUF rcv_buf; variable
152 TEST(msgrcv(msg_q_1, &rcv_buf, MSGSIZE, 1, 0)); in do_child()
Dmsgrcv04.c69 MSGBUF snd_buf, rcv_buf; variable
112 TEST(msgrcv(msg_q_1, &rcv_buf, TC[i].size, TC[i].type, in main()
Dmsgrcv05.c78 MSGBUF rcv_buf; variable
133 TEST(msgrcv(msg_q_1, &rcv_buf, MSGSIZE, 1, 0)); in do_child()
Dmsgrcv02.c77 MSGBUF snd_buf, rcv_buf; variable
86 &msg_q_2, &rcv_buf, EACCES},
/external/ltp/testcases/kernel/syscalls/ipc/msgget/
Dmsgget01.c40 } 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/
Dmsgsnd01.c37 } rcv_buf, snd_buf = {MSGTYPE, "hello"}; variable
56 SAFE_MSGRCV(queue_id, &rcv_buf, MSGSIZE, 1, 0); in verify_msgsnd()
/external/iptables/iptables/
Dnft.c194 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()