Go to the source code of this file.
|
static u32 | scoreboard_hole_index (sack_scoreboard_t *sb, sack_scoreboard_hole_t *hole) |
|
static u32 | scoreboard_hole_bytes (sack_scoreboard_hole_t *hole) |
|
static sack_scoreboard_hole_t * | scoreboard_get_hole (sack_scoreboard_t *sb, u32 index) |
|
static sack_scoreboard_hole_t * | scoreboard_next_hole (sack_scoreboard_t *sb, sack_scoreboard_hole_t *hole) |
|
static sack_scoreboard_hole_t * | scoreboard_prev_hole (sack_scoreboard_t *sb, sack_scoreboard_hole_t *hole) |
|
static sack_scoreboard_hole_t * | scoreboard_first_hole (sack_scoreboard_t *sb) |
|
static sack_scoreboard_hole_t * | scoreboard_last_hole (sack_scoreboard_t *sb) |
|
sack_scoreboard_hole_t * | scoreboard_next_rxt_hole (sack_scoreboard_t *sb, sack_scoreboard_hole_t *start, u8 have_sent_1_smss, u8 *can_rescue, u8 *snd_limited) |
| Figure out the next hole to retransmit. More...
|
|
void | scoreboard_clear (sack_scoreboard_t *sb) |
|
void | scoreboard_clear_reneging (sack_scoreboard_t *sb, u32 start, u32 end) |
|
void | scoreboard_init (sack_scoreboard_t *sb) |
|
void | scoreboard_init_rxt (sack_scoreboard_t *sb, u32 snd_una) |
|
void | tcp_update_sack_list (tcp_connection_t *tc, u32 start, u32 end) |
| Build SACK list as per RFC2018. More...
|
|
u32 | tcp_sack_list_bytes (tcp_connection_t *tc) |
|
void | tcp_rcv_sacks (tcp_connection_t *tc, u32 ack) |
|
u8 * | tcp_scoreboard_replay (u8 *s, tcp_connection_t *tc, u8 verbose) |
|
u8 | tcp_scoreboard_is_sane_post_recovery (tcp_connection_t *tc) |
| Test that scoreboard is sane after recovery. More...
|
|
◆ tcp_scoreboard_trace_add
#define tcp_scoreboard_trace_add |
( |
|
_tc, |
|
|
|
_ack |
|
) |
| |
◆ scoreboard_clear()
◆ scoreboard_clear_reneging()
◆ scoreboard_first_hole()
◆ scoreboard_get_hole()
◆ scoreboard_hole_bytes()
◆ scoreboard_hole_index()
◆ scoreboard_init()
◆ scoreboard_init_rxt()
◆ scoreboard_last_hole()
◆ scoreboard_next_hole()
◆ scoreboard_next_rxt_hole()
Figure out the next hole to retransmit.
Follows logic proposed in RFC6675 Sec. 4, NextSeg()
Definition at line 194 of file tcp_sack.c.
◆ scoreboard_prev_hole()
◆ tcp_rcv_sacks()
◆ tcp_sack_list_bytes()
◆ tcp_scoreboard_is_sane_post_recovery()
Test that scoreboard is sane after recovery.
Returns 1 if scoreboard is empty or if first hole beyond snd_una.
Definition at line 317 of file tcp_sack.c.
◆ tcp_scoreboard_replay()
◆ tcp_update_sack_list()
Build SACK list as per RFC2018.
Makes sure the first block contains the segment that generated the current ACK and the following ones are the ones most recently reported in SACK blocks.
- Parameters
-
tc | TCP connection for which the SACK list is updated |
start | Start sequence number of the newest SACK block |
end | End sequence of the newest SACK block |
Definition at line 568 of file tcp_sack.c.
◆ format_tcp_scoreboard