Home
last modified time | relevance | path

Searched refs:dscp (Results 1 – 25 of 39) sorted by relevance

12

/external/iptables/extensions/
Dlibxt_dscp.t2 -m dscp --dscp 0;=;OK
3 -m dscp --dscp 0x3f;=;OK
4 -m dscp --dscp -1;;FAIL
5 -m dscp --dscp 0x40;;FAIL
6 -m dscp --dscp 0x3f --dscp-class CS0;;FAIL
7 -m dscp --dscp-class CS0;-m dscp --dscp 0x00;OK
8 -m dscp --dscp-class BE;-m dscp --dscp 0x00;OK
9 -m dscp --dscp-class EF;-m dscp --dscp 0x2e;OK
10 -m dscp;;FAIL
Dlibxt_DSCP.t3 -j DSCP --set-dscp 0;=;OK
4 -j DSCP --set-dscp 0x3f;=;OK
5 -j DSCP --set-dscp -1;;FAIL
6 -j DSCP --set-dscp 0x40;;FAIL
7 -j DSCP --set-dscp 0x3f --set-dscp-class CS0;;FAIL
8 -j DSCP --set-dscp-class CS0;-j DSCP --set-dscp 0x00;OK
9 -j DSCP --set-dscp-class BE;-j DSCP --set-dscp 0x00;OK
10 -j DSCP --set-dscp-class EF;-j DSCP --set-dscp 0x2e;OK
Ddscp_helper.c20 unsigned int dscp; member
57 return ds_classes[i].dscp; in class_to_dscp()
67 dscp_to_name(unsigned int dscp)
72 if (dscp == ds_classes[i].dscp)
76 "Invalid DSCP value `%d'\n", dscp);
Dlibxt_DSCP.c47 XTOPT_POINTER(struct xt_DSCP_info, dscp)},
60 dinfo->dscp = class_to_dscp(cb->arg); in DSCP_parse()
73 print_dscp(uint8_t dscp, int numeric) in print_dscp() argument
75 printf(" 0x%02x", dscp); in print_dscp()
84 print_dscp(dinfo->dscp, numeric); in DSCP_print()
92 printf(" --set-dscp 0x%02x", dinfo->dscp); in DSCP_save()
102 xt_xlate_add(xl, "ip dscp set 0x%02x", dinfo->dscp); in DSCP_xlate()
112 xt_xlate_add(xl, "ip6 dscp set 0x%02x", dinfo->dscp); in DSCP_xlate6()
Dlibxt_dscp.c47 XTOPT_POINTER(struct xt_dscp_info, dscp)},
64 dinfo->dscp = class_to_dscp(cb->arg); in dscp_parse()
83 printf(" DSCP match %s0x%02x", dinfo->invert ? "!" : "", dinfo->dscp); in dscp_print()
91 printf("%s --dscp 0x%02x", dinfo->invert ? " !" : "", dinfo->dscp); in dscp_save()
101 dinfo->dscp); in __dscp_xlate()
Dlibxt_DSCP.man5 \fB\-\-set\-dscp\fP \fIvalue\fP
8 \fB\-\-set\-dscp\-class\fP \fIclass\fP
Dlibxt_dscp.man4 [\fB!\fP] \fB\-\-dscp\fP \fIvalue\fP
7 [\fB!\fP] \fB\-\-dscp\-class\fP \fIclass\fP
/external/webrtc/webrtc/base/
Dasyncpacketsocket.h37 PacketOptions() : dscp(DSCP_NO_CHANGE), packet_id(-1) {} in PacketOptions()
38 explicit PacketOptions(DiffServCodePoint dscp) : dscp(dscp), packet_id(-1) {} in PacketOptions()
40 DiffServCodePoint dscp; member
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/
Dqos_dscp_router.sh55 local dscp;
163 local dscp=$((prio << 2)) # ICMP Request ingress DSCP
173 ${PING} -Q $dscp ${sip:+-I $sip} $dip \
200 log_test "DSCP rewrite: $dscp-(prio $prio2)-$dscp2-(prio $prio3)-$dscp3"
Dqos_dscp_bridge.sh39 local dscp;
/external/webrtc/talk/media/base/
Dmediachannel.h127 SetFrom(&dscp, change.dscp); in SetAll()
154 dscp == o.dscp &&
185 ost << ToStringIfSet("dscp", dscp); in ToString()
223 rtc::Optional<bool> dscp; member
268 SetFrom(&dscp, change.dscp); in SetAll()
298 dscp == o.dscp &&
327 ost << ToStringIfSet("dscp", dscp); in ToString()
379 rtc::Optional<bool> dscp; member
Dfakenetworkinterface.h128 rtc::DiffServCodePoint dscp() const { return dscp_; } in dscp() function
/external/iproute2/examples/diffserv/
Dafcbq76 $dscp = $class*8+$drop*2;
79 "handle $dscp tcindex classid 1:$tcindex\n";
DREADME79 switch (dscp) {
/external/webrtc/webrtc/test/channel_transport/
Dudp_socket2_win.cc855 int32_t dscp, in SetTrafficControl() argument
865 if ((-1 == pcp) && (-1 == dscp)) in SetTrafficControl()
892 if ((0 == dscp) && (-2 == _pcp) && (-1 == pcp)) in SetTrafficControl()
1103 if (dscp >= 0) in SetTrafficControl()
1105 if (!send || (0 == dscp)) in SetTrafficControl()
1112 (0 == dscp ? QOS_NOT_SPECIFIED : POSITIVE_INFINITY_RATE); in SetTrafficControl()
1117 (0 == dscp ? QOS_NOT_SPECIFIED : 128000 * 10); in SetTrafficControl()
1133 if (!recv || (0 == dscp)) in SetTrafficControl()
1144 0 == dscp ? SERVICETYPE_BESTEFFORT : SERVICETYPE_CONTROLLEDLOAD; in SetTrafficControl()
1164 dsClass->DSField = dscp; in SetTrafficControl()
Dudp_socket2_win.h114 int32_t SetTrafficControl(int32_t dscp, int32_t pcp,
/external/iperf3/src/
DMakefile.in150 iperf_util.lo iperf_time.lo dscp.lo net.lo tcp_info.lo \
168 iperf_util.h iperf_time.c iperf_time.h dscp.c net.c net.h \
183 iperf3_profile-dscp.$(OBJEXT) iperf3_profile-net.$(OBJEXT) \
234 am__depfiles_remade = ./$(DEPDIR)/cjson.Plo ./$(DEPDIR)/dscp.Plo \
236 ./$(DEPDIR)/iperf3_profile-dscp.Po \
648 dscp.c \
874 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dscp.Plo@am__quote@ # am--include-marker
877 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/iperf3_profile-dscp.Po@am__quote@ # am--include-ma…
1137 iperf3_profile-dscp.o: dscp.c
1138 …perf3_profile-dscp.o -MD -MP -MF $(DEPDIR)/iperf3_profile-dscp.Tpo -c -o iperf3_profile-dscp.o `te…
[all …]
DMakefile.am36 dscp.c \
/external/linux-kselftest/tools/testing/selftests/net/forwarding/
Dlib.sh686 local dscp;
689 dscp=$((base + prio))
690 __icmp_capture_add_del $add_del $((dscp + 100)) "" $dev \
717 local dscp=$((base + prio))
718 local t=$(tc_rule_stats_get $dev $((dscp + 100)))
719 echo "[$dscp]=$t "
/external/iptables/include/linux/netfilter/
Dxt_DSCP.h18 __u8 dscp; member
Dxt_dscp.h21 __u8 dscp; member
/external/kernel-headers/original/uapi/linux/netfilter/
Dxt_DSCP.h19 __u8 dscp; member
Dxt_dscp.h22 __u8 dscp; member
/external/webrtc/webrtc/p2p/base/
Dport_unittest.cc1558 int dscp; in TEST_F() local
1562 EXPECT_EQ(0, udpport->GetOption(rtc::Socket::OPT_DSCP, &dscp)); in TEST_F()
1566 EXPECT_EQ(0, tcpport->GetOption(rtc::Socket::OPT_DSCP, &dscp)); in TEST_F()
1567 EXPECT_EQ(rtc::DSCP_AF31, dscp); in TEST_F()
1572 EXPECT_EQ(0, stunport->GetOption(rtc::Socket::OPT_DSCP, &dscp)); in TEST_F()
1573 EXPECT_EQ(rtc::DSCP_AF41, dscp); in TEST_F()
1580 EXPECT_EQ(0, turnport1->GetOption(rtc::Socket::OPT_DSCP, &dscp)); in TEST_F()
1581 EXPECT_EQ(rtc::DSCP_CS7, dscp); in TEST_F()
1587 EXPECT_EQ(0, turnport2->GetOption(rtc::Socket::OPT_DSCP, &dscp)); in TEST_F()
1588 EXPECT_EQ(rtc::DSCP_CS6, dscp); in TEST_F()
/external/webrtc/talk/media/webrtc/
Dwebrtcvoiceengine.cc1367 bool dscp_option_changed = (options_.dscp != options.dscp); in SetOptions()
1380 rtc::DiffServCodePoint dscp = rtc::DSCP_DEFAULT; in SetOptions() local
1381 if (options_.dscp.value_or(false)) { in SetOptions()
1382 dscp = kAudioDscpValue; in SetOptions()
1384 if (MediaChannel::SetDscp(dscp) != 0) { in SetOptions()

12