Home
last modified time | relevance | path

Searched refs:sack (Results 1 – 25 of 33) sorted by relevance

12

/external/webrtc/net/dcsctp/packet/
Dchunk_validators_test.cc23 SackChunk sack(TSN(123), /*a_rwnd=*/456, in TEST() local
26 EXPECT_TRUE(ChunkValidators::Validate(sack)); in TEST()
28 SackChunk clean = ChunkValidators::Clean(std::move(sack)); in TEST()
33 SackChunk sack(TSN(123), /*a_rwnd=*/456, {SackChunk::GapAckBlock(2, 3)}, {}); in TEST() local
35 EXPECT_TRUE(ChunkValidators::Validate(sack)); in TEST()
37 SackChunk clean = ChunkValidators::Clean(std::move(sack)); in TEST()
43 SackChunk sack(TSN(123), /*a_rwnd=*/456, in TEST() local
47 EXPECT_TRUE(ChunkValidators::Validate(sack)); in TEST()
49 SackChunk clean = ChunkValidators::Clean(std::move(sack)); in TEST()
56 SackChunk sack(TSN(123), /*a_rwnd=*/456, {SackChunk::GapAckBlock(1, 2)}, {}); in TEST() local
[all …]
Dchunk_validators.cc21 SackChunk ChunkValidators::Clean(SackChunk&& sack) { in Clean() argument
22 if (Validate(sack)) { in Clean()
23 return std::move(sack); in Clean()
29 gap_ack_blocks.reserve(sack.gap_ack_blocks().size()); in Clean()
32 for (const SackChunk::GapAckBlock& gap_ack_block : sack.gap_ack_blocks()) { in Clean()
40 return SackChunk(sack.cumulative_tsn_ack(), sack.a_rwnd(), in Clean()
41 std::move(gap_ack_blocks), sack.duplicate_tsns()); in Clean()
63 return SackChunk(sack.cumulative_tsn_ack(), sack.a_rwnd(), std::move(merged), in Clean()
64 sack.duplicate_tsns()); in Clean()
67 bool ChunkValidators::Validate(const SackChunk& sack) { in Validate() argument
[all …]
Dchunk_validators.h20 static bool Validate(const SackChunk& sack);
29 static SackChunk Clean(SackChunk&& sack);
Dsctp_packet_test.cc146 ASSERT_HAS_VALUE_AND_ASSIGN(SackChunk sack, in TEST()
262 ASSERT_HAS_VALUE_AND_ASSIGN(SackChunk sack, in TEST()
264 EXPECT_EQ(sack.cumulative_tsn_ack(), TSN(999)); in TEST()
265 EXPECT_EQ(sack.a_rwnd(), 456u); in TEST()
/external/webrtc/net/dcsctp/rx/
Ddata_tracker_test.cc82 SackChunk sack = tracker_->CreateSelectiveAck(kArwnd); in TEST_F() local
83 EXPECT_EQ(sack.cumulative_tsn_ack(), TSN(10)); in TEST_F()
84 EXPECT_THAT(sack.gap_ack_blocks(), IsEmpty()); in TEST_F()
85 EXPECT_THAT(sack.duplicate_tsns(), IsEmpty()); in TEST_F()
90 SackChunk sack = tracker_->CreateSelectiveAck(kArwnd); in TEST_F() local
91 EXPECT_EQ(sack.cumulative_tsn_ack(), TSN(11)); in TEST_F()
92 EXPECT_THAT(sack.gap_ack_blocks(), IsEmpty()); in TEST_F()
93 EXPECT_THAT(sack.duplicate_tsns(), IsEmpty()); in TEST_F()
98 SackChunk sack = tracker_->CreateSelectiveAck(kArwnd); in TEST_F() local
99 EXPECT_EQ(sack.cumulative_tsn_ack(), TSN(13)); in TEST_F()
[all …]
/external/openthread/third_party/tcplp/bsdtcp/
Dtcp_sack.c333 struct sackblk sack, sack_blocks[TCP_MAX_SACK + 1], *sblkp; in tcp_sack_doack() local
352 &sack, sizeof(sack)); in tcp_sack_doack()
353 sack.start = ntohl(sack.start); in tcp_sack_doack()
354 sack.end = ntohl(sack.end); in tcp_sack_doack()
355 if (SEQ_GT(sack.end, sack.start) && in tcp_sack_doack()
356 SEQ_GT(sack.start, tp->snd_una) && in tcp_sack_doack()
357 SEQ_GT(sack.start, th_ack) && in tcp_sack_doack()
358 SEQ_LT(sack.start, tp->snd_max) && in tcp_sack_doack()
359 SEQ_GT(sack.end, tp->snd_una) && in tcp_sack_doack()
360 SEQ_LEQ(sack.end, tp->snd_max)) in tcp_sack_doack()
[all …]
Dtcp_output.c1429 struct sackblk *sack = (struct sackblk *)to->to_sacks; in tcp_addoptions() local
1444 sack_seq = htonl(sack->start); in tcp_addoptions()
1447 sack_seq = htonl(sack->end); in tcp_addoptions()
1451 sack++; in tcp_addoptions()
/external/tcpdump/
Dprint-sctp.c272 struct sctpSelectiveAck sack; member
694 const struct sctpSelectiveAck *sack; in sctp_print() local
699 if (chunkLengthRemaining < sizeof(*sack)) { in sctp_print()
703 sack=(const struct sctpSelectiveAck*)bp; in sctp_print()
704 ND_PRINT("[cum ack %u] ", GET_BE_U_4(sack->highestConseqTSN)); in sctp_print()
705 ND_PRINT("[a_rwnd %u] ", GET_BE_U_4(sack->updatedRwnd)); in sctp_print()
706 ND_PRINT("[#gap acks %u] ", GET_BE_U_2(sack->numberOfdesc)); in sctp_print()
707 ND_PRINT("[#dup tsns %u] ", GET_BE_U_2(sack->numDupTsns)); in sctp_print()
708 bp += sizeof(*sack); in sctp_print()
709 sctpPacketLengthRemaining -= sizeof(*sack); in sctp_print()
[all …]
/external/webrtc/net/dcsctp/tx/
Dretransmission_queue.cc236 bool RetransmissionQueue::IsSackValid(const SackChunk& sack) const { in IsSackValid()
246 tsn_unwrapper_.PeekUnwrap(sack.cumulative_tsn_ack()); in IsSackValid()
260 bool RetransmissionQueue::HandleSack(TimeMs now, const SackChunk& sack) { in HandleSack() argument
261 if (!IsSackValid(sack)) { in HandleSack()
270 tsn_unwrapper_.Unwrap(sack.cumulative_tsn_ack()); in HandleSack()
272 if (sack.gap_ack_blocks().empty()) { in HandleSack()
281 cumulative_tsn_ack, sack.gap_ack_blocks(), is_in_fast_recovery()); in HandleSack()
299 UpdateReceiverWindow(sack.a_rwnd()); in HandleSack()
Dretransmission_queue.h72 bool HandleSack(TimeMs now, const SackChunk& sack);
179 bool IsSackValid(const SackChunk& sack) const;
/external/iptables/extensions/
Dlibxt_SYNPROXY.t2 -j SYNPROXY --sack-perm --timestamp --mss 1460 --wscale 9;;FAIL
3 -p tcp -m tcp --dport 42 -m conntrack --ctstate INVALID,UNTRACKED -j SYNPROXY --sack-perm --timesta…
Dlibxt_SYNPROXY.txlate1 …-p tcp -m tcp --dport 80 -m state --state INVALID,UNTRACKED -j SYNPROXY --sack-perm --timestamp --…
2 …fname "iifname" tcp dport 80 ct state invalid,untracked counter synproxy sack-perm timestamp wsca…
Dlibxt_SYNPROXY.man13 \fB\-\-sack\-perm\fP
61 \-\-sack\-perm \-\-timestamp \-\-mss 1460 \-\-wscale 9
/external/tcpdump/tests/
Dssh.out48 …win 340, options [nop,nop,nop,nop,nop,nop,nop,nop,nop,nop,nop,nop,nop,nop,sack 1 {5282:5283}], len…
50 …win 340, options [nop,nop,nop,nop,nop,nop,nop,nop,nop,nop,nop,nop,nop,nop,sack 1 {5282:5283}], len…
54 …win 340, options [nop,nop,nop,nop,nop,nop,nop,nop,nop,nop,nop,nop,nop,nop,sack 1 {5186:5283}], len…
/external/linux-kselftest/tools/testing/selftests/netfilter/
Dnft_synproxy.sh93 … meta iif veth0 meta l4proto tcp ct state untracked,invalid synproxy mss 1460 sack-perm timestamp
/external/webrtc/net/dcsctp/socket/
Ddcsctp_socket.cc1456 SackChunk sack = ChunkValidators::Clean(*std::move(chunk)); in HandleSack() local
1458 if (tcb_->retransmission_queue().HandleSack(now, sack)) { in HandleSack()
1477 << *sack.cumulative_tsn_ack(); in HandleSack()
/external/iptables/utils/
Dpf.os411 65535:64:1:44:M*: Windows:98:noSack:Windows 98 (no sack)
/external/hyphenation-patterns/en-US/
Dhyph-en-us.pat.txt3540 5sack
/external/rust/crates/csv/examples/data/bench/
Dnfl.csv783 20120909_MIA@HOU,3,20,52,MIA,HOU,2,7,71,(5:52) R.Tannehill sacked at MIA 21 for -8 yards (sack spli…
1962 20120909_SF@GB,3,18,28,SF,GB,1,10,85,(3:28) A.Smith sacked at SF 10 for -5 yards (sack split by C.W…
2272 …31,PIT,DEN,2,11,66,(4:31) B.Roethlisberger sacked at PIT 27 for -7 yards (sack split by J.Mays and…
2467 …IN,BAL,4,15,32,(11:06) (Shotgun) A.Dalton sacked at BLT 44 for -12 yards (sack split by P.McPhee a…
2507 20120910_SD@OAK,1,53,24,SD,OAK,3,6,67,(8:24) (Shotgun) P.Rivers sacked at SD 28 for -5 yards (sack
2668 …6,39,(8:45) (No Huddle Shotgun) A.Rodgers sacked at CHI 49 for -10 yards (sack split by C.Wootton …
2683 …,CHI,GB,1,10,56,(4:32) (Shotgun) J.Cutler sacked at CHI 34 for -10 yards (sack split by C.Matthews…
3127 20120916_NO@CAR,4,4,49,NO,CAR,1,10,81,(4:49) (Shotgun) D.Brees sacked at NO 17 for -2 yards (sack s…
3369 …t MIN 48. C.Redding to MIN 48 for no gain (C.Ponder). Freeman credited with 10 sack yards.,6,7,2012
4497 20120916_DAL@SEA,4,7,46,DAL,SEA,2,10,81,(7:46) (Shotgun) T.Romo sacked at DAL 15 for -4 yards (sack
[all …]
/external/hyphenation-patterns/en-GB/
Dhyph-en-gb.pat.txt6862 5sack
/external/tflite-support/tensorflow_lite_support/cc/test/testdata/task/text/
Dvocab_for_regex_tokenizer.txt7808 sack 7807
/external/libtextclassifier/native/annotator/pod_ner/test_data/
Dvocab.txt12804 sack
25608 ##sack
/external/icu/icu4j/main/shared/data/
DTransliterator_Han_Latin_Definition.txt2069 㡞 < a\-sack\-used\-to\-feed\-the\-horses;
3828 㡒 < a\-calico\-sack\-for\-grain;
17744 橐 < a\-sack;
20792 大袋子 < sack;
25749 大袋子 > sack;
37347 㡞 > a\-sack\-used\-to\-feed\-the\-horses;
38632 㡒 > a\-calico\-sack\-for\-grain;
49670 橐 > a\-sack;
/external/scapy/test/
Dregression.uts5798 sack = TCP(b"\x00\x14\x00P\x00\x00\x00\x00\x00\x00\x00\x00\x80\x02 \x00\x00\x00\x00\x00\x05\nabcdef…
5799 sack[TCP].options[0][0] == "SAck" and sack[TCP].options[0][1] == (1633837924, 1701209960)
/external/kotlinx.coroutines/benchmarks/src/jmh/resources/
Dwords.shakespeare.txt.gz1a 2A 3Aaron 4AARON 5abaissiez 6abandon 7abandoned 8abase 9Abase 10 ...

12