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