Home
last modified time | relevance | path

Searched refs:dscp (Results 1 – 25 of 37) 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/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/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.h18 __u8 dscp; member
Dxt_dscp.h21 __u8 dscp; member
/external/netperf/src/NetServerDir/
Dsources36 ..\dscp.c \
/external/netperf/src/NetPerfDir/
Dsources36 ..\dscp.c \
/external/netperf/
DAndroid.mk26 src/dscp.c \
/external/netperf/src/
DMakefile.am13 …ctp.c nettest_sctp.h netperf_version.h nettest_sdp.c nettest_sdp.h nettest_omni.c net_uuid.c dscp.c
DMakefile.in57 net_uuid.$(OBJEXT) dscp.$(OBJEXT)
223 …ctp.c nettest_sctp.h netperf_version.h nettest_sdp.c nettest_sdp.h nettest_omni.c net_uuid.c dscp.c
316 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dscp.Po@am__quote@
/external/libvncserver/libvncclient/
Dsockets.c668 SetDSCP(int sock, int dscp) argument
700 if(setsockopt(sock, level, cmd, (void*)&dscp, sizeof(dscp)) != 0) {
/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()

12