Symbol: cmsghdr
crypto/libressl/apps/nc/netcat.c
1394
struct cmsghdr hdr;
crypto/libressl/apps/nc/netcat.c
1397
struct cmsghdr *cmsg;
crypto/openssh/defines.h
605
#define CMSG_LEN(len) (__CMSG_ALIGN(sizeof(struct cmsghdr)) + (len))
crypto/openssh/defines.h
610
#define CMSG_SPACE(len) (__CMSG_ALIGN(sizeof(struct cmsghdr)) + __CMSG_ALIGN(len))
crypto/openssh/defines.h
615
#define CMSG_DATA(cmsg) ((u_char *)(cmsg) + __CMSG_ALIGN(sizeof(struct cmsghdr)))
crypto/openssh/defines.h
624
((mhdr)->msg_controllen >= sizeof(struct cmsghdr) ? \
crypto/openssh/defines.h
625
(struct cmsghdr *)(mhdr)->msg_control : \
crypto/openssh/defines.h
626
(struct cmsghdr *)NULL)
crypto/openssh/monitor_fdpass.c
118
struct cmsghdr hdr;
crypto/openssh/monitor_fdpass.c
121
struct cmsghdr *cmsg;
crypto/openssh/monitor_fdpass.c
58
struct cmsghdr hdr;
crypto/openssh/monitor_fdpass.c
61
struct cmsghdr *cmsg;
lib/libc/net/ip6opt.c
165
inet6_option_alloc(struct cmsghdr *cmsg, int datalen, int multx, int plusy)
lib/libc/net/ip6opt.c
227
inet6_option_next(const struct cmsghdr *cmsg, u_int8_t **tptrp)
lib/libc/net/ip6opt.c
283
inet6_option_find(const struct cmsghdr *cmsg, u_int8_t **tptrp, int type)
lib/libc/net/ip6opt.c
69
inet6_option_init(void *bp, struct cmsghdr **cmsgp, int type)
lib/libc/net/ip6opt.c
71
struct cmsghdr *ch = (struct cmsghdr *)bp;
lib/libc/net/ip6opt.c
96
inet6_option_append(struct cmsghdr *cmsg, const u_int8_t *typep, int multx,
lib/libc/net/nscachedcli.c
154
struct cmsghdr hdr;
lib/libc/net/rthdr.c
54
struct cmsghdr *
lib/libc/net/rthdr.c
61
inet6_rthdr_add(struct cmsghdr *cmsg __unused, const struct in6_addr *addr __unused, u_int flags __unused)
lib/libc/net/rthdr.c
67
inet6_rthdr_lasthop(struct cmsghdr *cmsg __unused, unsigned int flags __unused)
lib/libc/net/rthdr.c
73
inet6_rthdr_reverse(const struct cmsghdr *in __unused, struct cmsghdr *out __unused)
lib/libc/net/rthdr.c
79
inet6_rthdr_segments(const struct cmsghdr *cmsg __unused)
lib/libc/net/rthdr.c
85
inet6_rthdr_getaddr(struct cmsghdr *cmsg __unused, int idx __unused)
lib/libc/net/rthdr.c
91
inet6_rthdr_getflags(const struct cmsghdr *cmsg __unused, int idx __unused)
lib/libc/rpc/clnt_vc.c
761
struct cmsghdr cmsg;
lib/libc/rpc/clnt_vc.c
786
struct cmsghdr cmsg;
lib/libc/rpc/clnt_vc.c
81
struct cmsghdr cmsg;
lib/libc/sysvipc/sockets.c
137
struct cmsghdr hdr;
lib/libc/sysvipc/sockets.c
140
struct cmsghdr *cmsg;
lib/libc/sysvipc/sockets.c
190
struct cmsghdr hdr;
lib/libc/sysvipc/sockets.c
193
struct cmsghdr *cmsg;
lib/libc/sysvipc/sockets.c
255
struct cmsghdr hdr;
lib/libc/sysvipc/sockets.c
290
struct cmsghdr *cmp;
lib/libc/sysvipc/sockets.c
292
struct cmsghdr hdr;
sbin/ping/ping.c
767
struct cmsghdr *cmsg = (struct cmsghdr *)&ctrl;
sbin/ping6/ping6.c
1573
struct cmsghdr *cm;
sbin/ping6/ping6.c
1577
for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(mhdr); cm;
sbin/ping6/ping6.c
1578
cm = (struct cmsghdr *)CMSG_NXTHDR(mhdr, cm)) {
sbin/ping6/ping6.c
1884
struct cmsghdr *cm;
sbin/ping6/ping6.c
1886
for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(mhdr); cm;
sbin/ping6/ping6.c
1887
cm = (struct cmsghdr *)CMSG_NXTHDR(mhdr, cm)) {
sbin/ping6/ping6.c
1903
struct cmsghdr *cm;
sbin/ping6/ping6.c
1905
for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(mhdr); cm;
sbin/ping6/ping6.c
1906
cm = (struct cmsghdr *)CMSG_NXTHDR(mhdr, cm)) {
sbin/ping6/ping6.c
1923
struct cmsghdr *cm;
sbin/ping6/ping6.c
1926
for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(mhdr); cm;
sbin/ping6/ping6.c
1927
cm = (struct cmsghdr *)CMSG_NXTHDR(mhdr, cm)) {
sbin/ping6/ping6.c
284
struct cmsghdr *scmsgp = NULL;
sbin/ping6/ping6.c
285
struct cmsghdr *cm;
sbin/ping6/ping6.c
740
scmsgp = (struct cmsghdr *)scmsg;
sbin/ping6/ping6.c
902
cm = (struct cmsghdr *)malloc(CONTROLLEN);
sys/kern/uipc_sockbuf.c
587
struct cmsghdr *cp;
sys/kern/uipc_sockbuf.c
596
cp = mtod(m, struct cmsghdr *);
sys/kern/uipc_socket.c
1427
const struct cmsghdr *cm = mtod(m, struct cmsghdr *);
sys/kern/uipc_syscalls.c
935
if (msg.msg_controllen < sizeof(struct cmsghdr) ||
sys/kern/uipc_usrreq.c
1548
struct cmsghdr *cm = mtod(rights, struct cmsghdr *);
sys/kern/uipc_usrreq.c
1706
struct cmsghdr *cm = mtod(control, struct cmsghdr *);
sys/kern/uipc_usrreq.c
1779
cm = mtod(control, struct cmsghdr *);
sys/kern/uipc_usrreq.c
2340
struct cmsghdr *cm;
sys/kern/uipc_usrreq.c
2348
cm = mtod(m, struct cmsghdr *);
sys/kern/uipc_usrreq.c
682
struct cmsghdr *cm;
sys/kern/uipc_usrreq.c
688
cm = mtod(ncon, struct cmsghdr *);
sys/netgraph/socket/ng_socket.c
589
const struct cmsghdr *cm = mtod(control, const struct cmsghdr *);
sys/netgraph7/socket/ng_socket.c
697
const struct cmsghdr *cm = mtod(control, const struct cmsghdr *);
sys/netinet/udp_usrreq.c
943
struct cmsghdr *cm;
sys/netinet/udp_usrreq.c
956
cm = mtod(control, struct cmsghdr *);
sys/netinet6/in6.h
687
struct cmsghdr;
sys/netinet6/in6.h
689
uint8_t *inet6_option_alloc (struct cmsghdr *, int, int, int);
sys/netinet6/in6.h
690
int inet6_option_append (struct cmsghdr *, const uint8_t *, int, int);
sys/netinet6/in6.h
691
int inet6_option_find (const struct cmsghdr *, uint8_t **, int);
sys/netinet6/in6.h
692
int inet6_option_init (void *, struct cmsghdr **, int);
sys/netinet6/in6.h
693
int inet6_option_next (const struct cmsghdr *, uint8_t **);
sys/netinet6/in6.h
711
int inet6_rthdr_add (struct cmsghdr *, const struct in6_addr *,
sys/netinet6/in6.h
713
struct in6_addr *inet6_rthdr_getaddr (struct cmsghdr *, int);
sys/netinet6/in6.h
714
int inet6_rthdr_getflags (const struct cmsghdr *, int);
sys/netinet6/in6.h
715
struct cmsghdr *inet6_rthdr_init (void *, int);
sys/netinet6/in6.h
716
int inet6_rthdr_lasthop (struct cmsghdr *, unsigned int);
sys/netinet6/in6.h
717
int inet6_rthdr_reverse (const struct cmsghdr *, struct cmsghdr *);
sys/netinet6/in6.h
718
int inet6_rthdr_segments (const struct cmsghdr *);
sys/netinet6/ip6_output.c
2938
struct cmsghdr *cm = NULL;
sys/netinet6/ip6_output.c
2980
cm = mtod(control, struct cmsghdr *);
sys/sys/socket.h
450
_CMSG_ALIGN(sizeof(struct cmsghdr)))
sys/sys/socket.h
455
_CMSG_ALIGN(sizeof(struct cmsghdr)) > \
sys/sys/socket.h
458
(struct cmsghdr *)((char *)(cmsg) + _CMSG_ALIGN((cmsg)->cmsg_len)))
sys/sys/socket.h
465
((mhdr)->msg_controllen >= sizeof(struct cmsghdr) ? \
sys/sys/socket.h
466
(struct cmsghdr *)(mhdr)->msg_control : \
sys/sys/socket.h
472
#define CMSG_SPACE(l) (_CMSG_ALIGN(sizeof(struct cmsghdr)) + _CMSG_ALIGN(l))
sys/sys/socket.h
473
#define CMSG_LEN(l) (_CMSG_ALIGN(sizeof(struct cmsghdr)) + (l))
test/debug/fdpassing.c
112
struct cmsghdr cmsg;
test/debug/fdpassing.c
80
struct cmsghdr cmsg;
test/illumos/oclo/oclo.c
579
struct cmsghdr *cm;
test/socket/recvmsg/cloexec/recvmsg_cloexec.c
106
struct cmsghdr *cmsg;
test/socket/recvmsg/cloexec/recvmsg_cloexec.c
73
struct cmsghdr *cmsg;
test/testcases/io/sendfd_1/sendfd_1.c
37
struct cmsghdr *cmsg;
test/testcases/io/sendfd_1/sendfd_1.c
70
struct cmsghdr *cmsg;
test/udp/sendsrcaddr/udp_sendsrcaddr.c
21
struct cmsghdr cm;
test/udp/sendsrcaddr/udp_sendsrcaddr.c
24
struct cmsghdr *cm;
test/udp/tos/udp_tos.c
29
struct cmsghdr *cm;
test/udp/tos/udp_tos.c
31
struct cmsghdr cm;
test/unix/loopdesc/loopdesc.c
17
struct cmsghdr cm;
test/unix/loopdesc/loopdesc.c
20
struct cmsghdr *cm;
test/unix/passdesc/passdesc.c
25
struct cmsghdr cm;
test/unix/passdesc/passdesc.c
28
struct cmsghdr *cm;
test/unix/passdesc/passdesc.c
61
struct cmsghdr cm;
test/unix/passdesc/passdesc.c
64
struct cmsghdr *cm;
tools/tools/net80211/wesside/dics/dics.c
113
struct cmsghdr hdr;
usr.bin/dsynth/subs.c
650
struct cmsghdr cbuf_align;
usr.bin/dsynth/subs.c
652
struct cmsghdr *cmsg;
usr.bin/telnet/commands.c
2776
struct cmsghdr *cmsg;
usr.sbin/mld6query/mld6query.c
163
struct cmsghdr *cmsgp;
usr.sbin/mld6query/mld6query.c
192
cmsgp = (struct cmsghdr *)cmsgbuf;
usr.sbin/nscd/nscdcli.c
137
struct cmsghdr hdr;
usr.sbin/nscd/query.c
160
struct cmsghdr hdr;
usr.sbin/pflogd/privsep_fdpass.c
54
struct cmsghdr *cmsg;
usr.sbin/pflogd/privsep_fdpass.c
90
struct cmsghdr *cmsg;
usr.sbin/ppp/bundle.c
1371
char cmsgbuf[sizeof(struct cmsghdr) + sizeof(int) * SEND_MAXFD];
usr.sbin/ppp/bundle.c
1375
struct cmsghdr *cmsg;
usr.sbin/ppp/bundle.c
1406
cmsg = (struct cmsghdr *)cmsgbuf;
usr.sbin/ppp/bundle.c
1536
struct cmsghdr *cmsg;
usr.sbin/ppp/bundle.c
1587
cmsg = (struct cmsghdr *)cmsgbuf;
usr.sbin/route6d/route6d.c
1001
struct cmsghdr *cm;
usr.sbin/route6d/route6d.c
1018
cm = (struct cmsghdr *)cmsgbuf;
usr.sbin/route6d/route6d.c
1026
for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(&m);
usr.sbin/route6d/route6d.c
1028
cm = (struct cmsghdr *)CMSG_NXTHDR(&m, cm)) {
usr.sbin/route6d/route6d.c
935
struct cmsghdr *cm;
usr.sbin/route6d/route6d.c
964
cm = (struct cmsghdr *)cmsgbuf;
usr.sbin/rrenumd/rrenumd.c
308
struct cmsghdr *cm;
usr.sbin/rtadvd/rtadvd.c
1656
struct cmsghdr *cm;
usr.sbin/rtadvd/rtadvd.c
724
struct cmsghdr *cm;
usr.sbin/rtadvd/rtadvd.c
746
for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(&rcvmhdr);
usr.sbin/rtadvd/rtadvd.c
748
cm = (struct cmsghdr *)CMSG_NXTHDR(&rcvmhdr, cm)) {
usr.sbin/rtsold/probe.c
151
struct cmsghdr *cm;
usr.sbin/rtsold/rtsol.c
187
struct cmsghdr *cm;
usr.sbin/rtsold/rtsol.c
241
struct cmsghdr *cm;
usr.sbin/rtsold/rtsol.c
253
for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(&rcvmhdr);
usr.sbin/rtsold/rtsol.c
255
cm = (struct cmsghdr *)CMSG_NXTHDR(&rcvmhdr, cm)) {
usr.sbin/sdpd/server.c
431
struct cmsghdr *cmsg;
usr.sbin/traceroute6/traceroute6.c
1013
for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(mhdr); cm;
usr.sbin/traceroute6/traceroute6.c
1014
cm = (struct cmsghdr *)CMSG_NXTHDR(mhdr, cm)) {
usr.sbin/traceroute6/traceroute6.c
974
struct cmsghdr *cm;