Home
last modified time | relevance | path

Searched refs:tcp_offset (Results 1 – 1 of 1) sorted by relevance

/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/net/
H A Dgro.c87 static int tcp_offset = -1; variable
104 const int dport_off = tcp_offset + offsetof(struct tcphdr, dest); in setup_sock_filter()
290 fill_transportlayer(buf + tcp_offset, seq_offset, ack_offset, in create_packet()
311 tcph = (struct tcphdr *)(flag_buf + tcp_offset); in send_flags()
378 struct tcphdr *tcphdr = (struct tcphdr *)(buf + tcp_offset); in recompute_packet()
472 struct tcphdr *tcph = (struct tcphdr *)(buf + tcp_offset); in send_changed_checksum()
487 struct tcphdr *tcph = (struct tcphdr *)(buf + tcp_offset); in send_changed_seq()
556 struct ip_timestamp *ts = (struct ip_timestamp *)(optpkt + tcp_offset); in add_ipv4_ts_option()
568 memcpy(optpkt, buf, tcp_offset); in add_ipv4_ts_option()
569 memcpy(optpkt + tcp_offset + optlen, buf + tcp_offset, in add_ipv4_ts_option()
[all …]