Searched refs:tcp_offset (Results 1 – 5 of 5) sorted by relevance
89 __u64 tcp_offset = 0; in xdp_ingress_v6() local92 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()
122 static int tcp_offset = -1; in setup_sock_filter() 140 const int dport_off = tcp_offset + offsetof(struct tcphdr, dest); in setup_sock_filter() 348 fill_transportlayer(buf + tcp_offset, seq_offset, ack_offset, in send_flags() 404 tcph = (struct tcphdr *)(flag_buf[i] + tcp_offset);471 struct tcphdr *tcphdr = (struct tcphdr *)(buf + tcp_offset); in tcp_write_options() 572 struct tcphdr *tcph = (struct tcphdr *)(buf + tcp_offset); in send_changed_ts() 587 struct tcphdr *tcph = (struct tcphdr *)(buf + tcp_offset); in send_diff_opt() 656 struct ip_timestamp *ts = (struct ip_timestamp *)(optpkt + tcp_offset); in send_flush_id_case() 668 memcpy(optpkt, buf, tcp_offset); in send_flush_id_case() 669 memcpy(optpkt + tcp_offset in send_flush_id_case() 94 static int tcp_offset = -1; global() variable [all...]
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
94 u8 tcp_offset; member
1975 swqe->tcp_offset = swqe->ip_end + 1 + in xmit_common()1983 swqe->tcp_offset = swqe->ip_end + 1 + in xmit_common()