Searched refs:tcp_offset (Results 1 – 5 of 5) sorted by relevance
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_parse_tcp_hdr_opt.c | 89 __u64 tcp_offset = 0; in xdp_ingress_v6() local 92 tcp_offset = sizeof(struct ethhdr) + sizeof(struct ipv6hdr); in xdp_ingress_v6() 93 tcp_hdr = (struct tcphdr *)(data + tcp_offset); in xdp_ingress_v6() 102 opt_state.byte_offset = sizeof(struct tcphdr) + tcp_offset; in xdp_ingress_v6()
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | gro.c | 94 static int tcp_offset = -1; variable 113 const int dport_off = tcp_offset + offsetof(struct tcphdr, dest); in setup_sock_filter() 321 fill_transportlayer(buf + tcp_offset, seq_offset, ack_offset, in create_packet() 351 tcph = (struct tcphdr *)(flag_buf + tcp_offset); in send_flags() 418 struct tcphdr *tcphdr = (struct tcphdr *)(buf + tcp_offset); in recompute_packet() 519 struct tcphdr *tcph = (struct tcphdr *)(buf + tcp_offset); in send_changed_checksum() 534 struct tcphdr *tcph = (struct tcphdr *)(buf + tcp_offset); in send_changed_seq() 603 struct ip_timestamp *ts = (struct ip_timestamp *)(optpkt + tcp_offset); in add_ipv4_ts_option() 615 memcpy(optpkt, buf, tcp_offset); in add_ipv4_ts_option() 616 memcpy(optpkt + tcp_offset + optlen, buf + tcp_offset, in add_ipv4_ts_option() [all …]
|
| /linux/net/netfilter/ipvs/ |
| H A D | ip_vs_app.c | 364 const unsigned int tcp_offset = ip_hdrlen(skb); in app_tcp_pkt_out() 368 if (skb_ensure_writable(skb, tcp_offset + sizeof(*th))) in app_tcp_pkt_out() 371 th = (struct tcphdr *)(skb_network_header(skb) + tcp_offset); in app_tcp_pkt_out() 441 const unsigned int tcp_offset = ip_hdrlen(skb); in app_tcp_pkt_in() 445 if (skb_ensure_writable(skb, tcp_offset + sizeof(*th))) in app_tcp_pkt_in() 448 th = (struct tcphdr *)(skb_network_header(skb) + tcp_offset); in app_tcp_pkt_in() 365 const unsigned int tcp_offset = ip_hdrlen(skb); app_tcp_pkt_out() local 442 const unsigned int tcp_offset = ip_hdrlen(skb); app_tcp_pkt_in() local
|
| /linux/drivers/net/ethernet/ibm/ehea/ |
| H A D | ehea_qmr.h | 94 u8 tcp_offset; member
|
| H A D | ehea_main.c | 1975 swqe->tcp_offset = swqe->ip_end + 1 + in xmit_common() 1983 swqe->tcp_offset = swqe->ip_end + 1 + in xmit_common()
|