Searched refs:mmsgcnt (Results 1 - 2 of 2) sorted by relevance
/netbsd-current/tests/lib/libc/sys/ |
H A D | t_sendmmsg.c | 86 unsigned int mmsgcnt, n; local 103 mmsgcnt = BUFSIZE / sizeof(DGRAM); 104 mmsghdr = calloc(mmsgcnt, sizeof(*mmsghdr)); 106 iov = malloc(sizeof(*iov) * mmsgcnt); 109 for (off = 0, n = 0; n < mmsgcnt; n++) { 137 mmsgcnt); 138 for (n = 0; n < mmsgcnt;) { 141 mmsgcnt); 143 // in npkt = min(mmsgsize, mmsgcnt - n); 144 int npkt = min(3, mmsgcnt [all...] |
H A D | t_recvmmsg.c | 82 unsigned int mmsgcnt, n; local 95 mmsgcnt = BUFSIZE / sizeof(DGRAM); 96 mmsghdr = malloc(sizeof(*mmsghdr) * mmsgcnt); 98 iov = malloc(sizeof(*iov) * mmsgcnt); 101 for (off = 0, n = 0; n < mmsgcnt; n++) { 128 mmsgcnt); 131 cnt = recvmmsg(fd[1], mmsghdr, min(mmsgcnt, n),
|
Completed in 122 milliseconds