Searched refs:cmsghdr (Results 1 – 17 of 17) sorted by relevance
92 struct cmsghdr { struct109 ((void *)(cmsg) + sizeof(struct cmsghdr)) argument111 ((void __user *)(cmsg) + sizeof(struct cmsghdr))112 #define CMSG_SPACE(len) (sizeof(struct cmsghdr) + CMSG_ALIGN(len))113 #define CMSG_LEN(len) (sizeof(struct cmsghdr) + (len))115 #define __CMSG_FIRSTHDR(ctl,len) ((len) >= sizeof(struct cmsghdr) ? \116 (struct cmsghdr *)(ctl) : \117 (struct cmsghdr *)NULL)119 #define CMSG_OK(mhdr, cmsg) ((cmsg)->cmsg_len >= sizeof(struct cmsghdr) && \141 static inline struct cmsghdr * __cmsg_nxthdr(void *__ctl, __kernel_size_t __size, in __cmsg_nxthdr()[all …]
139 static void flush_cmsg(struct cmsghdr *cmsg) in flush_cmsg()216 struct cmsghdr *cmsg; in flush_errqueue_recv()314 static void send_ts_cmsg(struct cmsghdr *cm) in send_ts_cmsg()339 struct cmsghdr *cmsg; in send_udp_sendmmsg()378 static void send_udp_segment_cmsg(struct cmsghdr *cm) in send_udp_segment_cmsg()396 struct cmsghdr *cmsg; in send_udp_segment()
52 struct cmsghdr *cm; in do_send()80 struct cmsghdr *cm; in do_recv()
172 struct cmsghdr *cm; in add_zcopy_cookie()199 msg->msg_control = (struct cmsghdr *)ckbuf; in do_sendmsg()363 struct cmsghdr *cmsg; in do_recvmsg_completion()396 struct cmsghdr *cm; in do_recv_completion()
103 struct cmsghdr *cm; in main()
836 struct cmsghdr *cm; in get_index_from_cmsg()840 for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(m); in get_index_from_cmsg()842 cm = (struct cmsghdr *)CMSG_NXTHDR(m, cm)) { in get_index_from_cmsg()894 struct cmsghdr *cm; in send_msg_cmsg()906 cm = (struct cmsghdr *)cmsgbuf; in send_msg_cmsg()985 struct cmsghdr *cm = (struct cmsghdr *)cmsgbuf; in socket_read_dgram()
78 struct cmsghdr *cm; in do_send_one()161 struct cmsghdr *cm; in do_recv_errqueue_timeout()
159 struct cmsghdr *cmsg; in printpacket()285 struct cmsghdr cm; in recvpacket()
220 struct cmsghdr *cmsg; in recv_msg()
312 struct cmsghdr *cm; in __recv_errmsg_cmsg()485 struct cmsghdr *cmsg; in do_test()
183 struct cmsghdr *cmsg; in do_recv()
457 struct cmsghdr *cm; in send_one()
1182 struct cmsghdr *cmsg; in TEST_F()
269 struct cmsghdr _align; in TEST()282 struct cmsghdr *cmsg; in TEST()
995 int init_pktinfo(int domain, struct cmsghdr *cmsg) in init_pktinfo()1031 struct cmsghdr align; in sendmsg_to_server()1035 struct cmsghdr align; in sendmsg_to_server()
368 struct cmsghdr *cmsg; in process_cmsg()
365 struct cmsghdr *cm; in udp_recv_send()