Searched refs:cmsghdr (Results 1 – 25 of 31) sorted by relevance
12
105 struct cmsghdr { struct122 ((void *)(cmsg) + sizeof(struct cmsghdr)) argument124 ((void __user *)(cmsg) + sizeof(struct cmsghdr))125 #define CMSG_SPACE(len) (sizeof(struct cmsghdr) + CMSG_ALIGN(len))126 #define CMSG_LEN(len) (sizeof(struct cmsghdr) + (len))129 (struct cmsghdr *)(ctl) : \130 (struct cmsghdr *)NULL)155 struct cmsghdr *__cmsg) in __cmsg_nxthdr()157 struct cmsghdr * __ptr; in __cmsg_nxthdr()161 return (struct cmsghdr *)0; in __cmsg_nxthdr()[all …]
15 struct cmsghdr cmsghdr; member95 ASSERT_EQ(CMSG_LEN(sizeof(cmsg.inq)), cmsg.cmsghdr.cmsg_len); in recv_chunks()96 ASSERT_EQ(SOL_SOCKET, cmsg.cmsghdr.cmsg_level); in recv_chunks()97 ASSERT_EQ(SCM_INQ, cmsg.cmsghdr.cmsg_type); in recv_chunks()
275 struct cmsghdr cmsghdr; in __send_fd() member278 .cmsghdr = { in __send_fd()
139 struct cmsghdr *cmsg; in parse_cmsg()
142 struct cmsghdr _align; in recv_fd()155 struct cmsghdr *cmsg; in recv_fd()176 struct cmsghdr _align; in send_fd()189 struct cmsghdr *cmsg = CMSG_FIRSTHDR(&msg); in send_fd()
241 struct cmsghdr *cmsg; in ca_write_cmsg_u32()246 cmsg = (struct cmsghdr *)(cbuf + *cmsg_len); in ca_write_cmsg_u32()260 struct cmsghdr *cmsg; in cs_write_cmsg()292 cmsg = (struct cmsghdr *)(cbuf + cmsg_len); in cs_write_cmsg()303 cmsg = (struct cmsghdr *)(cbuf + cmsg_len); in cs_write_cmsg()315 cmsg = (struct cmsghdr *)(cbuf + cmsg_len); in cs_write_cmsg()351 struct cmsghdr *cmsg; in cs_read_cmsg()
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()
75 struct cmsghdr *cm; in do_send()103 struct cmsghdr *cm; in do_recv()
175 struct cmsghdr *cm; in add_zcopy_cookie()202 msg->msg_control = (struct cmsghdr *)ckbuf; in do_sendmsg()367 struct cmsghdr *cmsg; in do_recvmsg_completion()400 struct cmsghdr *cm; in do_recv_completion()
72 struct cmsghdr *cmsg; in main()
103 struct cmsghdr *cm; in main()
159 struct cmsghdr *cmsg; in printpacket()285 struct cmsghdr cm; in recvpacket()
78 struct cmsghdr *cm; in do_send_one()164 struct cmsghdr *cm; in do_recv_errqueue_timeout()
908 struct cmsghdr *cm; in get_index_from_cmsg()912 for (cm = (struct cmsghdr *)CMSG_FIRSTHDR(m); in get_index_from_cmsg()914 cm = (struct cmsghdr *)CMSG_NXTHDR(m, cm)) { in get_index_from_cmsg()966 struct cmsghdr *cm; in send_msg_cmsg()978 cm = (struct cmsghdr *)cmsgbuf; in send_msg_cmsg()1062 struct cmsghdr *cm = (struct cmsghdr *)cmsgbuf; in socket_read_dgram()
220 struct cmsghdr *cmsg; in recv_msg()
316 struct cmsghdr *cm; in __recv_errmsg_cmsg()493 struct cmsghdr *cmsg; in do_test()
201 struct cmsghdr *cmsg; in do_recv()
381 struct cmsghdr *cm; in send_one()
22 struct cmsghdr *cm; in vsock_recv_completion()
102 struct cmsghdr *cmsg = CMSG_FIRSTHDR(&msg); in overflow_fq()
146 struct cmsghdr *cmsg; in sendfd()155 struct cmsghdr align; in sendfd()181 struct cmsghdr *cmsg; in recvfd()190 struct cmsghdr align; in recvfd()
52 struct cmsghdr *cmsg; in do_crypt_afalg()
77 struct cmsghdr *cm; in test_recv_errmsg_cmsg()
617 struct cmsghdr *cm = NULL; in do_server()793 struct cmsghdr *cm; in wait_compl()851 struct cmsghdr *cmsg; in do_client()
322 struct cmsghdr *cmsg; in get_tcp_inq()
Completed in 35 milliseconds