Searched refs:cmsghdr (Results 1 - 25 of 64) sorted by relevance

123

/macosx-10.10.1/Libinfo-459/gen.subproj/
H A Drthdr.c76 struct cmsghdr *
81 struct cmsghdr *ch = (struct cmsghdr *)bp;
109 struct cmsghdr *cmsg;
154 struct cmsghdr *cmsg;
194 const struct cmsghdr *in;
195 struct cmsghdr *out;
204 const struct cmsghdr *cmsg;
228 struct cmsghdr *cmsg;
260 const struct cmsghdr *cms
[all...]
H A Dip6opt.c57 * when it is stored as ancillary data, including the cmsghdr structure
77 inet6_option_init(void *bp, struct cmsghdr **cmsgp, int type)
79 struct cmsghdr *ch = (struct cmsghdr *)bp;
104 inet6_option_append(struct cmsghdr *cmsg, const u_int8_t *typep, int multx,
174 inet6_option_alloc(struct cmsghdr *cmsg, int datalen, int multx, int plusy)
237 inet6_option_next(const struct cmsghdr *cmsg, u_int8_t **tptrp)
293 inet6_option_find(const struct cmsghdr *cmsg, u_int8_t **tptrp, int type)
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/libraries/liblutil/
H A Dgetpeereid.c99 # define CMSG_SPACE(len) (_CMSG_ALIGN(sizeof(struct cmsghdr)) + _CMSG_ALIGN(len))
102 # define CMSG_LEN(len) (_CMSG_ALIGN(sizeof(struct cmsghdr)) + (len))
105 struct cmsghdr cm;
108 struct cmsghdr *cmsg;
127 msg.msg_controllen = sizeof( struct cmsghdr ) + sizeof( int ); /* no padding! */
176 struct cmsghdr *cmp;
/macosx-10.10.1/OpenSSH-189/openssh/
H A Dmonitor_fdpass.c53 struct cmsghdr hdr;
56 struct cmsghdr *cmsg;
114 struct cmsghdr hdr;
117 struct cmsghdr *cmsg;
H A Ddefines.h501 #define CMSG_LEN(len) (__CMSG_ALIGN(sizeof(struct cmsghdr)) + (len))
506 #define CMSG_SPACE(len) (__CMSG_ALIGN(sizeof(struct cmsghdr)) + __CMSG_ALIGN(len))
509 /* given pointer to struct cmsghdr, return pointer to data */
511 #define CMSG_DATA(cmsg) ((u_char *)(cmsg) + __CMSG_ALIGN(sizeof(struct cmsghdr)))
520 ((mhdr)->msg_controllen >= sizeof(struct cmsghdr) ? \
521 (struct cmsghdr *)(mhdr)->msg_control : \
522 (struct cmsghdr *)NULL)
/macosx-10.10.1/postfix-255/postfix/src/util/
H A Dunix_send_fd.c72 struct cmsghdr just_for_alignment;
75 struct cmsghdr *cmptr;
H A Dunix_recv_fd.c70 struct cmsghdr just_for_alignment;
73 struct cmsghdr *cmptr;
/macosx-10.10.1/xnu-2782.1.97/bsd/netinet6/
H A Din6.h549 /* buf/cmsghdr; set/get IPv6 options [obsoleted by RFC3542] */
845 struct cmsghdr;
886 struct cmsghdr;
889 extern int inet6_option_init(void *, struct cmsghdr **, int);
890 extern int inet6_option_append(struct cmsghdr *, const __uint8_t *, int, int);
891 extern __uint8_t *inet6_option_alloc(struct cmsghdr *, int, int, int);
892 extern int inet6_option_next(const struct cmsghdr *, __uint8_t **);
893 extern int inet6_option_find(const struct cmsghdr *, __uint8_t **, int);
896 extern struct cmsghdr *inet6_rthdr_init(void *, int);
897 extern int inet6_rthdr_add(struct cmsghdr *, cons
[all...]
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/libraries/libldap/
H A Dos-local.c205 # define CMSG_SPACE(len) (_CMSG_ALIGN( sizeof(struct cmsghdr)) + _CMSG_ALIGN(len) )
208 # define CMSG_LEN(len) (_CMSG_ALIGN( sizeof(struct cmsghdr)) + (len) )
211 struct cmsghdr cm;
214 struct cmsghdr *cmsg;
/macosx-10.10.1/Security-57031.1.35/Security/include/security_utilities/
H A Dfdmover.h54 class Element : public cmsghdr {
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_utilities/lib/
H A Dfdmover.h54 class Element : public cmsghdr {
/macosx-10.10.1/xnu-2782.1.97/bsd/sys/
H A Dsocket.h837 * of message elements headed by cmsghdr structures.
839 struct cmsghdr { struct
873 /* given pointer to struct cmsghdr, return pointer to data */
875 __DARWIN_ALIGN32(sizeof(struct cmsghdr)))
882 ((mhdr)->msg_controllen >= sizeof(struct cmsghdr) ? \
883 (struct cmsghdr *)(mhdr)->msg_control : \
884 (struct cmsghdr *)0L)
888 * Given pointer to struct cmsghdr, return pointer to next cmsghdr
895 __DARWIN_ALIGN32(sizeof(struct cmsghdr))) > \
[all...]
H A Dsocketvar.h333 __DARWIN_ALIGN32(sizeof(struct cmsghdr)))
337 (size_t)(m)->m_len >= sizeof (struct cmsghdr) && \
339 __DARWIN_ALIGN32(((struct cmsghdr *)(void *)(m)->m_data)->cmsg_len) ? \
340 (struct cmsghdr *)(void *)(m)->m_data : (struct cmsghdr *)0L)
346 (struct cmsghdr *)0L /* NULL */ : \
347 (struct cmsghdr *)(void *)((unsigned char *)(cmsg) + \
/macosx-10.10.1/network_cmds-457/rtsol.tproj/
H A Drtsol.c177 struct cmsghdr *cm;
231 struct cmsghdr *cm;
243 for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(&rcvmhdr);
245 cm = (struct cmsghdr *)CMSG_NXTHDR(&rcvmhdr, cm)) {
H A Dprobe.c180 struct cmsghdr *cm;
/macosx-10.10.1/ppp-786.1.1/Shared/
H A Dfd_exchange.c95 struct cmsghdr *control_msg;
100 control_msg = (struct cmsghdr *)((void *)control_buffer);
176 struct cmsghdr *control;
186 control = (struct cmsghdr *)((void *)control_buffer);
/macosx-10.10.1/ruby-106/ruby/ext/socket/
H A Dunixsocket.c213 struct cmsghdr hdr;
308 struct cmsghdr hdr;
351 if (arg.msg.msg_controllen < (socklen_t)sizeof(struct cmsghdr)) {
353 "file descriptor was not passed (msg_controllen=%d smaller than sizeof(struct cmsghdr)=%d)",
354 (int)arg.msg.msg_controllen, (int)sizeof(struct cmsghdr));
H A Drubysocket.h159 # define CMSG_SPACE(len) (_CMSG_ALIGN(sizeof(struct cmsghdr)) + _CMSG_ALIGN(len))
162 # define CMSG_LEN(len) (_CMSG_ALIGN(sizeof(struct cmsghdr)) + (len))
/macosx-10.10.1/network_cmds-457/ping6.tproj/
H A Dping6.c249 struct cmsghdr *cm = NULL;
347 struct cmsghdr *scmsgp = NULL;
980 scmsgp = (struct cmsghdr *)scmsg;
1041 if ((scmsgp = (struct cmsghdr *)inet6_rthdr_init(scmsgp,
1240 cm = (struct cmsghdr *)malloc(CONTROLLEN);
1962 struct cmsghdr *cm;
1966 for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(mhdr); cm;
1967 cm = (struct cmsghdr *)CMSG_NXTHDR(mhdr, cm)) {
2314 struct cmsghdr *cm;
2316 for (cm = (struct cmsghdr *)CMSG_FIRSTHD
[all...]
/macosx-10.10.1/Security-57031.1.35/Security/tlsnke/tlsnketest/
H A Dtlssocket.c54 struct cmsghdr *cmsg;
159 struct cmsghdr *cmsg;
/macosx-10.10.1/network_cmds-457/traceroute6.tproj/
H A Dtraceroute6.c339 struct cmsghdr *cmsg;
1071 struct cmsghdr *cm;
1073 for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(mhdr); cm;
1074 cm = (struct cmsghdr *)CMSG_NXTHDR(mhdr, cm)) {
1165 struct cmsghdr *cm;
1204 for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(mhdr); cm;
1205 cm = (struct cmsghdr *)CMSG_NXTHDR(mhdr, cm)) {
/macosx-10.10.1/bootp-298/IPConfiguration.bproj/
H A DDHCPv6Socket.c390 struct cmsghdr * cm;
425 for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(&mhdr);
427 cm = (struct cmsghdr *)CMSG_NXTHDR(&mhdr, cm)) {
/macosx-10.10.1/netcat-22/
H A Dsourceroute.c113 struct cmsghdr *cmsg = NULL;
/macosx-10.10.1/WebKit2-7600.1.25/Shared/linux/SeccompFilters/
H A DSeccompBroker.cpp92 struct cmsghdr* cmsg = CMSG_FIRSTHDR(&message);
124 struct cmsghdr* cmsg = CMSG_FIRSTHDR(&message);
/macosx-10.10.1/ipsec-286.1.1/ipsec-tools/racoon/
H A Dsockmisc.c430 struct cmsghdr *cm, *cm_prev;
455 cm = (struct cmsghdr *)cmsgbuf;
471 for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(&m), cm_prev = NULL;
473 cm_prev = cm, cm = (struct cmsghdr *)CMSG_NXTHDR(&m, cm)) {
584 struct cmsghdr *cm;
615 cm = (struct cmsghdr *)cmsgbuf;

Completed in 220 milliseconds

123