cmsghdr
struct cmsghdr hdr;
struct cmsghdr *cmsg;
#define CMSG_LEN(len) (__CMSG_ALIGN(sizeof(struct cmsghdr)) + (len))
#define CMSG_SPACE(len) (__CMSG_ALIGN(sizeof(struct cmsghdr)) + __CMSG_ALIGN(len))
#define CMSG_DATA(cmsg) ((u_char *)(cmsg) + __CMSG_ALIGN(sizeof(struct cmsghdr)))
((mhdr)->msg_controllen >= sizeof(struct cmsghdr) ? \
(struct cmsghdr *)(mhdr)->msg_control : \
(struct cmsghdr *)NULL)
struct cmsghdr hdr;
struct cmsghdr *cmsg;
struct cmsghdr hdr;
struct cmsghdr *cmsg;
inet6_option_alloc(struct cmsghdr *cmsg, int datalen, int multx, int plusy)
inet6_option_next(const struct cmsghdr *cmsg, u_int8_t **tptrp)
inet6_option_find(const struct cmsghdr *cmsg, u_int8_t **tptrp, int type)
inet6_option_init(void *bp, struct cmsghdr **cmsgp, int type)
struct cmsghdr *ch = (struct cmsghdr *)bp;
inet6_option_append(struct cmsghdr *cmsg, const u_int8_t *typep, int multx,
struct cmsghdr hdr;
struct cmsghdr *
inet6_rthdr_add(struct cmsghdr *cmsg __unused, const struct in6_addr *addr __unused, u_int flags __unused)
inet6_rthdr_lasthop(struct cmsghdr *cmsg __unused, unsigned int flags __unused)
inet6_rthdr_reverse(const struct cmsghdr *in __unused, struct cmsghdr *out __unused)
inet6_rthdr_segments(const struct cmsghdr *cmsg __unused)
inet6_rthdr_getaddr(struct cmsghdr *cmsg __unused, int idx __unused)
inet6_rthdr_getflags(const struct cmsghdr *cmsg __unused, int idx __unused)
struct cmsghdr cmsg;
struct cmsghdr cmsg;
struct cmsghdr cmsg;
struct cmsghdr hdr;
struct cmsghdr *cmsg;
struct cmsghdr hdr;
struct cmsghdr *cmsg;
struct cmsghdr hdr;
struct cmsghdr *cmp;
struct cmsghdr hdr;
struct cmsghdr *cmsg = (struct cmsghdr *)&ctrl;
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;
struct cmsghdr *cm;
scmsgp = (struct cmsghdr *)scmsg;
cm = (struct cmsghdr *)malloc(CONTROLLEN);
struct cmsghdr *cp;
cp = mtod(m, struct cmsghdr *);
const struct cmsghdr *cm = mtod(m, struct cmsghdr *);
if (msg.msg_controllen < sizeof(struct cmsghdr) ||
struct cmsghdr *cm = mtod(rights, struct cmsghdr *);
struct cmsghdr *cm = mtod(control, struct cmsghdr *);
cm = mtod(control, struct cmsghdr *);
struct cmsghdr *cm;
cm = mtod(m, struct cmsghdr *);
struct cmsghdr *cm;
cm = mtod(ncon, struct cmsghdr *);
const struct cmsghdr *cm = mtod(control, const struct cmsghdr *);
const struct cmsghdr *cm = mtod(control, const struct cmsghdr *);
struct cmsghdr *cm;
cm = mtod(control, struct cmsghdr *);
struct cmsghdr;
uint8_t *inet6_option_alloc (struct cmsghdr *, int, int, int);
int inet6_option_append (struct cmsghdr *, const uint8_t *, int, int);
int inet6_option_find (const struct cmsghdr *, uint8_t **, int);
int inet6_option_init (void *, struct cmsghdr **, int);
int inet6_option_next (const struct cmsghdr *, uint8_t **);
int inet6_rthdr_add (struct cmsghdr *, const struct in6_addr *,
struct in6_addr *inet6_rthdr_getaddr (struct cmsghdr *, int);
int inet6_rthdr_getflags (const struct cmsghdr *, int);
struct cmsghdr *inet6_rthdr_init (void *, int);
int inet6_rthdr_lasthop (struct cmsghdr *, unsigned int);
int inet6_rthdr_reverse (const struct cmsghdr *, struct cmsghdr *);
int inet6_rthdr_segments (const struct cmsghdr *);
struct cmsghdr *cm = NULL;
cm = mtod(control, struct cmsghdr *);
_CMSG_ALIGN(sizeof(struct cmsghdr)))
_CMSG_ALIGN(sizeof(struct cmsghdr)) > \
(struct cmsghdr *)((char *)(cmsg) + _CMSG_ALIGN((cmsg)->cmsg_len)))
((mhdr)->msg_controllen >= sizeof(struct cmsghdr) ? \
(struct cmsghdr *)(mhdr)->msg_control : \
#define CMSG_SPACE(l) (_CMSG_ALIGN(sizeof(struct cmsghdr)) + _CMSG_ALIGN(l))
#define CMSG_LEN(l) (_CMSG_ALIGN(sizeof(struct cmsghdr)) + (l))
struct cmsghdr cmsg;
struct cmsghdr cmsg;
struct cmsghdr *cm;
struct cmsghdr *cmsg;
struct cmsghdr *cmsg;
struct cmsghdr *cmsg;
struct cmsghdr *cmsg;
struct cmsghdr cm;
struct cmsghdr *cm;
struct cmsghdr *cm;
struct cmsghdr cm;
struct cmsghdr cm;
struct cmsghdr *cm;
struct cmsghdr cm;
struct cmsghdr *cm;
struct cmsghdr cm;
struct cmsghdr *cm;
struct cmsghdr hdr;
struct cmsghdr cbuf_align;
struct cmsghdr *cmsg;
struct cmsghdr *cmsg;
struct cmsghdr *cmsgp;
cmsgp = (struct cmsghdr *)cmsgbuf;
struct cmsghdr hdr;
struct cmsghdr hdr;
struct cmsghdr *cmsg;
struct cmsghdr *cmsg;
char cmsgbuf[sizeof(struct cmsghdr) + sizeof(int) * SEND_MAXFD];
struct cmsghdr *cmsg;
cmsg = (struct cmsghdr *)cmsgbuf;
struct cmsghdr *cmsg;
cmsg = (struct cmsghdr *)cmsgbuf;
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;
struct cmsghdr *cm;
struct cmsghdr *cm;
for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(&rcvmhdr);
cm = (struct cmsghdr *)CMSG_NXTHDR(&rcvmhdr, cm)) {
struct cmsghdr *cm;
struct cmsghdr *cm;
struct cmsghdr *cm;
for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(&rcvmhdr);
cm = (struct cmsghdr *)CMSG_NXTHDR(&rcvmhdr, cm)) {
struct cmsghdr *cmsg;
for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(mhdr); cm;
cm = (struct cmsghdr *)CMSG_NXTHDR(mhdr, cm)) {
struct cmsghdr *cm;