| /f-stack/tools/compat/include/netinet6/ |
| H A D | in6.h | 668 struct cmsghdr; 712 struct cmsghdr; 715 extern int inet6_option_init(void *, struct cmsghdr **, int); 716 extern int inet6_option_append(struct cmsghdr *, const uint8_t *, 719 extern int inet6_option_next(const struct cmsghdr *, uint8_t **); 723 extern struct cmsghdr *inet6_rthdr_init(void *, int); 726 extern int inet6_rthdr_lasthop(struct cmsghdr *, unsigned int); 728 extern int inet6_rthdr_reverse(const struct cmsghdr *, struct cmsghdr *); 730 extern int inet6_rthdr_segments(const struct cmsghdr *); 731 extern struct in6_addr *inet6_rthdr_getaddr(struct cmsghdr *, int); [all …]
|
| /f-stack/freebsd/netinet6/ |
| H A D | in6.h | 668 struct cmsghdr; 712 struct cmsghdr; 715 extern int inet6_option_init(void *, struct cmsghdr **, int); 716 extern int inet6_option_append(struct cmsghdr *, const uint8_t *, 719 extern int inet6_option_next(const struct cmsghdr *, uint8_t **); 723 extern struct cmsghdr *inet6_rthdr_init(void *, int); 726 extern int inet6_rthdr_lasthop(struct cmsghdr *, unsigned int); 728 extern int inet6_rthdr_reverse(const struct cmsghdr *, struct cmsghdr *); 730 extern int inet6_rthdr_segments(const struct cmsghdr *); 731 extern struct in6_addr *inet6_rthdr_getaddr(struct cmsghdr *, int); [all …]
|
| H A D | ip6_output.c | 2823 struct cmsghdr *cm = NULL; in ip6_setpktopts() 2859 cm = mtod(control, struct cmsghdr *); in ip6_setpktopts()
|
| /f-stack/tools/compat/include/sys/ |
| H A D | socket.h | 475 struct cmsghdr { struct 544 _ALIGN(sizeof(struct cmsghdr))) 550 _ALIGN(sizeof(struct cmsghdr)) > \ 552 (struct cmsghdr *)0 : \ 553 (struct cmsghdr *)(void *)((char *)(cmsg) + \ 554 _ALIGN(((struct cmsghdr *)(cmsg))->cmsg_len))) 561 ((mhdr)->msg_controllen >= sizeof(struct cmsghdr) ? \ 562 (struct cmsghdr *)(mhdr)->msg_control : \ 563 (struct cmsghdr *)0) 567 #define CMSG_SPACE(l) (_ALIGN(sizeof(struct cmsghdr)) + _ALIGN(l)) [all …]
|
| /f-stack/freebsd/sys/ |
| H A D | socket.h | 481 struct cmsghdr { struct 550 _ALIGN(sizeof(struct cmsghdr))) 556 _ALIGN(sizeof(struct cmsghdr)) > \ 558 (struct cmsghdr *)0 : \ 559 (struct cmsghdr *)(void *)((char *)(cmsg) + \ 560 _ALIGN(((struct cmsghdr *)(cmsg))->cmsg_len))) 567 ((mhdr)->msg_controllen >= sizeof(struct cmsghdr) ? \ 568 (struct cmsghdr *)(mhdr)->msg_control : \ 569 (struct cmsghdr *)0) 573 #define CMSG_SPACE(l) (_ALIGN(sizeof(struct cmsghdr)) + _ALIGN(l)) [all …]
|
| /f-stack/app/nginx-1.16.1/src/os/unix/ |
| H A D | ngx_freebsd_config.h | 62 #define CMSG_SPACE(l) (ALIGN(sizeof(struct cmsghdr)) + ALIGN(l)) 65 #define CMSG_LEN(l) (ALIGN(sizeof(struct cmsghdr)) + (l)) 68 #define CMSG_DATA(cmsg) ((u_char *)(cmsg) + ALIGN(sizeof(struct cmsghdr)))
|
| H A D | ngx_udp_sendmsg_chain.c | 237 struct cmsghdr *cmsg; in ngx_sendmsg() 258 struct cmsghdr *cmsg; in ngx_sendmsg() 282 struct cmsghdr *cmsg; in ngx_sendmsg()
|
| H A D | ngx_channel.c | 25 struct cmsghdr cm; in ngx_write_channel() 105 struct cmsghdr cm; in ngx_read_channel()
|
| /f-stack/freebsd/kern/ |
| H A D | uipc_usrreq.c | 2006 struct cmsghdr *cm = mtod(control, struct cmsghdr *); in unp_externalize() 2102 cm = (struct cmsghdr *) in unp_externalize() 2176 struct cmsghdr *cp; in unp_internalize_cleanup_rights() 2182 cp = mtod(m, struct cmsghdr *); in unp_internalize_cleanup_rights() 2199 struct cmsghdr *cm; in unp_internalize() 2374 cm = (struct cmsghdr *) in unp_internalize() 2393 const struct cmsghdr *cm; in unp_addsockcred() 2443 cm = mtod(n, struct cmsghdr *); in unp_addsockcred() 2807 struct cmsghdr *cm; in unp_scan() 2816 cm = mtod(m, struct cmsghdr *); in unp_scan() [all …]
|
| H A D | uipc_syscalls.c | 700 if (mp->msg_controllen < sizeof(struct cmsghdr) in sendit() 716 struct cmsghdr *cm; in sendit() 719 cm = mtod(control, struct cmsghdr *); in sendit() 1020 if (mtod(control, struct cmsghdr *)->cmsg_level != in kern_recvit() 1022 mtod(control, struct cmsghdr *)->cmsg_type != in kern_recvit() 1027 control->m_len -= sizeof (struct cmsghdr); in kern_recvit() 1028 control->m_data += sizeof (struct cmsghdr); in kern_recvit() 1598 struct cmsghdr *cm; in m_dispose_extcontrolm() 1608 cm = mtod(m, struct cmsghdr *); in m_dispose_extcontrolm() 1634 cm = (struct cmsghdr *)((uint8_t *)cm + datalen); in m_dispose_extcontrolm()
|
| H A D | uipc_sockbuf.c | 1735 struct cmsghdr *cp; in sbcreatecontrol_how() 1747 cp = mtod(m, struct cmsghdr *); in sbcreatecontrol_how()
|
| H A D | uipc_socket.c | 1600 struct cmsghdr *cm = mtod(control, struct cmsghdr *); 2061 struct cmsghdr *cmsg; 2073 cmsg = mtod(m, struct cmsghdr *);
|
| /f-stack/dpdk/drivers/net/mlx5/linux/ |
| H A D | mlx5_socket.c | 36 struct cmsghdr *cmsg = NULL; in mlx5_pmd_socket_handle()
|
| /f-stack/dpdk/lib/librte_vhost/ |
| H A D | socket.c | 108 struct cmsghdr *cmsg; in read_fd_message() 161 struct cmsghdr *cmsg; in send_fd_message()
|
| /f-stack/dpdk/drivers/net/virtio/virtio_user/ |
| H A D | vhost_user.c | 61 struct cmsghdr *cmsg; in vhost_user_write()
|
| /f-stack/freebsd/netinet/ |
| H A D | udp_usrreq.c | 1091 udp_v4mapped_pktinfo(struct cmsghdr *cm, struct sockaddr_in * src, in udp_v4mapped_pktinfo() 1150 struct cmsghdr *cm; in udp_output() 1203 cm = mtod(control, struct cmsghdr *); in udp_output()
|
| H A D | sctp_indata.c | 178 struct cmsghdr *cmh; in sctp_build_ctl_nchunk() 223 cmh = mtod(ret, struct cmsghdr *); in sctp_build_ctl_nchunk() 242 cmh = (struct cmsghdr *)((caddr_t)cmh + CMSG_SPACE(sizeof(struct sctp_rcvinfo))); in sctp_build_ctl_nchunk() 264 cmh = (struct cmsghdr *)((caddr_t)cmh + CMSG_SPACE(sizeof(struct sctp_nxtinfo))); in sctp_build_ctl_nchunk()
|
| H A D | sctp_output.c | 3459 struct cmsghdr cmh; in sctp_find_cmsg() 3560 struct cmsghdr cmh; in sctp_process_cmsgs_for_init() 3730 struct cmsghdr cmh; in sctp_findassociation_cmsgs()
|
| /f-stack/lib/ |
| H A D | ff_syscall_wrapper.c | 463 struct cmsghdr *cmsg; in freebsd2linux_cmsghdr() 477 linux_cmsg->cmsg_len = cmsg->cmsg_len + sizeof(struct linux_cmsghdr) - sizeof(struct cmsghdr); in freebsd2linux_cmsghdr()
|
| /f-stack/dpdk/drivers/net/memif/ |
| H A D | memif_socket.c | 35 struct cmsghdr *cmsg; in memif_msg_send() 634 struct cmsghdr *cmsg; in memif_msg_receive()
|
| /f-stack/dpdk/lib/librte_eal/common/ |
| H A D | eal_common_proc.c | 270 struct cmsghdr *cmsg; in read_msg() 666 struct cmsghdr *cmsg; in send_msg()
|
| /f-stack/app/nginx-1.16.1/src/event/ |
| H A D | ngx_event_udp.c | 165 struct cmsghdr *cmsg; in ngx_event_recvmsg()
|