Searched refs:TCP_MAXOLEN (Results 1 – 5 of 5) sorted by relevance
83 char ti_o[TCP_MAXOLEN]; /* space for tcp options */
377 u_char *__counted_by(TCP_MAXOLEN) opt) in tcp_tfo_write_cookie()570 uint8_t max_len = TCP_MAXOLEN - *optlen; in tcp_add_accecn_option()679 if (optlen == TCP_MAXOLEN) { in tcp_addoptions()688 if (TCP_MAXOLEN - optlen < TCPOLEN_MAXSEG) { in tcp_addoptions()704 if (TCP_MAXOLEN - optlen < TCPOLEN_WINDOW) { in tcp_addoptions()717 if (TCP_MAXOLEN - optlen < TCPOLEN_SACK_PERMITTED) { in tcp_addoptions()729 if (TCP_MAXOLEN - optlen < TCPOLEN_TIMESTAMP) { in tcp_addoptions()754 if (TCP_MAXOLEN - optlen < TCPOLEN_SACKHDR + TCPOLEN_SACK) { in tcp_addoptions()760 (TCP_MAXOLEN - optlen) / TCPOLEN_SACK); in tcp_addoptions()799 ASSERT(optlen <= TCP_MAXOLEN); in tcp_addoptions()[all …]
217 #define TCP_MAXOLEN (TCP_MAXHLEN - sizeof(struct tcphdr)) macro
302 static_assert((sizeof(struct tcpiphdr) + TCP_MAXOLEN) <= _MHLEN); in in_dinit()
765 uint32_t ts_offset, u_char *__counted_by(TCP_MAXOLEN) optp) in tcp_filloptions()789 optlen = tcp_addoptions(&to, optp, optp + TCP_MAXOLEN); in tcp_filloptions()