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.c1895 if (TCP_MAXOLEN - optlen < TCPOLEN_SACKHDR + TCPOLEN_SACK) in tcp_addoptions()
1900 (TCP_MAXOLEN - optlen) / TCPOLEN_SACK); in tcp_addoptions()
1901 *optp++ = TCPOLEN_SACKHDR + sackblks * TCPOLEN_SACK; in tcp_addoptions()
1909 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.c3629 if (optlen <= 2 || (optlen - 2) % TCPOLEN_SACK != 0) in tcp_dooptions()
3634 to->to_nsacks = (optlen - 2) / TCPOLEN_SACK; in tcp_dooptions()
H A Dtcp_subr.c3527 optlen += tp->rcv_numsacks * TCPOLEN_SACK; in tcp_maxseg()
/freebsd/sys/netpfil/ipfw/
H A Dip_fw2.c395 if (optlen > 2 && (optlen - 2) % TCPOLEN_SACK == 0) in tcpopts_parse()
/freebsd/sys/netpfil/pf/
H A Dpf.c3306 #define TCPOLEN_SACKLEN (TCPOLEN_SACK + 2) in pf_modulate_sack()
3324 for (i = 2; i + TCPOLEN_SACK <= olen; in pf_modulate_sack()
3325 i += TCPOLEN_SACK) { in pf_modulate_sack()
/freebsd/sys/netinet/tcp_stacks/
H A Dbbr.c7535 bcopy((to->to_sacks + i * TCPOLEN_SACK), in bbr_log_ack()
H A Drack.c10863 bcopy((to->to_sacks + i * TCPOLEN_SACK), in rack_log_ack()