Home
last modified time | relevance | path

Searched refs:TCPOPT_HEADER_LEN (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_tcp.c45 #define TCPOPT_HEADER_LEN 2 macro
283 if (len <= TCPOPT_HEADER_LEN ||
284 opt[1] <= TCPOPT_HEADER_LEN || len < opt[1]) {
289 sack_len = opt[1] - TCPOPT_HEADER_LEN;
290 sack_opt = opt + TCPOPT_HEADER_LEN;
391 if (len <= TCPOPT_HEADER_LEN || in print_tcpoptions_summary()
392 opt[1] <= TCPOPT_HEADER_LEN || len < opt[1]) { in print_tcpoptions_summary()
396 sack_len = opt[1] - TCPOPT_HEADER_LEN; in print_tcpoptions_summary()
397 sack_opt = opt + TCPOPT_HEADER_LEN; in print_tcpoptions_summary()
/illumos-gate/usr/src/uts/common/inet/cc/
H A Dcc_sunreno.c133 2 + TCPOPT_HEADER_LEN; in sunreno_after_idle()
/illumos-gate/usr/src/cmd/mdb/common/modules/ip/
H A Dip.c1026 #define TCPOPT_HEADER_LEN 2 macro
1061 mdb_nhconvert(&mss, opts + TCPOPT_HEADER_LEN, in tcphdr_print_options()
1084 opts += TCPOPT_HEADER_LEN; in tcphdr_print_options()
1109 if (len <= TCPOPT_HEADER_LEN || len < opts[1] || in tcphdr_print_options()
1110 opts[1] <= TCPOPT_HEADER_LEN) { in tcphdr_print_options()
1114 sack_len = opts[1] - TCPOPT_HEADER_LEN; in tcphdr_print_options()
1115 opts += TCPOPT_HEADER_LEN; in tcphdr_print_options()
/illumos-gate/usr/src/stand/lib/tcp/
H A Dtcp.c145 #define TCPOPT_HEADER_LEN 2 macro
2086 sack_len = up[1] - TCPOPT_HEADER_LEN; in tcp_parse_options()
2087 up += TCPOPT_HEADER_LEN; in tcp_parse_options()
4714 2 + TCPOPT_HEADER_LEN; in tcp_wput_data()
5041 wptr[3] = TCPOPT_HEADER_LEN + num_sack_blk * in tcp_wput_data()
5632 TCPOPT_NOP_LEN * 2 + TCPOPT_HEADER_LEN; in tcp_ack_mp()
5687 wptr[3] = TCPOPT_HEADER_LEN + num_sack_blk * in tcp_ack_mp()
5758 TCPOPT_NOP_LEN * 2 + TCPOPT_HEADER_LEN; in tcp_xmit_mp()
6019 wptr[3] = TCPOPT_HEADER_LEN + num_sack_blk * in tcp_xmit_mp()
/illumos-gate/usr/src/uts/common/inet/
H A Dtcp_impl.h93 #define TCPOPT_HEADER_LEN 2 macro
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_output.c376 2 + TCPOPT_HEADER_LEN; in tcp_wput_data()
3088 TCPOPT_NOP_LEN * 2 + TCPOPT_HEADER_LEN; in tcp_xmit_mp()
3234 wptr[3] = TCPOPT_HEADER_LEN + num_sack_blk * in tcp_xmit_mp()
3738 wptr[3] = TCPOPT_HEADER_LEN + num_sack_blk * in tcp_fill_header()
H A Dtcp_input.c439 sack_len = up[1] - TCPOPT_HEADER_LEN; in tcp_parse_options()
440 up += TCPOPT_HEADER_LEN; in tcp_parse_options()
2220 TCPOPT_NOP_LEN * 2 + TCPOPT_HEADER_LEN; in tcp_ack_mp()
2273 wptr[3] = TCPOPT_HEADER_LEN + num_sack_blk * in tcp_ack_mp()