OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:CMSG_LEN
(Results
1 - 6
of
6
) sorted by relevancy
/src/external/bsd/openldap/dist/libraries/libldap/
os-local.c
200
# ifndef
CMSG_LEN
201
# define
CMSG_LEN
(len) (_CMSG_ALIGN( sizeof(struct cmsghdr)) + (len) )
221
cmsg->
cmsg_len
=
CMSG_LEN
( sizeof(int) );
/src/external/bsd/tmux/dist/
compat.h
209
#ifndef
CMSG_LEN
210
#define
CMSG_LEN
(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len))
/src/external/mpl/dhcp/dist/common/
socket.c
769
* Solaris 9 is missing the
CMSG_LEN
and CMSG_SPACE macros, so we will
773
#ifndef
CMSG_LEN
774
static size_t
CMSG_LEN
(size_t len) {
783
#endif /* !
CMSG_LEN
*/
804
cmsgp->
cmsg_len
=
CMSG_LEN
(len);
929
cmsg->
cmsg_len
=
CMSG_LEN
(sizeof(*pktinfo));
/src/external/ibm-public/postfix/dist/src/util/
sys_defs.h
93
#ifndef
CMSG_LEN
94
#define
CMSG_LEN
(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len))
606
* XXX Need CMSG_SPACE() and
CMSG_LEN
() but don't want to drag in everything
613
#ifndef
CMSG_LEN
614
#define
CMSG_LEN
(len) (_CMSG_ALIGN(sizeof(struct cmsghdr)) + (len))
/src/sys/sys/
socket.h
529
socklen_t
cmsg_len
; /* data byte count, including hdr */
member in struct:cmsghdr
552
(__CASTV(char *, cmsg) + __CMSG_ALIGN((cmsg)->
cmsg_len
))
576
#define
CMSG_LEN
(l) (__CMSG_ASIZE + (l))
/src/external/bsd/unbound/dist/util/
netevent.c
98
/** if
CMSG_LEN
is not defined on this platform, a workaround */
99
#ifndef
CMSG_LEN
100
# define
CMSG_LEN
(len) (CMSG_ALIGN(sizeof(struct cmsghdr))+(len))
673
cmsg->
cmsg_len
=
CMSG_LEN
(sizeof(struct in_pktinfo));
674
/* zero the padding bytes inserted by the
CMSG_LEN
*/
675
if(sizeof(struct in_pktinfo) < cmsg->
cmsg_len
)
677
sizeof(struct in_pktinfo), 0, cmsg->
cmsg_len
686
cmsg->
cmsg_len
=
CMSG_LEN
(sizeof(struct in_addr))
[
all
...]
Completed in 60 milliseconds
Indexes created Sat Feb 28 05:31:39 UTC 2026