Lines Matching refs:tcp_write_options
445 static void tcp_write_options(char *buf, int kind, int ts) in tcp_write_options() function
489 tcp_write_options(buf + total_hdr_len, TCPOPT_NOP, 0); in add_standard_tcp_options()
490 tcp_write_options(buf + total_hdr_len + 1, TCPOPT_NOP, 0); in add_standard_tcp_options()
491 tcp_write_options(buf + total_hdr_len + 2 /* two NOP opts */, in add_standard_tcp_options()
495 tcp_write_options(buf + total_hdr_len, TCPOPT_NOP, 0); in add_standard_tcp_options()
496 tcp_write_options(buf + total_hdr_len + 1, in add_standard_tcp_options()
498 tcp_write_options(buf + total_hdr_len + 1 + TCPOLEN_TIMESTAMP, in add_standard_tcp_options()
502 tcp_write_options(buf + total_hdr_len, TCPOPT_TIMESTAMP, ts); in add_standard_tcp_options()
503 tcp_write_options(buf + total_hdr_len + TCPOLEN_TIMESTAMP + 1, in add_standard_tcp_options()
505 tcp_write_options(buf + total_hdr_len + TCPOLEN_TIMESTAMP + 2, in add_standard_tcp_options()
595 tcp_write_options(extpkt2 + MAX_HDR_LEN, TCPOPT_NOP, 0); in send_diff_opt()
596 tcp_write_options(extpkt2 + MAX_HDR_LEN + 1, TCPOPT_WINDOW, 0); in send_diff_opt()