Home
last modified time | relevance | path

Searched refs:OPT_DSCP (Results 1 – 15 of 15) sorted by relevance

/external/webrtc/pc/
Dcomposite_rtp_transport_test.cc147 EXPECT_EQ(0, composite_->SetRtpOption(rtc::Socket::OPT_DSCP, 2)); in TEST_F()
150 EXPECT_TRUE(packet_transport_1_->GetOption(rtc::Socket::OPT_DSCP, &value)); in TEST_F()
153 EXPECT_TRUE(packet_transport_2_->GetOption(rtc::Socket::OPT_DSCP, &value)); in TEST_F()
159 EXPECT_EQ(0, composite_->SetRtcpOption(rtc::Socket::OPT_DSCP, 2)); in TEST_F()
162 EXPECT_TRUE(rtcp_transport_1_->GetOption(rtc::Socket::OPT_DSCP, &value)); in TEST_F()
165 EXPECT_TRUE(rtcp_transport_2_->GetOption(rtc::Socket::OPT_DSCP, &value)); in TEST_F()
/external/webrtc/rtc_base/
Dsocket.h117 OPT_DSCP, // DSCP code enumerator
Dphysical_socket_server.cc297 } else if (opt == OPT_DSCP) { in GetOption()
315 } else if (opt == OPT_DSCP) { in SetOption()
573 case OPT_DSCP: in TranslateOption()
Dsocket_unittest.cc1034 ASSERT_NE(-1, socket->GetOption(Socket::OPT_DSCP, &current_dscp)); in GetSetOptionsInternal()
1035 ASSERT_NE(-1, socket->SetOption(Socket::OPT_DSCP, desired_dscp)); in GetSetOptionsInternal()
1036 ASSERT_NE(-1, socket->GetOption(Socket::OPT_DSCP, &current_dscp)); in GetSetOptionsInternal()
Dwin32_socket_server.cc565 case OPT_DSCP: in TranslateOption()
/external/webrtc/media/base/
Dfake_network_interface.h161 } else if (opt == rtc::Socket::OPT_DSCP) { in SetOption()
Dmedia_channel.h305 SetOptionLocked(NetworkInterface::ST_RTP, rtc::Socket::OPT_DSCP, value); in UpdateDscp()
307 ret = SetOptionLocked(NetworkInterface::ST_RTCP, rtc::Socket::OPT_DSCP, in UpdateDscp()
/external/webrtc/p2p/base/
Dport_unittest.cc1670 EXPECT_EQ(0, udpport->SetOption(rtc::Socket::OPT_DSCP, rtc::DSCP_CS6)); in TEST_F()
1671 EXPECT_EQ(0, udpport->GetOption(rtc::Socket::OPT_DSCP, &dscp)); in TEST_F()
1673 EXPECT_EQ(0, tcpport->SetOption(rtc::Socket::OPT_DSCP, rtc::DSCP_AF31)); in TEST_F()
1674 EXPECT_EQ(0, tcpport->GetOption(rtc::Socket::OPT_DSCP, &dscp)); in TEST_F()
1677 EXPECT_EQ(0, stunport->SetOption(rtc::Socket::OPT_DSCP, rtc::DSCP_AF41)); in TEST_F()
1678 EXPECT_EQ(0, stunport->GetOption(rtc::Socket::OPT_DSCP, &dscp)); in TEST_F()
1684 EXPECT_EQ(0, turnport1->SetOption(rtc::Socket::OPT_DSCP, rtc::DSCP_CS7)); in TEST_F()
1685 EXPECT_EQ(0, turnport1->GetOption(rtc::Socket::OPT_DSCP, &dscp)); in TEST_F()
1690 EXPECT_EQ(0, turnport2->SetOption(rtc::Socket::OPT_DSCP, rtc::DSCP_CS6)); in TEST_F()
1691 EXPECT_EQ(0, turnport2->GetOption(rtc::Socket::OPT_DSCP, &dscp)); in TEST_F()
Dstun_port_unittest.cc458 port()->SetOption(rtc::Socket::OPT_DSCP, rtc::DSCP_AF41); in TEST_F()
Dstun_port.cc327 if (opt == rtc::Socket::OPT_DSCP) { in SetOption()
Dp2p_transport_channel_unittest.cc1889 GetEndpoint(0)->cd1_.ch_->SetOption(rtc::Socket::OPT_DSCP, rtc::DSCP_CS6); in TEST_F()
1890 GetEndpoint(1)->cd1_.ch_->SetOption(rtc::Socket::OPT_DSCP, rtc::DSCP_CS6); in TEST_F()
1893 GetEndpoint(0)->cd1_.ch_->SetOption(rtc::Socket::OPT_DSCP, rtc::DSCP_AF41); in TEST_F()
1894 GetEndpoint(1)->cd1_.ch_->SetOption(rtc::Socket::OPT_DSCP, rtc::DSCP_AF41); in TEST_F()
Dturn_port.cc594 if (opt == rtc::Socket::OPT_DSCP) in SetOption()
Dp2p_transport_channel.cc1578 OptionMap::const_iterator it = options_.find(rtc::Socket::OPT_DSCP); in DefaultDscpValue()
/external/iperf3/src/
Diperf_api.h70 #define OPT_DSCP 11 macro
Diperf_api.c896 {"dscp", required_argument, NULL, OPT_DSCP}, in iperf_parse_arguments()
1178 case OPT_DSCP: in iperf_parse_arguments()