HomeSort by: relevance | last modified time | path
    Searched defs:CMSG_SPACE (Results 1 - 7 of 7) sorted by relevancy

  /src/external/bsd/openldap/dist/libraries/libldap/
os-local.c 197 # ifndef CMSG_SPACE
198 # define CMSG_SPACE(len) (_CMSG_ALIGN( sizeof(struct cmsghdr)) + _CMSG_ALIGN(len) )
205 unsigned char control[CMSG_SPACE(sizeof(int))];
  /src/external/bsd/tmux/dist/
compat.h 205 #ifndef CMSG_SPACE
206 #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len))
  /src/external/mpl/dhcp/dist/common/
socket.c 769 * Solaris 9 is missing the CMSG_LEN and CMSG_SPACE macros, so we will
785 #ifndef CMSG_SPACE
786 static size_t CMSG_SPACE(size_t len) {
813 #endif /* !CMSG_SPACE */
832 control_buf_len = CMSG_SPACE(sizeof(struct in6_pktinfo));
  /src/external/bsd/dhcpcd/dist/src/
dhcpcd.h 99 /* dhcpcd requires CMSG_SPACE to evaluate to a compile time constant. */
102 #undef CMSG_SPACE
111 #ifndef CMSG_SPACE
112 #define CMSG_SPACE(len) (ALIGN(sizeof(struct cmsghdr)) + ALIGN(len))
  /src/external/ibm-public/postfix/dist/src/util/
sys_defs.h 90 #ifndef CMSG_SPACE
91 #define CMSG_SPACE(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + CMSG_ALIGN(len))
606 * XXX Need CMSG_SPACE() and CMSG_LEN() but don't want to drag in everything
610 #ifndef CMSG_SPACE
611 #define CMSG_SPACE(len) (_CMSG_ALIGN(sizeof(struct cmsghdr)) + _CMSG_ALIGN(len))
  /src/sys/sys/
socket.h 575 #define CMSG_SPACE(l) (__CMSG_ASIZE + __CMSG_ALIGN(l))
  /src/external/bsd/unbound/dist/util/
netevent.c 103 /** if CMSG_SPACE is not defined on this platform, a workaround */
104 #ifndef CMSG_SPACE
106 # define CMSG_SPACE(l) (CMSG_ALIGN(l)+_CMSG_HDR_ALIGN(sizeof(struct cmsghdr)))
108 # define CMSG_SPACE(l) (CMSG_ALIGN(l)+CMSG_ALIGN(sizeof(struct cmsghdr)))
664 msg.msg_controllen = CMSG_SPACE(sizeof(struct in_pktinfo));
680 msg.msg_controllen = CMSG_SPACE(sizeof(struct in_addr));
698 msg.msg_controllen = CMSG_SPACE(sizeof(struct in6_pktinfo));
715 msg.msg_controllen = CMSG_SPACE(sizeof(struct in6_pktinfo));
1247 msg->msg_controllen = CMSG_SPACE(sizeof(struct in_pktinfo));
1266 msg->msg_controllen = CMSG_SPACE(sizeof(struct in_addr))
    [all...]

Completed in 109 milliseconds