Home
last modified time | relevance | path

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

123

/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.txlate1 iptables-translate -t filter -A INPUT -m dscp --dscp 0x32 -j ACCEPT
2 nft add rule ip filter INPUT ip dscp 0x32 counter accept
4 ip6tables-translate -t filter -A INPUT -m dscp ! --dscp 0x32 -j ACCEPT
5 nft add rule ip6 filter INPUT ip6 dscp != 0x32 counter accept
Dlibxt_TOS.txlate2 nft add rule ip6 filter INPUT counter ip6 dscp set 0x07
5 nft add rule ip6 filter INPUT counter ip6 dscp set 0x3f
8 nft add rule ip6 filter INPUT counter ip6 dscp set 0x04
11 nft add rule ip6 filter INPUT counter ip6 dscp set 0x00
14 nft add rule ip6 filter INPUT counter ip6 dscp set 0x00
17 nft add rule ip6 filter INPUT counter ip6 dscp set 0x00
20 nft add rule ip6 filter INPUT counter ip6 dscp set 0x04
23 nft add rule ip6 filter INPUT counter ip6 dscp set 0x04
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.txlate1 iptables-translate -A OUTPUT -j DSCP --set-dscp 1
2 nft add rule ip filter OUTPUT counter ip dscp set 0x01
4 ip6tables-translate -A OUTPUT -j DSCP --set-dscp 6
5 nft add rule ip6 filter OUTPUT counter ip6 dscp set 0x06
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_TOS.c191 uint8_t dscp = info->tos >> 2; in tos_xlate() local
193 xt_xlate_add(xl, "ip dscp set 0x%02x", dscp); in tos_xlate()
203 uint8_t dscp = info->tos >> 2; in tos_xlate6() local
205 xt_xlate_add(xl, "ip6 dscp set 0x%02x", dscp); in tos_xlate6()
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/rtc_base/
Dasync_packet_socket.cc23 PacketOptions::PacketOptions(DiffServCodePoint dscp) : dscp(dscp) {} in PacketOptions() argument
Dasync_packet_socket.h46 explicit PacketOptions(DiffServCodePoint dscp);
50 DiffServCodePoint dscp = DSCP_NO_CHANGE; member
/external/openthread/tests/unit/
Dtest_ip4_header.cpp102 for (uint8_t dscp : kDscps) in TestIp4Header() local
106 printf("Expecting {dscp:%-2d, ecn:%d} => ", dscp, ecn); in TestIp4Header()
108 header.SetDscp(dscp); in TestIp4Header()
109 VerifyEcnDscp(header, dscp, ecn); in TestIp4Header()
Dtest_ip6_header.cpp111 for (uint8_t dscp : kDscps) in TestIp6Header() local
115 printf("Expecting {dscp:%-2d, ecn:%d, flow:%-7d} => ", dscp, ecn, flow); in TestIp6Header()
117 header.SetDscp(dscp); in TestIp6Header()
119 VerifyVersionTcFlow(header, dscp, ecn, flow); in TestIp6Header()
/external/linux-kselftest/tools/testing/selftests/net/forwarding/
Dpedit_dsfield.sh189 local dscp
191 for dscp in 0 1 2 3 32 61 62 63; do
269 local dscp
271 for dscp in 0 1 2 3 32 61 62 63; do
/external/iproute2/examples/diffserv/
Dafcbq76 $dscp = $class*8+$drop*2;
79 "handle $dscp tcindex classid 1:$tcindex\n";
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/
Dqos_dscp_router.sh181 local dscp=$((prio << 2)) # ICMP Request ingress DSCP
192 ${PING} -Q $dscp ${sip:+-I $sip} $dip \
219 log_test "DSCP rewrite: $dscp-(prio $prio2)-$dscp2-(prio $prio3)-$dscp3"
/external/cronet/net/socket/
Dudp_server_socket.cc130 int UDPServerSocket::SetDiffServCodePoint(DiffServCodePoint dscp) { in SetDiffServCodePoint() argument
131 return socket_.SetDiffServCodePoint(dscp); in SetDiffServCodePoint()
Dudp_socket_win.cc1123 QOS_TRAFFIC_TYPE DscpToTrafficType(DiffServCodePoint dscp) { in DscpToTrafficType() argument
1125 switch (dscp) { in DscpToTrafficType()
1166 int UDPSocketWin::SetDiffServCodePoint(DiffServCodePoint dscp) { in SetDiffServCodePoint() argument
1167 if (dscp == DSCP_NO_CHANGE) in SetDiffServCodePoint()
1181 dscp_manager_->Set(dscp); in SetDiffServCodePoint()
1226 void DscpManager::Set(DiffServCodePoint dscp) { in Set() argument
1227 if (dscp == DSCP_NO_CHANGE || dscp == dscp_value_) in Set()
1230 dscp_value_ = dscp; in Set()
/external/iperf3/src/
DMakefile.in152 iperf_util.lo iperf_time.lo dscp.lo net.lo tcp_info.lo \
170 iperf_util.h iperf_time.c iperf_time.h dscp.c net.c net.h \
185 iperf3_profile-dscp.$(OBJEXT) iperf3_profile-net.$(OBJEXT) \
242 am__depfiles_remade = ./$(DEPDIR)/cjson.Plo ./$(DEPDIR)/dscp.Plo \
244 ./$(DEPDIR)/iperf3_profile-dscp.Po \
658 dscp.c \
892 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dscp.Plo@am__quote@ # am--include-marker
895 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/iperf3_profile-dscp.Po@am__quote@ # am--include-ma…
1156 iperf3_profile-dscp.o: dscp.c
1157 …perf3_profile-dscp.o -MD -MP -MF $(DEPDIR)/iperf3_profile-dscp.Tpo -c -o iperf3_profile-dscp.o `te…
[all …]
/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

123