Searched refs:tcp_write_options (Results 1 – 2 of 2) sorted by relevance
/linux/tools/testing/selftests/net/ |
H A D | gro.c | 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() [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_tcp_custom_syncookie.c | 364 static void tcp_write_options(struct tcp_syncookie *ctx) in tcp_write_options() function 412 tcp_write_options(ctx); in tcp_handle_syn()
|