Searched refs:cmsg_type (Results 1 – 17 of 17) sorted by relevance
/tools/testing/selftests/net/ |
D | txtimestamp.c | 319 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()
|
D | timestamping.c | 179 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()
|
D | udpgso_bench_tx.c | 149 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()
|
D | msg_zerocopy.c | 179 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()
|
D | ipv6_flowlabel.c | 57 cm->cmsg_type = IPV6_FLOWINFO; in do_send() 111 cm->cmsg_type != IPV6_FLOWINFO) in do_recv()
|
D | so_txtime.c | 101 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()
|
D | rxtimestamp.c | 212 switch (cmsg->cmsg_type) { in do_recv() 227 error(1, 0, "Unexpected cmsg_type %d", cmsg->cmsg_type); in do_recv()
|
D | tcp_inq.c | 167 if (cm->cmsg_level == SOL_TCP && cm->cmsg_type == TCP_CM_INQ) in main()
|
D | udpgso_bench_rx.c | 238 && cmsg->cmsg_type == UDP_GRO) { in recv_msg()
|
D | nettest.c | 845 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()
|
D | tls.c | 1198 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()
|
D | udpgso.c | 474 cm->cmsg_type = UDP_SEGMENT; in send_one()
|
/tools/testing/selftests/landlock/ |
D | base_test.c | 305 cmsg->cmsg_type = SCM_RIGHTS; in TEST()
|
/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 95 int cmsg_type; /* protocol-specific type */ member
|
/tools/testing/selftests/bpf/prog_tests/ |
D | sk_lookup.c | 391 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/ |
D | test_sock_addr.c | 1002 cmsg->cmsg_type = IP_PKTINFO; in init_pktinfo() 1011 cmsg->cmsg_type = IPV6_PKTINFO; in init_pktinfo()
|
/tools/testing/selftests/net/mptcp/ |
D | mptcp_connect.c | 371 if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SO_TIMESTAMPNS_NEW) { in process_cmsg()
|