Lines Matching refs:tcp_write_options
398 static void tcp_write_options(char *buf, int kind, int ts) in tcp_write_options() function
442 tcp_write_options(buf + total_hdr_len, TCPOPT_NOP, 0); in add_standard_tcp_options()
443 tcp_write_options(buf + total_hdr_len + 1, TCPOPT_NOP, 0); in add_standard_tcp_options()
444 tcp_write_options(buf + total_hdr_len + 2 /* two NOP opts */, in add_standard_tcp_options()
448 tcp_write_options(buf + total_hdr_len, TCPOPT_NOP, 0); in add_standard_tcp_options()
449 tcp_write_options(buf + total_hdr_len + 1, in add_standard_tcp_options()
451 tcp_write_options(buf + total_hdr_len + 1 + TCPOLEN_TIMESTAMP, in add_standard_tcp_options()
455 tcp_write_options(buf + total_hdr_len, TCPOPT_TIMESTAMP, ts); in add_standard_tcp_options()
456 tcp_write_options(buf + total_hdr_len + TCPOLEN_TIMESTAMP + 1, in add_standard_tcp_options()
458 tcp_write_options(buf + total_hdr_len + TCPOLEN_TIMESTAMP + 2, in add_standard_tcp_options()
548 tcp_write_options(extpkt2 + MAX_HDR_LEN, TCPOPT_NOP, 0); in send_diff_opt()
549 tcp_write_options(extpkt2 + MAX_HDR_LEN + 1, TCPOPT_WINDOW, 0); in send_diff_opt()