Searched refs:TCP_MAXOLEN (Results 1 – 5 of 5) sorted by relevance
83 char ti_o[TCP_MAXOLEN]; /* space for tcp options */
217 #define TCP_MAXOLEN (TCP_MAXHLEN - sizeof(struct tcphdr)) macro
379 u_char *__counted_by(TCP_MAXOLEN) opt) in tcp_tfo_write_cookie()630 uint8_t max_len = TCP_MAXOLEN - *optlen; in tcp_add_accecn_option()739 if (optlen == TCP_MAXOLEN) { in tcp_addoptions()748 if (TCP_MAXOLEN - optlen < TCPOLEN_MAXSEG) { in tcp_addoptions()764 if (TCP_MAXOLEN - optlen < TCPOLEN_WINDOW) { in tcp_addoptions()777 if (TCP_MAXOLEN - optlen < TCPOLEN_SACK_PERMITTED) { in tcp_addoptions()789 if (TCP_MAXOLEN - optlen < TCPOLEN_TIMESTAMP) { in tcp_addoptions()814 if (TCP_MAXOLEN - optlen < TCPOLEN_SACKHDR + TCPOLEN_SACK) { in tcp_addoptions()820 (TCP_MAXOLEN - optlen) / TCPOLEN_SACK); in tcp_addoptions()859 ASSERT(optlen <= TCP_MAXOLEN); in tcp_addoptions()[all …]
302 static_assert((sizeof(struct tcpiphdr) + TCP_MAXOLEN) <= _MHLEN); in in_dinit()
864 uint32_t ts_offset, u_char *__counted_by(TCP_MAXOLEN) optp) in tcp_filloptions()888 optlen = tcp_addoptions(&to, optp, optp + TCP_MAXOLEN); in tcp_filloptions()