Home
last modified time | relevance | path

Searched refs:cmsg_level (Results 1 – 17 of 17) sorted by relevance

/tools/testing/selftests/net/
Dtxtimestamp.c318 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()
Dmsg_zerocopy.c178 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()
Dipv6_flowlabel.c56 cm->cmsg_level = SOL_IPV6; in do_send()
110 if (cm->cmsg_level != SOL_IPV6 || in do_recv()
Dudpgso_bench_tx.c147 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()
Dso_txtime.c100 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()
Drxtimestamp.c209 if (cmsg->cmsg_level != SOL_SOCKET) in do_recv()
211 cmsg->cmsg_level); in do_recv()
Dtcp_inq.c167 if (cm->cmsg_level == SOL_TCP && cm->cmsg_type == TCP_CM_INQ) in main()
Dtimestamping.c176 switch (cmsg->cmsg_level) { in printpacket()
252 cmsg->cmsg_level, in printpacket()
Dudpgso_bench_rx.c237 if (cmsg->cmsg_level == SOL_UDP in recv_msg()
Dnettest.c844 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()
Dtls.c1196 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()
Dudpgso.c473 cm->cmsg_level = SOL_UDP; in send_one()
/tools/testing/selftests/landlock/
Dbase_test.c304 cmsg->cmsg_level = SOL_SOCKET; in TEST()
/tools/perf/trace/beauty/include/linux/
Dsocket.h94 int cmsg_level; /* originating protocol */ member
/tools/testing/selftests/bpf/prog_tests/
Dsk_lookup.c390 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()
/tools/testing/selftests/bpf/
Dtest_sock_addr.c1001 cmsg->cmsg_level = SOL_IP; in init_pktinfo()
1010 cmsg->cmsg_level = SOL_IPV6; in init_pktinfo()
/tools/testing/selftests/net/mptcp/
Dmptcp_connect.c371 if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SO_TIMESTAMPNS_NEW) { in process_cmsg()