/dragonfly/contrib/wpa_supplicant/src/crypto/ |
H A D | crypto_linux.c | 451 char buf[CMSG_SPACE(sizeof(u32))]; in linux_af_alg_skcipher_oper() 463 msg.msg_controllen = CMSG_SPACE(sizeof(u32)); in linux_af_alg_skcipher_oper() 542 char buf[CMSG_SPACE(sizeof(u32))]; in rc4_skip() 565 msg.msg_controllen = CMSG_SPACE(sizeof(u32)); in rc4_skip() 612 char buf[CMSG_SPACE(sizeof(u32))]; in des_encrypt() 638 msg.msg_controllen = CMSG_SPACE(sizeof(u32)); in des_encrypt() 697 msg.msg_controllen = CMSG_SPACE(sizeof(u32)) + in aes_128_cbc_oper() 698 CMSG_SPACE(sizeof(*alg_iv) + iv_len); in aes_128_cbc_oper() 807 CMSG_SPACE(sizeof(*alg_iv) + iv_len); in aes_unwrap() 932 char buf[CMSG_SPACE(sizeof(u32))]; in crypto_cipher_oper() [all …]
|
/dragonfly/lib/libc/sysvipc/ |
H A D | sockets.c | 138 char buf[CMSG_SPACE(sizeof(int))]; in send_fd() 191 char buf[CMSG_SPACE(sizeof(int))]; in receive_fd() 256 char cred[CMSG_SPACE(sizeof(struct cmsgcred))]; in send_msg_with_cred() 268 msg.msg_controllen = CMSG_SPACE(sizeof(struct cmsgcred)); in send_msg_with_cred() 293 char cred[CMSG_SPACE(sizeof(struct cmsgcred))]; in receive_msg_with_cred()
|
/dragonfly/lib/libc/net/ |
H A D | ip6opt.c | 60 return(CMSG_SPACE((nbytes + 7) & ~7)); in inet6_option_space() 239 if (cmsg->cmsg_len < CMSG_SPACE(sizeof(struct ip6_ext))) in inet6_option_next() 243 if (cmsg->cmsg_len < CMSG_SPACE(hdrlen)) in inet6_option_next() 295 if (cmsg->cmsg_len < CMSG_SPACE(sizeof(struct ip6_ext))) in inet6_option_find() 299 if (cmsg->cmsg_len < CMSG_SPACE(hdrlen)) in inet6_option_find()
|
H A D | nscachedcli.c | 155 char cred[CMSG_SPACE(sizeof(struct cmsgcred))]; in send_credentials() 167 cred_hdr.msg_controllen = CMSG_SPACE(sizeof(struct cmsgcred)); in send_credentials()
|
/dragonfly/contrib/dhcpcd/src/ |
H A D | dhcpcd.h | 101 #undef CMSG_SPACE 110 #ifndef CMSG_SPACE 111 #define CMSG_SPACE(len) (ALIGN(sizeof(struct cmsghdr)) + ALIGN(len)) macro
|
H A D | privsep.h | 100 CMSG_SPACE(sizeof(struct in6_pktinfo) + \
|
/dragonfly/usr.sbin/pflogd/ |
H A D | privsep_fdpass.c | 53 char tmp[CMSG_SPACE(sizeof(int))]; in send_fd() 89 char tmp[CMSG_SPACE(sizeof(int))]; in receive_fd()
|
/dragonfly/test/testcases/io/sendfd_1/ |
H A D | sendfd_1.c | 39 char cms[CMSG_SPACE(sizeof(int))]; in sendfd() 71 char cms[CMSG_SPACE(sizeof(int))]; in recvfd()
|
/dragonfly/usr.sbin/rrenumd/ |
H A D | rrenumd.c | 171 rcvcmsglen = CMSG_SPACE(sizeof(struct in6_pktinfo)) + in init_globals() 172 CMSG_SPACE(sizeof(int)); in init_globals() 184 sndcmsglen = CMSG_SPACE(sizeof(struct in6_pktinfo)) + in init_globals() 185 CMSG_SPACE(sizeof(int)); in init_globals()
|
/dragonfly/test/socket/recvmsg/cloexec/ |
H A D | recvmsg_cloexec.c | 75 char cms[CMSG_SPACE(sizeof(int))]; in sendfd() 107 char cms[CMSG_SPACE(sizeof(int))]; in recvfd()
|
/dragonfly/crypto/openssh/ |
H A D | monitor_fdpass.c | 59 char buf[CMSG_SPACE(sizeof(int))]; in mm_send_fd() 119 char buf[CMSG_SPACE(sizeof(int))]; in mm_receive_fd()
|
H A D | defines.h | 609 #ifndef CMSG_SPACE 610 #define CMSG_SPACE(len) (__CMSG_ALIGN(sizeof(struct cmsghdr)) + __CMSG_ALIGN(len)) macro
|
/dragonfly/usr.sbin/rtsold/ |
H A D | probe.c | 71 int scmsglen = CMSG_SPACE(sizeof(struct in6_pktinfo)) + in probe_init() 72 CMSG_SPACE(sizeof(int)); in probe_init()
|
H A D | rtsol.c | 90 sndcmsglen = rcvcmsglen = CMSG_SPACE(sizeof(struct in6_pktinfo)) + in sockopen() 91 CMSG_SPACE(sizeof(int)); in sockopen()
|
/dragonfly/test/unix/passdesc/ |
H A D | passdesc.c | 26 uint8_t data[CMSG_SPACE(sizeof(int))]; in test_send_desc() 62 uint8_t data[CMSG_SPACE(sizeof(int))]; in test_recv_desc()
|
/dragonfly/sys/kern/ |
H A D | uipc_sockbuf.c | 590 if (CMSG_SPACE(size) > MCLBYTES) in sbcreatecontrol() 592 m = m_getl(CMSG_SPACE(size), M_NOWAIT, MT_CONTROL, 0, NULL); in sbcreatecontrol() 595 m->m_len = CMSG_SPACE(size); in sbcreatecontrol()
|
/dragonfly/lib/libc/rpc/ |
H A D | clnt_vc.c | 762 char control[CMSG_SPACE(sizeof(struct cmsgcred))]; in __msgread() 774 msg.msg_controllen = CMSG_SPACE(sizeof(struct cmsgcred)); in __msgread() 787 char control[CMSG_SPACE(sizeof(struct cmsgcred))]; in __msgwrite() 803 msg.msg_controllen = CMSG_SPACE(sizeof(struct cmsgcred)); in __msgwrite()
|
/dragonfly/test/unix/loopdesc/ |
H A D | loopdesc.c | 18 uint8_t data[CMSG_SPACE(sizeof(int))]; in test_sendto_self()
|
/dragonfly/test/udp/tos/ |
H A D | udp_tos.c | 32 uint8_t data[CMSG_SPACE(sizeof(u_char))]; in main()
|
/dragonfly/test/udp/sendsrcaddr/ |
H A D | udp_sendsrcaddr.c | 22 uint8_t data[CMSG_SPACE(sizeof(struct in_addr))]; in test_sendsrcaddr()
|
/dragonfly/contrib/mdocml/ |
H A D | mandocd.c | 69 uint8_t controlbuf[CMSG_SPACE(NUM_FDS * sizeof(int))]; in read_fds()
|
/dragonfly/usr.sbin/mld6query/ |
H A D | mld6query.c | 187 cmsglen = CMSG_SPACE(sizeof(struct in6_pktinfo)) + in make_msg()
|
/dragonfly/usr.sbin/rtadvd/ |
H A D | rtadvd.c | 1543 rcvcmsgbuflen = CMSG_SPACE(sizeof(struct in6_pktinfo)) + in sock_open() 1544 CMSG_SPACE(sizeof(int)); in sock_open() 1551 sndcmsgbuflen = CMSG_SPACE(sizeof(struct in6_pktinfo)) + in sock_open() 1552 CMSG_SPACE(sizeof(int)); in sock_open()
|
/dragonfly/sys/sys/ |
H A D | socket.h | 513 #define CMSG_SPACE(l) (_CMSG_ALIGN(sizeof(struct cmsghdr)) + _CMSG_ALIGN(l)) macro
|
/dragonfly/sbin/ping6/ |
H A D | ping6.c | 729 ip6optlen += CMSG_SPACE(sizeof(struct in6_pktinfo)); in main() 732 ip6optlen += CMSG_SPACE(sizeof(int)); in main() 1627 if (bufsize < (extlen + CMSG_SPACE(0))) { in pr_ip6opt() 1628 extlen = bufsize - CMSG_SPACE(0); in pr_ip6opt()
|