Home
last modified time | relevance | path

Searched refs:TCPOLEN_SACK (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/netinet/
H A Dtcp.h116 #define TCPOLEN_SACK 8 /* 2*sizeof(tcp_seq) */ macro
H A Dtcp_output.c1888 if (TCP_MAXOLEN - optlen < TCPOLEN_SACKHDR + TCPOLEN_SACK) in tcp_addoptions()
1893 (TCP_MAXOLEN - optlen) / TCPOLEN_SACK); in tcp_addoptions()
1894 *optp++ = TCPOLEN_SACKHDR + sackblks * TCPOLEN_SACK; in tcp_addoptions()
1902 optlen += TCPOLEN_SACK; in tcp_addoptions()
H A Dtcp_sack.c604 bcopy((to->to_sacks + i * TCPOLEN_SACK), in tcp_sack_doack()
H A Dtcp_input.c3612 if (optlen <= 2 || (optlen - 2) % TCPOLEN_SACK != 0) in tcp_dooptions()
3617 to->to_nsacks = (optlen - 2) / TCPOLEN_SACK; in tcp_dooptions()
H A Dtcp_subr.c3507 optlen += tp->rcv_numsacks * TCPOLEN_SACK; in tcp_maxseg()
/freebsd/sys/netpfil/ipfw/
H A Dip_fw2.c397 if (optlen > 2 && (optlen - 2) % TCPOLEN_SACK == 0) in tcpopts_parse()
/freebsd/sys/netpfil/pf/
H A Dpf.c3918 #define TCPOLEN_SACKLEN (TCPOLEN_SACK + 2) in pf_modulate_sack()
3936 for (i = 2; i + TCPOLEN_SACK <= olen; in pf_modulate_sack()
3937 i += TCPOLEN_SACK) { in pf_modulate_sack()
/freebsd/sys/netinet/tcp_stacks/
H A Dbbr.c7516 bcopy((to->to_sacks + i * TCPOLEN_SACK), in bbr_log_ack()
H A Drack.c10842 bcopy((to->to_sacks + i * TCPOLEN_SACK), in rack_log_ack()