Home
last modified time | relevance | path

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

/tools/testing/selftests/net/
Dtxtimestamp.c319 cm->cmsg_type == SCM_TIMESTAMPING) { in __recv_errmsg_cmsg()
322 cm->cmsg_type == IP_RECVERR) || in __recv_errmsg_cmsg()
324 cm->cmsg_type == IPV6_RECVERR) || in __recv_errmsg_cmsg()
326 cm->cmsg_type == PACKET_TX_TIMESTAMP)) { in __recv_errmsg_cmsg()
336 cm->cmsg_type == IP_PKTINFO) { in __recv_errmsg_cmsg()
341 cm->cmsg_type == IPV6_PKTINFO) { in __recv_errmsg_cmsg()
347 cm->cmsg_level, cm->cmsg_type); in __recv_errmsg_cmsg()
630 cmsg->cmsg_type = SO_TIMESTAMPING; in do_test()
Dtimestamping.c179 switch (cmsg->cmsg_type) { in printpacket()
212 printf("type %d", cmsg->cmsg_type); in printpacket()
218 switch (cmsg->cmsg_type) { in printpacket()
246 printf("type %d", cmsg->cmsg_type); in printpacket()
253 cmsg->cmsg_type); in printpacket()
Dudpgso_bench_tx.c149 if (cmsg->cmsg_type == SO_TIMESTAMPING) { in flush_cmsg()
156 cmsg->cmsg_type); in flush_cmsg()
161 switch (cmsg->cmsg_type) { in flush_cmsg()
200 cmsg->cmsg_type); in flush_cmsg()
319 cm->cmsg_type = SO_TIMESTAMPING; in send_ts_cmsg()
383 cm->cmsg_type = UDP_SEGMENT; in send_udp_segment_cmsg()
Dmsg_zerocopy.c179 cm->cmsg_type = RDS_CMSG_ZCOPY_COOKIE; in add_zcopy_cookie()
379 cmsg->cmsg_type == RDS_CMSG_ZCOPY_COMPLETION) { 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.c57 cm->cmsg_type = IPV6_FLOWINFO; in do_send()
111 cm->cmsg_type != IPV6_FLOWINFO) in do_recv()
Dso_txtime.c101 cm->cmsg_type = SCM_TXTIME; in do_send_one()
186 cm->cmsg_type != cfg_errq_type) in do_recv_errqueue_timeout()
188 cm->cmsg_level, cm->cmsg_type); in do_recv_errqueue_timeout()
Drxtimestamp.c212 switch (cmsg->cmsg_type) { in do_recv()
227 error(1, 0, "Unexpected cmsg_type %d", cmsg->cmsg_type); in do_recv()
Dtcp_inq.c167 if (cm->cmsg_level == SOL_TCP && cm->cmsg_type == TCP_CM_INQ) in main()
Dudpgso_bench_rx.c238 && cmsg->cmsg_type == UDP_GRO) { in recv_msg()
Dnettest.c845 cm->cmsg_type == IP_PKTINFO) { in get_index_from_cmsg()
852 cm->cmsg_type == IPV6_PKTINFO) { in get_index_from_cmsg()
913 cm->cmsg_type = IP_PKTINFO; in send_msg_cmsg()
924 cm->cmsg_type = IPV6_PKTINFO; in send_msg_cmsg()
Dtls.c1198 cmsg->cmsg_type = TLS_SET_RECORD_TYPE; in TEST_F()
1213 EXPECT_EQ(cmsg->cmsg_type, TLS_GET_RECORD_TYPE); in TEST_F()
1226 EXPECT_EQ(cmsg->cmsg_type, TLS_GET_RECORD_TYPE); in TEST_F()
Dudpgso.c474 cm->cmsg_type = UDP_SEGMENT; in send_one()
/tools/testing/selftests/landlock/
Dbase_test.c305 cmsg->cmsg_type = SCM_RIGHTS; in TEST()
/tools/perf/trace/beauty/include/linux/
Dsocket.h95 int cmsg_type; /* protocol-specific type */ member
/tools/testing/selftests/bpf/prog_tests/
Dsk_lookup.c391 cm->cmsg_type == IP_ORIGDSTADDR) || in udp_recv_send()
393 cm->cmsg_type == IPV6_ORIGDSTADDR)) { in udp_recv_send()
398 cm->cmsg_level, cm->cmsg_type); in udp_recv_send()
/tools/testing/selftests/bpf/
Dtest_sock_addr.c1002 cmsg->cmsg_type = IP_PKTINFO; in init_pktinfo()
1011 cmsg->cmsg_type = IPV6_PKTINFO; 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()