FreeBSD kernel IPv4 code
sack_filter.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  sack_filter
 

Macros

#define SACK_FILTER_BLOCKS   7
 

Functions

void sack_filter_clear (struct sack_filter *sf, tcp_seq seq)
 
int sack_filter_blks (struct sack_filter *sf, struct sackblk *in, int numblks, tcp_seq th_ack)
 
void sack_filter_reject (struct sack_filter *sf, struct sackblk *in)
 

Macro Definition Documentation

◆ SACK_FILTER_BLOCKS

#define SACK_FILTER_BLOCKS   7

Definition at line 42 of file sack_filter.h.

Function Documentation

◆ sack_filter_blks()

int sack_filter_blks ( struct sack_filter sf,
struct sackblk in,
int  numblks,
tcp_seq  th_ack 
)

Definition at line 499 of file sack_filter.c.

References sack_blk_set, sack_board_collapse(), SACK_FILTER_BLOCKS, sack_filter_new(), sack_filter_old(), sack_filter_prune(), SEQ_GEQ, SEQ_GT, sack_filter::sf_ack, sack_filter::sf_bits, sack_filter::sf_blks, sack_filter::sf_cur, and sack_filter::sf_used.

Referenced by bbr_log_ack(), and rack_log_ack().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sack_filter_clear()

◆ sack_filter_reject()

void sack_filter_reject ( struct sack_filter sf,
struct sackblk in 
)

Definition at line 561 of file sack_filter.c.

References sackblk::end, sack_blk_clr, sack_blk_used, SACK_FILTER_BLOCKS, SEQ_GT, SEQ_LT, sack_filter::sf_bits, sack_filter::sf_blks, sack_filter::sf_used, and sackblk::start.

Referenced by bbr_proc_sack_blk().

Here is the caller graph for this function: