Lines Matching refs:tcp_write_options
424 static void tcp_write_options(char *buf, int kind, int ts) in tcp_write_options() function
468 tcp_write_options(buf + total_hdr_len, TCPOPT_NOP, 0); in add_standard_tcp_options()
469 tcp_write_options(buf + total_hdr_len + 1, TCPOPT_NOP, 0); in add_standard_tcp_options()
470 tcp_write_options(buf + total_hdr_len + 2 /* two NOP opts */, in add_standard_tcp_options()
474 tcp_write_options(buf + total_hdr_len, TCPOPT_NOP, 0); in add_standard_tcp_options()
475 tcp_write_options(buf + total_hdr_len + 1, in add_standard_tcp_options()
477 tcp_write_options(buf + total_hdr_len + 1 + TCPOLEN_TIMESTAMP, in add_standard_tcp_options()
481 tcp_write_options(buf + total_hdr_len, TCPOPT_TIMESTAMP, ts); in add_standard_tcp_options()
482 tcp_write_options(buf + total_hdr_len + TCPOLEN_TIMESTAMP + 1, in add_standard_tcp_options()
484 tcp_write_options(buf + total_hdr_len + TCPOLEN_TIMESTAMP + 2, in add_standard_tcp_options()
574 tcp_write_options(extpkt2 + MAX_HDR_LEN, TCPOPT_NOP, 0); in send_diff_opt()
575 tcp_write_options(extpkt2 + MAX_HDR_LEN + 1, TCPOPT_WINDOW, 0); in send_diff_opt()