Searched refs:cmsghdr (Results 1 – 16 of 16) 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()
69 struct cmsghdr *cm; in do_send_one()149 struct cmsghdr *cm; in do_recv_errqueue_timeout()
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()
604 struct cmsghdr *cm; in get_index_from_cmsg()608 for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(m); in get_index_from_cmsg()610 cm = (struct cmsghdr *)CMSG_NXTHDR(m, cm)) { in get_index_from_cmsg()662 struct cmsghdr *cm; in send_msg_cmsg()674 cm = (struct cmsghdr *)cmsgbuf; in send_msg_cmsg()753 struct cmsghdr *cm = (struct cmsghdr *)cmsgbuf; in socket_read_dgram()
103 struct cmsghdr *cm; in main()
140 struct cmsghdr *cmsg; in printpacket()267 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()
1120 struct cmsghdr *cmsg; in TEST_F()
110 struct cmsghdr *cmsg; in sendtosocket()166 struct cmsghdr *cmsg; in receivefromsocket()
1229 int init_pktinfo(int domain, struct cmsghdr *cmsg) in init_pktinfo()1265 struct cmsghdr align; in sendmsg_to_server()1269 struct cmsghdr align; in sendmsg_to_server()
365 struct cmsghdr *cm; in udp_recv_send()