Searched refs:TCPOPT_HEADER_LEN (Results 1 – 6 of 6) sorted by relevance
48 #define TCPOPT_HEADER_LEN 2 macro282 if (len <= TCPOPT_HEADER_LEN ||283 opt[1] <= TCPOPT_HEADER_LEN || len < opt[1]) {288 sack_len = opt[1] - TCPOPT_HEADER_LEN;289 sack_opt = opt + TCPOPT_HEADER_LEN;390 if (len <= TCPOPT_HEADER_LEN || in print_tcpoptions_summary()391 opt[1] <= TCPOPT_HEADER_LEN || len < opt[1]) { in print_tcpoptions_summary()395 sack_len = opt[1] - TCPOPT_HEADER_LEN; in print_tcpoptions_summary()396 sack_opt = opt + TCPOPT_HEADER_LEN; in print_tcpoptions_summary()
1025 #define TCPOPT_HEADER_LEN 2 macro1060 mdb_nhconvert(&mss, opts + TCPOPT_HEADER_LEN, in tcphdr_print_options()1083 opts += TCPOPT_HEADER_LEN; in tcphdr_print_options()1108 if (len <= TCPOPT_HEADER_LEN || len < opts[1] || in tcphdr_print_options()1109 opts[1] <= TCPOPT_HEADER_LEN) { in tcphdr_print_options()1113 sack_len = opts[1] - TCPOPT_HEADER_LEN; in tcphdr_print_options()1114 opts += TCPOPT_HEADER_LEN; in tcphdr_print_options()
146 #define TCPOPT_HEADER_LEN 2 macro2087 sack_len = up[1] - TCPOPT_HEADER_LEN; in tcp_parse_options()2088 up += TCPOPT_HEADER_LEN; in tcp_parse_options()4716 2 + TCPOPT_HEADER_LEN; in tcp_wput_data()5043 wptr[3] = TCPOPT_HEADER_LEN + num_sack_blk * in tcp_wput_data()5634 TCPOPT_NOP_LEN * 2 + TCPOPT_HEADER_LEN; in tcp_ack_mp()5689 wptr[3] = TCPOPT_HEADER_LEN + num_sack_blk * in tcp_ack_mp()5760 TCPOPT_NOP_LEN * 2 + TCPOPT_HEADER_LEN; in tcp_xmit_mp()6020 wptr[3] = TCPOPT_HEADER_LEN + num_sack_blk * in tcp_xmit_mp()
93 #define TCPOPT_HEADER_LEN 2 macro
363 2 + TCPOPT_HEADER_LEN; in tcp_wput_data()3054 TCPOPT_NOP_LEN * 2 + TCPOPT_HEADER_LEN; in tcp_xmit_mp()3200 wptr[3] = TCPOPT_HEADER_LEN + num_sack_blk * in tcp_xmit_mp()3700 wptr[3] = TCPOPT_HEADER_LEN + num_sack_blk * in tcp_fill_header()
307 sack_len = up[1] - TCPOPT_HEADER_LEN; in tcp_parse_options()308 up += TCPOPT_HEADER_LEN; in tcp_parse_options()2140 TCPOPT_NOP_LEN * 2 + TCPOPT_HEADER_LEN; in tcp_ack_mp()2193 wptr[3] = TCPOPT_HEADER_LEN + num_sack_blk * in tcp_ack_mp()