Searched refs:CMSG_DATA (Results 1 - 4 of 4) sorted by relevance

/tldk/app/nginx/src/os/unix/
H A Dngx_freebsd_config.h58 * FreeBSD 3.x has no CMSG_SPACE() and CMSG_LEN() and has the broken CMSG_DATA()
67 #undef CMSG_DATA macro
68 #define CMSG_DATA(cmsg) ((u_char *)(cmsg) + ALIGN(sizeof(struct cmsghdr))) macro
H A Dngx_posix_config.h153 * FreeBSD 3.x has no CMSG_SPACE() and CMSG_LEN() and has the broken CMSG_DATA()
162 #undef CMSG_DATA macro
163 #define CMSG_DATA(cmsg) ((u_char *)(cmsg) + ALIGN(sizeof(struct cmsghdr))) macro
H A Dngx_channel.c45 * *(int *) CMSG_DATA(&cmsg.cm) = ch->fd;
53 ngx_memcpy(CMSG_DATA(&cmsg.cm), &ch->fd, sizeof(int));
170 /* ch->fd = *(int *) CMSG_DATA(&cmsg.cm); */
172 ngx_memcpy(&ch->fd, CMSG_DATA(&cmsg.cm), sizeof(int));
/tldk/app/nginx/src/event/
H A Dngx_event_accept.c508 addr = (struct in_addr *) CMSG_DATA(cmsg);
524 pkt = (struct in_pktinfo *) CMSG_DATA(cmsg);
542 pkt6 = (struct in6_pktinfo *) CMSG_DATA(cmsg);

Completed in 5 milliseconds