HomeSort by: relevance | last modified time | path
    Searched refs:cmsghdr (Results 1 - 25 of 49) sorted by relevancy

1 2

  /src/lib/libc/net/
rthdr.c 83 struct cmsghdr *
86 struct cmsghdr *ch;
91 ch = (struct cmsghdr *)bp;
114 inet6_rthdr_add(struct cmsghdr *cmsg, const struct in6_addr *addr, u_int flags)
151 inet6_rthdr_lasthop(struct cmsghdr *cmsg, unsigned int flags)
178 inet6_rthdr_reverse(const struct cmsghdr *in, struct cmsghdr *out)
186 inet6_rthdr_segments(const struct cmsghdr *cmsg)
215 inet6_rthdr_getaddr(struct cmsghdr *cmsg, int idx)
250 inet6_rthdr_getflags(const struct cmsghdr *cmsg, int idx
    [all...]
sctp_sys_calls.c 383 struct cmsghdr *cmsg;
436 cmsg = (struct cmsghdr *)controlVector;
485 struct cmsghdr *cmsg;
498 cmsg = (struct cmsghdr *)controlVector;
609 struct cmsghdr *cmsg;
631 cmsg = (struct cmsghdr *)controlVector;
661 struct cmsghdr *cmsg;
754 struct cmsghdr *cmsg;
782 cmsg = (struct cmsghdr *)cmsgbuf;
802 cmsg = (struct cmsghdr *)((caddr_t)cmsg + CMSG_SPACE(sizeof(struct sctp_sndinfo)))
    [all...]
ip6opt.c 71 * when it is stored as ancillary data, including the cmsghdr structure
94 inet6_option_init(void *bp, struct cmsghdr **cmsgp, int type)
96 register struct cmsghdr *ch;
101 ch = (struct cmsghdr *)bp;
126 inet6_option_append(struct cmsghdr *cmsg, const uint8_t *typep, int multx,
207 inet6_option_alloc(struct cmsghdr *cmsg, int datalen, int multx, int plusy)
278 inet6_option_next(const struct cmsghdr *cmsg, uint8_t **tptrp)
337 inet6_option_find(const struct cmsghdr *cmsg, uint8_t **tptrp, int type)
  /src/tests/net/fdpass/
fdpass.c 51 struct cmsghdr hdr;
54 struct cmsghdr *cmsg;
103 struct cmsghdr hdr;
106 struct cmsghdr *cmsg;
  /src/dist/pf/sbin/pflogd/
privsep_fdpass.c 55 struct cmsghdr *cmsg;
91 struct cmsghdr *cmsg;
  /src/sys/netinet6/
in6.h 403 #define IPV6_2292PKTOPTIONS 25 /* buf/cmsghdr; set/get IPv6 options */
544 struct cmsghdr;
672 struct cmsghdr;
687 extern int inet6_option_init(void *, struct cmsghdr **, int);
688 extern int inet6_option_append(struct cmsghdr *, const uint8_t *,
690 extern uint8_t *inet6_option_alloc(struct cmsghdr *, int, int, int);
691 extern int inet6_option_next(const struct cmsghdr *, uint8_t **);
692 extern int inet6_option_find(const struct cmsghdr *, uint8_t **, int);
695 extern struct cmsghdr *inet6_rthdr_init(void *, int);
696 extern int inet6_rthdr_add(struct cmsghdr *, const struct in6_addr *
    [all...]
  /src/sys/external/bsd/libnv/dist/
msgio.c 76 msghdr_add_fd(struct cmsghdr *cmsg, int fd)
95 msghdr_get_fd(struct cmsghdr *cmsg)
183 struct cmsghdr *cmsg;
223 struct cmsghdr *cmsg;
259 struct cmsghdr *cmsg;
308 struct cmsghdr *cmsg;
  /src/sys/compat/netbsd32/
netbsd32_socket.c 56 #define CMSG32_ASIZE CMSG32_ALIGN(sizeof(struct cmsghdr))
64 __CASTV(struct cmsghdr *, \
69 __CASTV(struct cmsghdr *, \
70 (mhdr)->msg_controllen < sizeof(struct cmsghdr) ? 0 : \
73 #define CMSG32_SPACE(l) (CMSG32_ALIGN(sizeof(struct cmsghdr)) + CMSG32_ALIGN(l))
74 #define CMSG32_LEN(l) (CMSG32_ALIGN(sizeof(struct cmsghdr)) + (l))
80 struct cmsghdr *cmsg, cmsg32;
85 cmsg = mtod(m, struct cmsghdr *);
385 struct cmsghdr *cmsg, cmsg32, *cc;
  /src/sbin/mount_portal/
activate.c 113 struct cmsghdr *cmsg;
145 cmsg = (struct cmsghdr *) ctl;
puffs_portal.c 109 #define CMSIZE (sizeof(struct cmsghdr) + sizeof(int))
115 struct cmsghdr *cmp;
279 struct cmsghdr *cmp;
  /src/tests/include/sys/
t_socket.c 32 struct cmsghdr *cmp;
83 struct cmsghdr *cmp;
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_platform_limits_openbsd.cc 185 CHECK_TYPE_SIZE(cmsghdr);
186 CHECK_SIZE_AND_OFFSET(cmsghdr, cmsg_len);
187 CHECK_SIZE_AND_OFFSET(cmsghdr, cmsg_level);
188 CHECK_SIZE_AND_OFFSET(cmsghdr, cmsg_type);
sanitizer_platform_limits_solaris.cc 240 CHECK_TYPE_SIZE(cmsghdr);
241 CHECK_SIZE_AND_OFFSET(cmsghdr, cmsg_len);
242 CHECK_SIZE_AND_OFFSET(cmsghdr, cmsg_level);
243 CHECK_SIZE_AND_OFFSET(cmsghdr, cmsg_type);
sanitizer_platform_limits_freebsd.cc 410 CHECK_TYPE_SIZE(cmsghdr);
411 CHECK_SIZE_AND_OFFSET(cmsghdr, cmsg_len);
412 CHECK_SIZE_AND_OFFSET(cmsghdr, cmsg_level);
413 CHECK_SIZE_AND_OFFSET(cmsghdr, cmsg_type);
  /src/sys/sys/
socket.h 526 * of message elements headed by cmsghdr structures.
528 struct cmsghdr { struct
550 #define __CMSG_ASIZE __CMSG_ALIGN(sizeof(struct cmsghdr))
556 /* given pointer to struct cmsghdr, return pointer to data */
560 /* given pointer to struct cmsghdr, return pointer to next cmsghdr */
562 __CASTV(struct cmsghdr *, \
571 __CASTV(struct cmsghdr *, \
572 (mhdr)->msg_controllen < sizeof(struct cmsghdr) ? 0 : \
  /src/sys/compat/common/
uipc_syscalls_43.c 250 struct cmsghdr *cmsg = mtod(control, struct cmsghdr *);
305 struct cmsghdr *cmsg;
323 cmsg = mtod(ctl, struct cmsghdr *);
  /src/usr.sbin/mld6query/
mld6.c 169 struct cmsghdr *cmsgp;
209 cmsgp = (struct cmsghdr *)cmsgbuf;
  /src/sbin/ping6/
ping6.c 288 struct cmsghdr *scmsgp = NULL;
774 scmsgp = (struct cmsghdr *)scmsg;
1575 struct cmsghdr *cm;
1577 for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(mhdr); cm;
1578 cm = (struct cmsghdr *)CMSG_NXTHDR(mhdr, cm)) {
1867 struct cmsghdr *cm;
1869 for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(mhdr); cm;
1870 cm = (struct cmsghdr *)CMSG_NXTHDR(mhdr, cm)) {
1886 struct cmsghdr *cm;
1888 for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(mhdr); cm
    [all...]
  /src/tests/net/net/
t_pktinfo.c 102 struct cmsghdr *cmsg;
  /src/sys/compat/linux/common/
linux_socket.h 206 (CMSG_ALIGN(sizeof(struct cmsghdr)) - sizeof(struct linux_cmsghdr))
  /src/regress/sys/kern/unfdpass/
unfdpass.c 92 struct cmsghdr *cmp;
350 struct cmsghdr *cmp;
  /src/usr.sbin/perfused/
msg.c 117 char cmsg_buf[sizeof(struct cmsghdr) + SOCKCREDSIZE(NGROUPS_MAX)];
118 struct cmsghdr *cmsg = (struct cmsghdr *)(void *)&cmsg_buf;
  /src/sys/kern/
uipc_syscalls.c 578 if (mp->msg_controllen < CMSG_ALIGN(sizeof(struct cmsghdr))) {
803 struct cmsghdr *cm;
808 cm = mtod(m, struct cmsghdr *);
824 struct cmsghdr *cmsg;
828 cmsg = mtod(control, struct cmsghdr *);
845 struct cmsghdr *cmsg;
859 cmsg = mtod(m, struct cmsghdr *);
1616 for (struct cmsghdr *cmsg = CMSG_FIRSTHDR(&mhdr); cmsg;
uipc_usrreq.c 1410 struct cmsghdr * const cm = mtod(rights, struct cmsghdr *);
1543 struct cmsghdr *newcm, *cm = mtod(control, struct cmsghdr *);
1591 memcpy(newcm, cm, sizeof(struct cmsghdr));
1592 memset(newcm + 1, 0, CMSG_LEN(0) - sizeof(struct cmsghdr));
1912 struct cmsghdr *cm;
1921 cm = mtod(m, struct cmsghdr *);
  /src/tests/lib/libc/sys/
t_kevent.c 81 struct cmsghdr *msg;

Completed in 35 milliseconds

1 2