Home
last modified time | relevance | path

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

/bionic/tests/
Dsys_socket_test.cpp186 #define NUM_SEND_MSGS (sizeof(g_SendMsgs)/sizeof(const char*)) macro
189 struct mmsghdr msgs[NUM_SEND_MSGS]; in SendMMsg()
190 memset(msgs, 0, sizeof(struct mmsghdr)*NUM_SEND_MSGS); in SendMMsg()
191 struct iovec io[NUM_SEND_MSGS]; in SendMMsg()
192 for (size_t i = 0; i < NUM_SEND_MSGS; i++) { in SendMMsg()
200 if (sendmmsg(fd, msgs, NUM_SEND_MSGS, 0) < 0) { in SendMMsg()
216 for (size_t i = 0; i < NUM_SEND_MSGS; i++) { in TestSendMMsg()