Searched refs:CMSG_SPACE (Results 1 - 3 of 3) sorted by relevance

/darwin-on-arm/xnu/bsd/kern/
H A Duipc_socket2.c1467 if (CMSG_SPACE((u_int)size) > MLEN)
1475 m->m_len = CMSG_SPACE(size);
1493 if (CMSG_SPACE((u_int)size) + (*mp)->m_len > MLEN){
1502 /* CMSG_SPACE ensures 32-bit alignment */
1504 m->m_len += CMSG_SPACE(size);
H A Duipc_syscalls.c1219 unsigned char tmp_buffer[CMSG_SPACE(sizeof(struct user64_timeval))];
1234 tmp_space = CMSG_SPACE(sizeof(struct user64_timeval));
1242 tmp_space = CMSG_SPACE(sizeof(struct user32_timeval));
/darwin-on-arm/xnu/bsd/sys/
H A Dsocket.h838 #define CMSG_SPACE(l) (__DARWIN_ALIGN32(sizeof(struct cmsghdr)) + __DARWIN_ALIGN32(l)) macro

Completed in 37 milliseconds