cmsghdr
struct cmsghdr *cmsg;
struct cmsghdr *cmsg;
struct cmsghdr *cm;
cm = (struct cmsghdr *)cmsgbuf;
for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(&m);
cm = (struct cmsghdr *)CMSG_NXTHDR(&m, cm)) {
struct cmsghdr *cm;
cm = (struct cmsghdr *)cmsgbuf;
struct cmsghdr *cm;
cm = (struct cmsghdr *)cmsgbuf;
struct cmsghdr *cmsg;
struct cmsghdr *cmsg;
struct cmsghdr *cmsg;
ch = (struct cmsghdr *)bp;
inet6_option_append(struct cmsghdr *cmsg, const uint8_t *typep, int multx,
inet6_option_alloc(struct cmsghdr *cmsg, int datalen, int multx, int plusy)
inet6_option_next(const struct cmsghdr *cmsg, uint8_t **tptrp)
inet6_option_find(const struct cmsghdr *cmsg, uint8_t **tptrp, int type)
inet6_option_init(void *bp, struct cmsghdr **cmsgp, int type)
register struct cmsghdr *ch;
inet6_rthdr_add(struct cmsghdr *cmsg, const struct in6_addr *addr, u_int flags)
inet6_rthdr_lasthop(struct cmsghdr *cmsg, unsigned int flags)
inet6_rthdr_reverse(const struct cmsghdr *in, struct cmsghdr *out)
inet6_rthdr_segments(const struct cmsghdr *cmsg)
inet6_rthdr_getaddr(struct cmsghdr *cmsg, int idx)
inet6_rthdr_getflags(const struct cmsghdr *cmsg, int idx)
struct cmsghdr *
struct cmsghdr *ch;
ch = (struct cmsghdr *)bp;
struct cmsghdr *cmsg;
cmsg = (struct cmsghdr *)controlVector;
struct cmsghdr *cmsg;
cmsg = (struct cmsghdr *)controlVector;
struct cmsghdr *cmsg;
cmsg = (struct cmsghdr *)controlVector;
struct cmsghdr *cmsg;
struct cmsghdr *cmsg;
cmsg = (struct cmsghdr *)cmsgbuf;
cmsg = (struct cmsghdr *)((caddr_t)cmsg + CMSG_SPACE(sizeof(struct sctp_sndinfo)));
cmsg = (struct cmsghdr *)((caddr_t)cmsg + CMSG_SPACE(sizeof(struct sctp_prinfo)));
cmsg = (struct cmsghdr *)((caddr_t)cmsg + CMSG_SPACE(sizeof(struct sctp_authinfo)));
cmsg = (struct cmsghdr *)((caddr_t)cmsg + CMSG_SPACE(sizeof(struct sctp_sndinfo)));
cmsg = (struct cmsghdr *)((caddr_t)cmsg + CMSG_SPACE(sizeof(struct sctp_prinfo)));
cmsg = (struct cmsghdr *)((caddr_t)cmsg + CMSG_SPACE(sizeof(struct sctp_authinfo)));
cmsg = (struct cmsghdr *)((caddr_t)cmsg + CMSG_SPACE(sizeof(struct in_addr)));
cmsg = (struct cmsghdr *)((caddr_t)cmsg + CMSG_SPACE(sizeof(struct in6_addr)));
struct cmsghdr *cmp;
struct cmsghdr *cmsg;
struct cmsghdr *cmp;
struct cmsghdr *cmp;
struct cmsghdr *cmsg;
cmsg = (struct cmsghdr *) ctl;
#define CMSIZE (sizeof(struct cmsghdr) + sizeof(int))
struct cmsghdr *cmp;
struct cmsghdr *cmp;
struct cmsghdr *cm;
for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(mhdr); cm;
cm = (struct cmsghdr *)CMSG_NXTHDR(mhdr, cm)) {
struct cmsghdr *cm;
for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(mhdr); cm;
cm = (struct cmsghdr *)CMSG_NXTHDR(mhdr, cm)) {
struct cmsghdr *cm;
for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(mhdr); cm;
cm = (struct cmsghdr *)CMSG_NXTHDR(mhdr, cm)) {
struct cmsghdr *cm;
for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(mhdr); cm;
cm = (struct cmsghdr *)CMSG_NXTHDR(mhdr, cm)) {
struct cmsghdr *scmsgp = NULL;
scmsgp = (struct cmsghdr *)scmsg;
struct cmsghdr *cmsg = mtod(control, struct cmsghdr *);
struct cmsghdr *cmsg;
cmsg = mtod(ctl, struct cmsghdr *);
struct cmsghdr *cmsg;
struct cmsghdr *cmsg;
cmsg = mtod(m, struct cmsghdr *);
(CMSG_ALIGN(sizeof(struct cmsghdr)) - sizeof(struct linux_cmsghdr))
struct cmsghdr *cmsg = mtod(control, void *);
struct cmsghdr *cmsg, cmsg32, *cc;
#define CMSG32_ASIZE CMSG32_ALIGN(sizeof(struct cmsghdr))
__CASTV(struct cmsghdr *, \
__CASTV(struct cmsghdr *, \
(mhdr)->msg_controllen < sizeof(struct cmsghdr) ? 0 : \
#define CMSG32_SPACE(l) (CMSG32_ALIGN(sizeof(struct cmsghdr)) + CMSG32_ALIGN(l))
#define CMSG32_LEN(l) (CMSG32_ALIGN(sizeof(struct cmsghdr)) + (l))
struct cmsghdr *cmsg, cmsg32;
cmsg = mtod(m, struct cmsghdr *);
type = mtod(cm, struct cmsghdr *)->cmsg_type;
struct cmsghdr *cp;
cp = mtod(m, struct cmsghdr *);
for (struct cmsghdr *cmsg = CMSG_FIRSTHDR(&mhdr); cmsg;
if (mp->msg_controllen < CMSG_ALIGN(sizeof(struct cmsghdr))) {
struct cmsghdr *cm;
cm = mtod(m, struct cmsghdr *);
struct cmsghdr *cmsg;
cmsg = mtod(control, struct cmsghdr *);
struct cmsghdr *cmsg;
cmsg = mtod(m, struct cmsghdr *);
struct cmsghdr * const cm = mtod(rights, struct cmsghdr *);
struct cmsghdr *newcm, *cm = mtod(control, struct cmsghdr *);
memcpy(newcm, cm, sizeof(struct cmsghdr));
memset(newcm + 1, 0, CMSG_LEN(0) - sizeof(struct cmsghdr));
struct cmsghdr *cm;
cm = mtod(m, struct cmsghdr *);
mtod(m, struct cmsghdr *)->cmsg_type == SCM_RIGHTS)
struct cmsghdr *cm;
cm = mtod(control, struct cmsghdr *);
struct cmsghdr *cmh;
cmh = mtod(ret, struct cmsghdr *);
struct cmsghdr *cmh;
cmh = mtod(ret, struct cmsghdr *);
struct cmsghdr cmh;
at += CMSG_ALIGN(sizeof(struct cmsghdr));
if ((int)(cmh.cmsg_len - CMSG_ALIGN(sizeof(struct cmsghdr))) < cpsize) {
struct cmsghdr;
struct cmsghdr;
extern int inet6_option_init(void *, struct cmsghdr **, int);
extern int inet6_option_append(struct cmsghdr *, const uint8_t *,
extern uint8_t *inet6_option_alloc(struct cmsghdr *, int, int, int);
extern int inet6_option_next(const struct cmsghdr *, uint8_t **);
extern int inet6_option_find(const struct cmsghdr *, uint8_t **, int);
extern struct cmsghdr *inet6_rthdr_init(void *, int);
extern int inet6_rthdr_add(struct cmsghdr *, const struct in6_addr *,
extern int inet6_rthdr_lasthop(struct cmsghdr *, unsigned int);
extern int inet6_rthdr_reverse(const struct cmsghdr *, struct cmsghdr *);
extern int inet6_rthdr_segments(const struct cmsghdr *);
extern struct in6_addr *inet6_rthdr_getaddr(struct cmsghdr *, int);
extern int inet6_rthdr_getflags(const struct cmsghdr *, int);
struct cmsghdr *cm = 0;
cm = mtod(control, struct cmsghdr *);
#define __CMSG_ASIZE __CMSG_ALIGN(sizeof(struct cmsghdr))
__CASTV(struct cmsghdr *, \
__CASTV(struct cmsghdr *, \
(mhdr)->msg_controllen < sizeof(struct cmsghdr) ? 0 : \
struct cmsghdr *cmp;
struct cmsghdr *cmp;
struct cmsghdr *msg;
struct cmsghdr hdr;
struct cmsghdr *cmsg;
struct cmsghdr hdr;
struct cmsghdr *cmsg;
struct cmsghdr *cmsg;
struct cmsghdr *cmsg;
cmsg = (struct cmsghdr *)cmsgbuf;
struct cmsghdr m;
struct cmsghdr hdr;
struct cmsghdr *cmsg;
struct cmsghdr *cmsg;
for (cmsg = (struct cmsghdr *)CMSG_FIRSTHDR(&msg); cmsg != NULL;
cmsg = (struct cmsghdr *)CMSG_NXTHDR(&msg, cmsg)) {
struct cmsghdr *cmsg;
cmsg = (struct cmsghdr *)cmsgbuf;
struct cmsghdr *cmptr;
struct cmsghdr cm;
if (msg.msg_controllen < (socklen_t)sizeof(struct cmsghdr) ||
struct cmsghdr *cmsgp;
cmsgp = (struct cmsghdr *)cmsgbuf;
char cmsg_buf[sizeof(struct cmsghdr) + SOCKCREDSIZE(NGROUPS_MAX)];
struct cmsghdr *cmsg = (struct cmsghdr *)(void *)&cmsg_buf;
for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(&m);
cm = (struct cmsghdr *)CMSG_NXTHDR(&m, cm)) {
struct cmsghdr *cm;
cm = (struct cmsghdr *)cmsgbuf;
struct cmsghdr *cm;
cm = (struct cmsghdr *)cmsgbuf;
struct cmsghdr *cm;
struct cmsghdr *cm;
for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(&rcvmhdr);
cm = (struct cmsghdr *)CMSG_NXTHDR(&rcvmhdr, cm)) {
struct cmsghdr *cmsg;
struct cmsghdr *cm;
for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(mhdr); cm;
cm = (struct cmsghdr *)CMSG_NXTHDR(mhdr, cm)) {