Home
last modified time | relevance | path

Searched refs:CMSG_LEN (Results 1 – 25 of 35) sorted by relevance

12

/dragonfly/usr.sbin/rtsold/
HDrtsol.c198 cm->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo)); in sendpacket()
210 cm->cmsg_len = CMSG_LEN(sizeof(int)); in sendpacket()
258 cm->cmsg_len == CMSG_LEN(sizeof(struct in6_pktinfo))) { in rtsol_input()
264 cm->cmsg_len == CMSG_LEN(sizeof(int))) in rtsol_input()
HDprobe.c167 cm->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo)); in sendprobe()
179 cm->cmsg_len = CMSG_LEN(sizeof(int)); in sendprobe()
/dragonfly/usr.sbin/pflogd/
HDprivsep_fdpass.c63 msg.msg_controllen = CMSG_LEN(sizeof(int)); in send_fd()
65 cmsg->cmsg_len = CMSG_LEN(sizeof(int)); in send_fd()
/dragonfly/test/testcases/io/sendfd_1/
HDsendfd_1.c49 msg.msg_controllen = CMSG_LEN(sizeof(int)); in sendfd()
52 cmsg->cmsg_len = CMSG_LEN(sizeof(int)); in sendfd()
/dragonfly/usr.sbin/rrenumd/
HDrrenumd.c324 cm->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo)); in rrenum_output()
328 msglen += CMSG_LEN(sizeof(struct in6_pktinfo)); in rrenum_output()
335 cm->cmsg_len = CMSG_LEN(sizeof(int)); in rrenum_output()
337 msglen += CMSG_LEN(sizeof(int)); in rrenum_output()
/dragonfly/test/socket/recvmsg/cloexec/
HDrecvmsg_cloexec.c85 msg.msg_controllen = CMSG_LEN(sizeof(int)); in sendfd()
88 cmsg->cmsg_len = CMSG_LEN(sizeof(int)); in sendfd()
/dragonfly/lib/libc/sysvipc/
HDsockets.c157 cmsg->cmsg_len = CMSG_LEN(sizeof(int)); in send_fd()
260 cmsg.hdr.cmsg_len = CMSG_LEN(sizeof(struct cmsgcred)); in send_msg_with_cred()
330 (cmp->cmsg_len - CMSG_LEN(0)) in receive_msg_with_cred()
/dragonfly/test/udp/tos/
HDudp_tos.c95 cm->cmsg_len = CMSG_LEN(sizeof(u_char)); in main()
131 if (cm->cmsg_len != CMSG_LEN(sizeof(u_char))) in main()
/dragonfly/test/unix/passdesc/
HDpassdesc.c42 cm->cmsg_len = CMSG_LEN(sizeof(int)); in test_send_desc()
86 if (cm->cmsg_len != CMSG_LEN(sizeof(int))) in test_recv_desc()
/dragonfly/contrib/wpa_supplicant/src/crypto/
HDcrypto_linux.c469 hdr->cmsg_len = CMSG_LEN(sizeof(u32)); in linux_af_alg_skcipher_oper()
571 hdr->cmsg_len = CMSG_LEN(sizeof(u32)); in rc4_skip()
644 hdr->cmsg_len = CMSG_LEN(sizeof(u32)); in des_encrypt()
705 hdr->cmsg_len = CMSG_LEN(sizeof(u32)); in aes_128_cbc_oper()
814 hdr->cmsg_len = CMSG_LEN(sizeof(u32)); in aes_unwrap()
950 hdr->cmsg_len = CMSG_LEN(sizeof(u32)); in crypto_cipher_oper()
/dragonfly/test/unix/loopdesc/
HDloopdesc.c34 cm->cmsg_len = CMSG_LEN(sizeof(int)); in test_sendto_self()
/dragonfly/crypto/openssh/
HDmonitor_fdpass.c77 cmsg->cmsg_len = CMSG_LEN(sizeof(int)); in mm_send_fd()
HDdefines.h604 #ifndef CMSG_LEN
605 #define CMSG_LEN(len) (__CMSG_ALIGN(sizeof(struct cmsghdr)) + (len)) macro
/dragonfly/contrib/dhcpcd/src/
HDif.c927 if (cm->cmsg_len != CMSG_LEN(sizeof(ipi))) in if_findifpfromcmsg()
940 if (cm->cmsg_len != CMSG_LEN(sizeof(ipi6))) in if_findifpfromcmsg()
946 if (cm->cmsg_len != CMSG_LEN(sizeof(int))) in if_findifpfromcmsg()
/dragonfly/contrib/mdocml/
HDmandocd.c104 cmsg->cmsg_len != CMSG_LEN(NUM_FDS * sizeof(int))) { in read_fds()
/dragonfly/test/udp/sendsrcaddr/
HDudp_sendsrcaddr.c42 cm->cmsg_len = CMSG_LEN(sizeof(int)); in test_sendsrcaddr()
/dragonfly/usr.sbin/mld6query/
HDmld6query.c196 cmsgp->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo)); in make_msg()
/dragonfly/sbin/ping6/
HDping6.c745 scmsgp->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo)); in main()
763 scmsgp->cmsg_len = CMSG_LEN(sizeof(int)); in main()
1893 cm->cmsg_len == CMSG_LEN(sizeof(int))) in get_hoplim()
1912 cm->cmsg_len == CMSG_LEN(sizeof(struct in6_pktinfo))) in get_rcvpktinfo()
1933 cm->cmsg_len == CMSG_LEN(sizeof(struct ip6_mtuinfo))) { in get_pathmtu()
/dragonfly/usr.sbin/rtadvd/
HDrtadvd.c751 cm->cmsg_len == CMSG_LEN(sizeof(struct in6_pktinfo))) { in rtadvd_input()
758 cm->cmsg_len == CMSG_LEN(sizeof(int))) in rtadvd_input()
1737 cm->cmsg_len = CMSG_LEN(sizeof(struct in6_pktinfo)); in ra_output()
1749 cm->cmsg_len = CMSG_LEN(sizeof(int)); in ra_output()
/dragonfly/sys/kern/
HDuipc_usrreq.c1629 cm->cmsg_len = CMSG_LEN(newfds * sizeof(int)); in unp_externalize()
1753 if (cm->cmsg_len < CMSG_LEN(0)) { in unp_internalize()
1757 oldfds = (cm->cmsg_len - CMSG_LEN(0)) / sizeof(int); in unp_internalize()
1765 newlen = CMSG_LEN(oldfds * sizeof(struct file *)); in unp_internalize()
2348 qfds = (cm->cmsg_len - CMSG_LEN(0)) / in unp_scan()
/dragonfly/sys/sys/
HDsocket.h514 #define CMSG_LEN(l) (_CMSG_ALIGN(sizeof(struct cmsghdr)) + (l)) macro
/dragonfly/usr.sbin/traceroute6/
HDtraceroute6.c1018 CMSG_LEN(sizeof(struct in6_pktinfo))) in packet_ok()
1023 cm->cmsg_len == CMSG_LEN(sizeof(int))) in packet_ok()
/dragonfly/lib/libc/net/
HDip6opt.c79 ch->cmsg_len = CMSG_LEN(0); in inet6_option_init()
HDnscachedcli.c159 cmsg.hdr.cmsg_len = CMSG_LEN(sizeof(struct cmsgcred)); in send_credentials()
/dragonfly/usr.sbin/nscd/
HDquery.c171 cred_hdr.msg_controllen = CMSG_LEN(sizeof(struct cmsgcred)); in on_query_startup()
182 if (cmsg.hdr.cmsg_len < CMSG_LEN(sizeof(struct cmsgcred)) in on_query_startup()

12