Searched refs:TCPOLEN_SACK (Results 1 – 9 of 9) sorted by relevance
116 #define TCPOLEN_SACK 8 /* 2*sizeof(tcp_seq) */ macro
1888 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()
604 bcopy((to->to_sacks + i * TCPOLEN_SACK), in tcp_sack_doack()
3612 if (optlen <= 2 || (optlen - 2) % TCPOLEN_SACK != 0) in tcp_dooptions()3617 to->to_nsacks = (optlen - 2) / TCPOLEN_SACK; in tcp_dooptions()
3507 optlen += tp->rcv_numsacks * TCPOLEN_SACK; in tcp_maxseg()
397 if (optlen > 2 && (optlen - 2) % TCPOLEN_SACK == 0) in tcpopts_parse()
3918 #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()
7516 bcopy((to->to_sacks + i * TCPOLEN_SACK), in bbr_log_ack()
10842 bcopy((to->to_sacks + i * TCPOLEN_SACK), in rack_log_ack()