Searched refs:cmsg_level (Results 1 – 17 of 17) sorted by relevance
318 if (cm->cmsg_level == SOL_SOCKET && in __recv_errmsg_cmsg()321 } else if ((cm->cmsg_level == SOL_IP && in __recv_errmsg_cmsg()323 (cm->cmsg_level == SOL_IPV6 && in __recv_errmsg_cmsg()325 (cm->cmsg_level == SOL_PACKET && in __recv_errmsg_cmsg()335 } else if (cm->cmsg_level == SOL_IP && in __recv_errmsg_cmsg()340 } else if (cm->cmsg_level == SOL_IPV6 && in __recv_errmsg_cmsg()347 cm->cmsg_level, cm->cmsg_type); in __recv_errmsg_cmsg()629 cmsg->cmsg_level = SOL_SOCKET; in do_test()
178 cm->cmsg_level = SOL_RDS; in add_zcopy_cookie()378 if (cmsg->cmsg_level == SOL_RDS && in do_recvmsg_completion()387 cmsg->cmsg_level, cmsg->cmsg_type); in do_recvmsg_completion()418 if (!((cm->cmsg_level == SOL_IP && cm->cmsg_type == IP_RECVERR) || in do_recv_completion()419 (cm->cmsg_level == SOL_IPV6 && cm->cmsg_type == IPV6_RECVERR) || in do_recv_completion()420 (cm->cmsg_level == SOL_PACKET && cm->cmsg_type == PACKET_TX_TIMESTAMP))) in do_recv_completion()422 cm->cmsg_level, cm->cmsg_type); in do_recv_completion()
56 cm->cmsg_level = SOL_IPV6; in do_send()110 if (cm->cmsg_level != SOL_IPV6 || in do_recv()
147 switch (cmsg->cmsg_level) { in flush_cmsg()206 cmsg->cmsg_level); in flush_cmsg()318 cm->cmsg_level = SOL_SOCKET; in send_ts_cmsg()382 cm->cmsg_level = SOL_UDP; in send_udp_segment_cmsg()
100 cm->cmsg_level = SOL_SOCKET; in do_send_one()185 if (cm->cmsg_level != cfg_errq_level || in do_recv_errqueue_timeout()188 cm->cmsg_level, cm->cmsg_type); in do_recv_errqueue_timeout()
209 if (cmsg->cmsg_level != SOL_SOCKET) in do_recv()211 cmsg->cmsg_level); in do_recv()
167 if (cm->cmsg_level == SOL_TCP && cm->cmsg_type == TCP_CM_INQ) in main()
176 switch (cmsg->cmsg_level) { in printpacket()252 cmsg->cmsg_level, in printpacket()
237 if (cmsg->cmsg_level == SOL_UDP in recv_msg()
844 if (cm->cmsg_level == SOL_IP && in get_index_from_cmsg()851 } else if (cm->cmsg_level == SOL_IPV6 && in get_index_from_cmsg()912 cm->cmsg_level = SOL_IP; in send_msg_cmsg()923 cm->cmsg_level = SOL_IPV6; in send_msg_cmsg()
1196 cmsg->cmsg_level = SOL_TLS; in TEST_F()1212 EXPECT_EQ(cmsg->cmsg_level, SOL_TLS); in TEST_F()1225 EXPECT_EQ(cmsg->cmsg_level, SOL_TLS); in TEST_F()
473 cm->cmsg_level = SOL_UDP; in send_one()
304 cmsg->cmsg_level = SOL_SOCKET; in TEST()
94 int cmsg_level; /* originating protocol */ member
390 if ((cm->cmsg_level == SOL_IP && in udp_recv_send()392 (cm->cmsg_level == SOL_IPV6 && in udp_recv_send()398 cm->cmsg_level, cm->cmsg_type); in udp_recv_send()
1001 cmsg->cmsg_level = SOL_IP; in init_pktinfo()1010 cmsg->cmsg_level = SOL_IPV6; in init_pktinfo()
371 if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SO_TIMESTAMPNS_NEW) { in process_cmsg()