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_ALIGN
(Results
1 - 5
of
5
) sorted by relevancy
/src/external/bsd/tmux/dist/
compat.h
197
#ifndef
CMSG_ALIGN
199
#define
CMSG_ALIGN
_CMSG_DATA_ALIGN
201
#define
CMSG_ALIGN
(len) (((len) + sizeof(long) - 1) & ~(sizeof(long) - 1))
206
#define CMSG_SPACE(len) (
CMSG_ALIGN
(sizeof(struct cmsghdr)) +
CMSG_ALIGN
(len))
210
#define CMSG_LEN(len) (
CMSG_ALIGN
(sizeof(struct cmsghdr)) + (len))
/src/external/bsd/dhcpcd/dist/src/
privsep.c
85
/*
CMSG_ALIGN
is a Linux extension */
86
#ifndef
CMSG_ALIGN
87
#define
CMSG_ALIGN
(n) (CMSG_SPACE((n)) - CMSG_SPACE(0))
92
((has_cmsg) ? (socklen_t)(
CMSG_ALIGN
((pos)) - (pos)) : 0)
/src/external/ibm-public/postfix/dist/src/util/
sys_defs.h
91
#define CMSG_SPACE(len) (
CMSG_ALIGN
(sizeof(struct cmsghdr)) +
CMSG_ALIGN
(len))
94
#define CMSG_LEN(len) (
CMSG_ALIGN
(sizeof(struct cmsghdr)) + (len))
96
#ifndef
CMSG_ALIGN
97
#define
CMSG_ALIGN
(n) ALIGN(n)
/src/sys/sys/
socket.h
547
#define
CMSG_ALIGN
(n) __CMSG_ALIGN(n)
/src/external/bsd/unbound/dist/util/
netevent.c
87
/** if
CMSG_ALIGN
is not defined on this platform, a workaround */
88
#ifndef
CMSG_ALIGN
90
# define
CMSG_ALIGN
(n) __CMSG_ALIGN(n)
92
# define
CMSG_ALIGN
_CMSG_DATA_ALIGN
94
# define
CMSG_ALIGN
(len) (((len)+sizeof(long)-1) & ~(sizeof(long)-1))
100
# define CMSG_LEN(len) (
CMSG_ALIGN
(sizeof(struct cmsghdr))+(len))
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)))
Completed in 20 milliseconds
Indexes created Sat Apr 04 00:22:49 UTC 2026