Lines Matching refs:thoff
98 __u16 thoff = skb->flow_keys->thoff; in bpf_flow_dissect_get_header() local
102 if (thoff > (USHRT_MAX - hdr_size)) in bpf_flow_dissect_get_header()
105 hdr = data + thoff; in bpf_flow_dissect_get_header()
109 if (bpf_skb_load_bytes(skb, thoff, buffer, hdr_size)) in bpf_flow_dissect_get_header()
202 keys->thoff += sizeof(*gre); /* Step over GRE Flags and Proto */ in parse_ip_proto()
204 keys->thoff += 4; /* Step over chksum and Padding */ in parse_ip_proto()
206 keys->thoff += 4; /* Step over key */ in parse_ip_proto()
208 keys->thoff += 4; /* Step over sequence number */ in parse_ip_proto()
220 keys->thoff += sizeof(*eth); in parse_ip_proto()
296 keys->thoff += iph->ihl << 2; in PROG()
297 if (data + keys->thoff > data_end) in PROG()
336 keys->thoff += sizeof(struct ipv6hdr); in PROG()
358 keys->thoff += (1 + ip6h->hdrlen) << 3; in PROG()
373 keys->thoff += sizeof(*fragh); in PROG()
419 keys->thoff += sizeof(*vlan); in PROG()
427 keys->thoff += sizeof(*vlan); in PROG()