Lines Matching refs:thoff
97 __u16 thoff = skb->flow_keys->thoff; in bpf_flow_dissect_get_header() local
101 if (thoff > (USHRT_MAX - hdr_size)) in bpf_flow_dissect_get_header()
104 hdr = data + thoff; in bpf_flow_dissect_get_header()
108 if (bpf_skb_load_bytes(skb, thoff, buffer, hdr_size)) in bpf_flow_dissect_get_header()
188 keys->thoff += sizeof(*gre); /* Step over GRE Flags and Proto */ in parse_ip_proto()
190 keys->thoff += 4; /* Step over chksum and Padding */ in parse_ip_proto()
192 keys->thoff += 4; /* Step over key */ in parse_ip_proto()
194 keys->thoff += 4; /* Step over sequence number */ in parse_ip_proto()
206 keys->thoff += sizeof(*eth); in parse_ip_proto()
282 keys->thoff += iph->ihl << 2; in PROG()
283 if (data + keys->thoff > data_end) in PROG()
322 keys->thoff += sizeof(struct ipv6hdr); in PROG()
344 keys->thoff += (1 + ip6h->hdrlen) << 3; in PROG()
359 keys->thoff += sizeof(*fragh); in PROG()
403 keys->thoff += sizeof(*vlan); in PROG()
411 keys->thoff += sizeof(*vlan); in PROG()