Searched refs:TCPOLEN_SACK (Results 1 – 9 of 9) sorted by relevance
116 #define TCPOLEN_SACK 8 /* 2*sizeof(tcp_seq) */ macro
1895 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()
604 bcopy((to->to_sacks + i * TCPOLEN_SACK), in tcp_sack_doack()
3629 if (optlen <= 2 || (optlen - 2) % TCPOLEN_SACK != 0) in tcp_dooptions()3634 to->to_nsacks = (optlen - 2) / TCPOLEN_SACK; in tcp_dooptions()
3527 optlen += tp->rcv_numsacks * TCPOLEN_SACK; in tcp_maxseg()
395 if (optlen > 2 && (optlen - 2) % TCPOLEN_SACK == 0) in tcpopts_parse()
3306 #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()
7535 bcopy((to->to_sacks + i * TCPOLEN_SACK), in bbr_log_ack()
10863 bcopy((to->to_sacks + i * TCPOLEN_SACK), in rack_log_ack()