summaryrefslogtreecommitdiffstats
path: root/src/vnet/tcp/tcp_format.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2017-05-17 14:21:51 -0700
committerDave Barach <openvpp@barachs.net>2017-05-18 21:53:24 +0000
commit06d110189e54220c533c5fe0cea7f23e531284b9 (patch)
treed8d8221df3757eba65085b10cf10077f8ee6e1f8 /src/vnet/tcp/tcp_format.c
parent324fe29346e16228d5dca349ea509254c9cd4ea5 (diff)
Improve sack bytes accounting and testing
Change-Id: Iabeda0d0615b0f6fe20dd00611cb4c594d90b7eb Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/tcp/tcp_format.c')
-rw-r--r--src/vnet/tcp/tcp_format.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/vnet/tcp/tcp_format.c b/src/vnet/tcp/tcp_format.c
index 4de99235934..1ca2f58ea5d 100644
--- a/src/vnet/tcp/tcp_format.c
+++ b/src/vnet/tcp/tcp_format.c
@@ -128,20 +128,6 @@ format_tcp_header (u8 * s, va_list * args)
return s;
}
-u8 *
-format_tcp_sacks (u8 * s, va_list * args)
-{
- tcp_connection_t *tc = va_arg (*args, tcp_connection_t *);
- sack_block_t *sacks = tc->snd_sacks;
- sack_block_t *block;
- vec_foreach (block, sacks)
- {
- s = format (s, " start %u end %u\n", block->start - tc->irs,
- block->end - tc->irs);
- }
- return s;
-}
-
/*
* fd.io coding-style-patch-verification: ON
*