thoff              40 include/linux/netfilter/x_tables.h 	unsigned int thoff;
thoff            1241 include/linux/skbuff.h __be32 __skb_flow_get_ports(const struct sk_buff *skb, int thoff, u8 ip_proto,
thoff            1245 include/linux/skbuff.h 					int thoff, u8 ip_proto)
thoff            1247 include/linux/skbuff.h 	return __skb_flow_get_ports(skb, thoff, ip_proto, NULL, 0);
thoff            2538 include/linux/skbuff.h 		skb_set_transport_header(skb, keys.control.thoff);
thoff              97 include/linux/virtio_net.h 			p_off = keys.control.thoff + thlen;
thoff             102 include/linux/virtio_net.h 			skb_set_transport_header(skb, keys.control.thoff);
thoff              16 include/net/flow_dissector.h 	u16	thoff;
thoff             108 include/net/netfilter/nf_flow_table.h 		      struct sk_buff *skb, unsigned int thoff,
thoff             111 include/net/netfilter/nf_flow_table.h 		      struct sk_buff *skb, unsigned int thoff,
thoff              67 include/net/netfilter/nf_tables.h 	pkt->xt.thoff = 0;
thoff              16 include/net/netfilter/nf_tables_ipv4.h 	pkt->xt.thoff = ip_hdrlen(pkt->skb);
thoff              24 include/net/netfilter/nf_tables_ipv4.h 	u32 len, thoff;
thoff              35 include/net/netfilter/nf_tables_ipv4.h 	thoff = iph->ihl * 4;
thoff              38 include/net/netfilter/nf_tables_ipv4.h 	else if (len < thoff)
thoff              43 include/net/netfilter/nf_tables_ipv4.h 	pkt->xt.thoff = thoff;
thoff              13 include/net/netfilter/nf_tables_ipv6.h 	int protohdr, thoff = 0;
thoff              16 include/net/netfilter/nf_tables_ipv6.h 	protohdr = ipv6_find_hdr(pkt->skb, &thoff, -1, &frag_off, &flags);
thoff              24 include/net/netfilter/nf_tables_ipv6.h 	pkt->xt.thoff = thoff;
thoff              34 include/net/netfilter/nf_tables_ipv6.h 	unsigned int thoff = 0;
thoff              51 include/net/netfilter/nf_tables_ipv6.h 	protohdr = ipv6_find_hdr(pkt->skb, &thoff, -1, &frag_off, &flags);
thoff              57 include/net/netfilter/nf_tables_ipv6.h 	pkt->xt.thoff = thoff;
thoff             107 include/net/netfilter/nf_tproxy.h nf_tproxy_handle_time_wait6(struct sk_buff *skb, int tproto, int thoff,
thoff             114 include/net/netfilter/nf_tproxy.h nf_tproxy_get_sock_v6(struct net *net, struct sk_buff *skb, int thoff,
thoff            3554 include/uapi/linux/bpf.h 	__u16	thoff;
thoff             221 net/bridge/netfilter/nft_reject_bridge.c 	int thoff;
thoff             233 net/bridge/netfilter/nft_reject_bridge.c 	thoff = ipv6_skip_exthdr(skb, ((u8*)(ip6h+1) - skb->data), &proto, &fo);
thoff             234 net/bridge/netfilter/nft_reject_bridge.c 	if (thoff < 0 || thoff >= skb->len || (fo & htons(~0x7)) != 0)
thoff             240 net/bridge/netfilter/nft_reject_bridge.c 	return nf_ip6_checksum(skb, hook, thoff, proto) == 0;
thoff             199 net/core/flow_dissector.c __be32 __skb_flow_get_ports(const struct sk_buff *skb, int thoff, u8 ip_proto,
thoff             212 net/core/flow_dissector.c 		ports = __skb_header_pointer(skb, thoff + poff,
thoff             681 net/core/flow_dissector.c 		       void *target_container, void *data, int thoff, int hlen)
thoff             689 net/core/flow_dissector.c 	th = __skb_header_pointer(skb, thoff, sizeof(_th), data, hlen, &_th);
thoff             786 net/core/flow_dissector.c 	key_control->thoff = flow_keys->thoff;
thoff             853 net/core/flow_dissector.c 	flow_keys->thoff = flow_keys->nhoff;
thoff             868 net/core/flow_dissector.c 	flow_keys->thoff = clamp_t(u16, flow_keys->thoff,
thoff            1384 net/core/flow_dissector.c 	key_control->thoff = min_t(u16, nhoff, skb ? skb->len : hlen);
thoff            1601 net/core/flow_dissector.c 	u32 poff = keys->control.thoff;
thoff             139 net/ethernet/eth.c 		return max_t(u32, keys.control.thoff, sizeof(*eth));
thoff             502 net/ipv4/ip_gre.c 	int thoff;
thoff             536 net/ipv4/ip_gre.c 	thoff = skb_transport_header(skb) - skb_mac_header(skb);
thoff             538 net/ipv4/ip_gre.c 	    (ntohs(ipv6_hdr(skb)->payload_len) > skb->len - thoff))
thoff             254 net/ipv4/netfilter/ip_tables.c 	acpar.thoff   = ip_hdrlen(skb);
thoff            1830 net/ipv4/netfilter/ip_tables.c 	ic = skb_header_pointer(skb, par->thoff, sizeof(_icmph), &_icmph);
thoff              21 net/ipv4/netfilter/ipt_SYNPROXY.c 	if (nf_ip_checksum(skb, xt_hooknum(par), par->thoff, IPPROTO_TCP))
thoff              24 net/ipv4/netfilter/ipt_SYNPROXY.c 	th = skb_header_pointer(skb, par->thoff, sizeof(_th), &_th);
thoff              28 net/ipv4/netfilter/ipt_SYNPROXY.c 	if (!synproxy_parse_options(skb, par->thoff, th, &opts))
thoff              40 net/ipv4/netfilter/ipt_ah.c 	ah = skb_header_pointer(skb, par->thoff, sizeof(_ahdr), &_ahdr);
thoff             319 net/ipv4/tcp_offload.c INDIRECT_CALLABLE_SCOPE int tcp4_gro_complete(struct sk_buff *skb, int thoff)
thoff             324 net/ipv4/tcp_offload.c 	th->check = ~tcp_v4_check(skb->len - thoff, iph->saddr,
thoff             926 net/ipv6/ip6_gre.c 	int thoff;
thoff             947 net/ipv6/ip6_gre.c 	thoff = skb_transport_header(skb) - skb_mac_header(skb);
thoff             949 net/ipv6/ip6_gre.c 	    (ntohs(ipv6_hdr(skb)->payload_len) > skb->len - thoff))
thoff             306 net/ipv6/netfilter/ip6_tables.c 		acpar.thoff = 0;
thoff             308 net/ipv6/netfilter/ip6_tables.c 		    &acpar.thoff, &acpar.fragoff, &acpar.hotdrop)) {
thoff            1839 net/ipv6/netfilter/ip6_tables.c 	ic = skb_header_pointer(skb, par->thoff, sizeof(_icmph), &_icmph);
thoff              21 net/ipv6/netfilter/ip6t_SYNPROXY.c 	if (nf_ip6_checksum(skb, xt_hooknum(par), par->thoff, IPPROTO_TCP))
thoff              24 net/ipv6/netfilter/ip6t_SYNPROXY.c 	th = skb_header_pointer(skb, par->thoff, sizeof(_th), &_th);
thoff              28 net/ipv6/netfilter/ip6t_SYNPROXY.c 	if (!synproxy_parse_options(skb, par->thoff, th, &opts))
thoff              41 net/ipv6/netfilter/ip6t_mh.c 	mh = skb_header_pointer(skb, par->thoff, sizeof(_mh), &_mh);
thoff             220 net/ipv6/netfilter/nf_reject_ipv6.c 	int thoff;
thoff             228 net/ipv6/netfilter/nf_reject_ipv6.c 	thoff = ipv6_skip_exthdr(skb, ((u8 *)(ip6h + 1) - skb->data), &proto, &fo);
thoff             230 net/ipv6/netfilter/nf_reject_ipv6.c 	if (thoff < 0 || thoff >= skb->len || (fo & htons(~0x7)) != 0)
thoff             236 net/ipv6/netfilter/nf_reject_ipv6.c 	return nf_ip6_checksum(skb, hook, thoff, proto) == 0;
thoff             105 net/ipv6/netfilter/nf_socket_ipv6.c 	int thoff = 0, tproto;
thoff             107 net/ipv6/netfilter/nf_socket_ipv6.c 	tproto = ipv6_find_hdr(skb, &thoff, -1, NULL, NULL);
thoff             117 net/ipv6/netfilter/nf_socket_ipv6.c 		hp = skb_header_pointer(skb, thoff, tproto == IPPROTO_UDP ?
thoff             128 net/ipv6/netfilter/nf_socket_ipv6.c 			thoff + __tcp_hdrlen((struct tcphdr *)hp) :
thoff             129 net/ipv6/netfilter/nf_socket_ipv6.c 			thoff + sizeof(*hp);
thoff             134 net/ipv6/netfilter/nf_socket_ipv6.c 		if (extract_icmp6_fields(skb, thoff, &tproto, &saddr, &daddr,
thoff              39 net/ipv6/netfilter/nf_tproxy_ipv6.c nf_tproxy_handle_time_wait6(struct sk_buff *skb, int tproto, int thoff,
thoff              48 net/ipv6/netfilter/nf_tproxy_ipv6.c 	hp = skb_header_pointer(skb, thoff, sizeof(_hdr), &_hdr);
thoff              59 net/ipv6/netfilter/nf_tproxy_ipv6.c 		sk2 = nf_tproxy_get_sock_v6(net, skb, thoff, tproto,
thoff              76 net/ipv6/netfilter/nf_tproxy_ipv6.c nf_tproxy_get_sock_v6(struct net *net, struct sk_buff *skb, int thoff,
thoff              89 net/ipv6/netfilter/nf_tproxy_ipv6.c 		hp = skb_header_pointer(skb, thoff,
thoff              97 net/ipv6/netfilter/nf_tproxy_ipv6.c 						   thoff + __tcp_hdrlen(hp),
thoff              29 net/ipv6/tcpv6_offload.c INDIRECT_CALLABLE_SCOPE int tcp6_gro_complete(struct sk_buff *skb, int thoff)
thoff              34 net/ipv6/tcpv6_offload.c 	th->check = ~tcp_v6_check(skb->len - thoff, &iph->saddr,
thoff             347 net/netfilter/nf_flow_table_core.c static int nf_flow_nat_port_tcp(struct sk_buff *skb, unsigned int thoff,
thoff             352 net/netfilter/nf_flow_table_core.c 	if (!pskb_may_pull(skb, thoff + sizeof(*tcph)) ||
thoff             353 net/netfilter/nf_flow_table_core.c 	    skb_try_make_writable(skb, thoff + sizeof(*tcph)))
thoff             356 net/netfilter/nf_flow_table_core.c 	tcph = (void *)(skb_network_header(skb) + thoff);
thoff             362 net/netfilter/nf_flow_table_core.c static int nf_flow_nat_port_udp(struct sk_buff *skb, unsigned int thoff,
thoff             367 net/netfilter/nf_flow_table_core.c 	if (!pskb_may_pull(skb, thoff + sizeof(*udph)) ||
thoff             368 net/netfilter/nf_flow_table_core.c 	    skb_try_make_writable(skb, thoff + sizeof(*udph)))
thoff             371 net/netfilter/nf_flow_table_core.c 	udph = (void *)(skb_network_header(skb) + thoff);
thoff             382 net/netfilter/nf_flow_table_core.c static int nf_flow_nat_port(struct sk_buff *skb, unsigned int thoff,
thoff             387 net/netfilter/nf_flow_table_core.c 		if (nf_flow_nat_port_tcp(skb, thoff, port, new_port) < 0)
thoff             391 net/netfilter/nf_flow_table_core.c 		if (nf_flow_nat_port_udp(skb, thoff, port, new_port) < 0)
thoff             400 net/netfilter/nf_flow_table_core.c 		      struct sk_buff *skb, unsigned int thoff,
thoff             406 net/netfilter/nf_flow_table_core.c 	if (!pskb_may_pull(skb, thoff + sizeof(*hdr)) ||
thoff             407 net/netfilter/nf_flow_table_core.c 	    skb_try_make_writable(skb, thoff + sizeof(*hdr)))
thoff             410 net/netfilter/nf_flow_table_core.c 	hdr = (void *)(skb_network_header(skb) + thoff);
thoff             427 net/netfilter/nf_flow_table_core.c 	return nf_flow_nat_port(skb, thoff, protocol, port, new_port);
thoff             432 net/netfilter/nf_flow_table_core.c 		      struct sk_buff *skb, unsigned int thoff,
thoff             438 net/netfilter/nf_flow_table_core.c 	if (!pskb_may_pull(skb, thoff + sizeof(*hdr)) ||
thoff             439 net/netfilter/nf_flow_table_core.c 	    skb_try_make_writable(skb, thoff + sizeof(*hdr)))
thoff             442 net/netfilter/nf_flow_table_core.c 	hdr = (void *)(skb_network_header(skb) + thoff);
thoff             459 net/netfilter/nf_flow_table_core.c 	return nf_flow_nat_port(skb, thoff, protocol, port, new_port);
thoff              20 net/netfilter/nf_flow_table_ip.c 			       struct sk_buff *skb, unsigned int thoff)
thoff              27 net/netfilter/nf_flow_table_ip.c 	if (!pskb_may_pull(skb, thoff + sizeof(*tcph)))
thoff              30 net/netfilter/nf_flow_table_ip.c 	tcph = (void *)(skb_network_header(skb) + thoff);
thoff              39 net/netfilter/nf_flow_table_ip.c static int nf_flow_nat_ip_tcp(struct sk_buff *skb, unsigned int thoff,
thoff              44 net/netfilter/nf_flow_table_ip.c 	if (!pskb_may_pull(skb, thoff + sizeof(*tcph)) ||
thoff              45 net/netfilter/nf_flow_table_ip.c 	    skb_try_make_writable(skb, thoff + sizeof(*tcph)))
thoff              48 net/netfilter/nf_flow_table_ip.c 	tcph = (void *)(skb_network_header(skb) + thoff);
thoff              54 net/netfilter/nf_flow_table_ip.c static int nf_flow_nat_ip_udp(struct sk_buff *skb, unsigned int thoff,
thoff              59 net/netfilter/nf_flow_table_ip.c 	if (!pskb_may_pull(skb, thoff + sizeof(*udph)) ||
thoff              60 net/netfilter/nf_flow_table_ip.c 	    skb_try_make_writable(skb, thoff + sizeof(*udph)))
thoff              63 net/netfilter/nf_flow_table_ip.c 	udph = (void *)(skb_network_header(skb) + thoff);
thoff              75 net/netfilter/nf_flow_table_ip.c 				  unsigned int thoff, __be32 addr,
thoff              80 net/netfilter/nf_flow_table_ip.c 		if (nf_flow_nat_ip_tcp(skb, thoff, addr, new_addr) < 0)
thoff              84 net/netfilter/nf_flow_table_ip.c 		if (nf_flow_nat_ip_udp(skb, thoff, addr, new_addr) < 0)
thoff              93 net/netfilter/nf_flow_table_ip.c 			   struct iphdr *iph, unsigned int thoff,
thoff             114 net/netfilter/nf_flow_table_ip.c 	return nf_flow_nat_ip_l4proto(skb, iph, thoff, addr, new_addr);
thoff             118 net/netfilter/nf_flow_table_ip.c 			   struct iphdr *iph, unsigned int thoff,
thoff             139 net/netfilter/nf_flow_table_ip.c 	return nf_flow_nat_ip_l4proto(skb, iph, thoff, addr, new_addr);
thoff             143 net/netfilter/nf_flow_table_ip.c 			  unsigned int thoff, enum flow_offload_tuple_dir dir)
thoff             148 net/netfilter/nf_flow_table_ip.c 	    (nf_flow_snat_port(flow, skb, thoff, iph->protocol, dir) < 0 ||
thoff             149 net/netfilter/nf_flow_table_ip.c 	     nf_flow_snat_ip(flow, skb, iph, thoff, dir) < 0))
thoff             152 net/netfilter/nf_flow_table_ip.c 	    (nf_flow_dnat_port(flow, skb, thoff, iph->protocol, dir) < 0 ||
thoff             153 net/netfilter/nf_flow_table_ip.c 	     nf_flow_dnat_ip(flow, skb, iph, thoff, dir) < 0))
thoff             159 net/netfilter/nf_flow_table_ip.c static bool ip_has_options(unsigned int thoff)
thoff             161 net/netfilter/nf_flow_table_ip.c 	return thoff != sizeof(struct iphdr);
thoff             168 net/netfilter/nf_flow_table_ip.c 	unsigned int thoff;
thoff             175 net/netfilter/nf_flow_table_ip.c 	thoff = iph->ihl * 4;
thoff             178 net/netfilter/nf_flow_table_ip.c 	    unlikely(ip_has_options(thoff)))
thoff             188 net/netfilter/nf_flow_table_ip.c 	thoff = iph->ihl * 4;
thoff             189 net/netfilter/nf_flow_table_ip.c 	if (!pskb_may_pull(skb, thoff + sizeof(*ports)))
thoff             193 net/netfilter/nf_flow_table_ip.c 	ports = (struct flow_ports *)(skb_network_header(skb) + thoff);
thoff             247 net/netfilter/nf_flow_table_ip.c 	unsigned int thoff;
thoff             272 net/netfilter/nf_flow_table_ip.c 	thoff = ip_hdr(skb)->ihl * 4;
thoff             273 net/netfilter/nf_flow_table_ip.c 	if (nf_flow_state_check(flow, ip_hdr(skb)->protocol, skb, thoff))
thoff             281 net/netfilter/nf_flow_table_ip.c 	if (nf_flow_nat_ip(flow, skb, thoff, dir) < 0)
thoff             305 net/netfilter/nf_flow_table_ip.c static int nf_flow_nat_ipv6_tcp(struct sk_buff *skb, unsigned int thoff,
thoff             311 net/netfilter/nf_flow_table_ip.c 	if (!pskb_may_pull(skb, thoff + sizeof(*tcph)) ||
thoff             312 net/netfilter/nf_flow_table_ip.c 	    skb_try_make_writable(skb, thoff + sizeof(*tcph)))
thoff             315 net/netfilter/nf_flow_table_ip.c 	tcph = (void *)(skb_network_header(skb) + thoff);
thoff             322 net/netfilter/nf_flow_table_ip.c static int nf_flow_nat_ipv6_udp(struct sk_buff *skb, unsigned int thoff,
thoff             328 net/netfilter/nf_flow_table_ip.c 	if (!pskb_may_pull(skb, thoff + sizeof(*udph)) ||
thoff             329 net/netfilter/nf_flow_table_ip.c 	    skb_try_make_writable(skb, thoff + sizeof(*udph)))
thoff             332 net/netfilter/nf_flow_table_ip.c 	udph = (void *)(skb_network_header(skb) + thoff);
thoff             344 net/netfilter/nf_flow_table_ip.c 				    unsigned int thoff, struct in6_addr *addr,
thoff             349 net/netfilter/nf_flow_table_ip.c 		if (nf_flow_nat_ipv6_tcp(skb, thoff, addr, new_addr) < 0)
thoff             353 net/netfilter/nf_flow_table_ip.c 		if (nf_flow_nat_ipv6_udp(skb, thoff, addr, new_addr) < 0)
thoff             363 net/netfilter/nf_flow_table_ip.c 			     unsigned int thoff,
thoff             383 net/netfilter/nf_flow_table_ip.c 	return nf_flow_nat_ipv6_l4proto(skb, ip6h, thoff, &addr, &new_addr);
thoff             388 net/netfilter/nf_flow_table_ip.c 			     unsigned int thoff,
thoff             408 net/netfilter/nf_flow_table_ip.c 	return nf_flow_nat_ipv6_l4proto(skb, ip6h, thoff, &addr, &new_addr);
thoff             416 net/netfilter/nf_flow_table_ip.c 	unsigned int thoff = sizeof(*ip6h);
thoff             419 net/netfilter/nf_flow_table_ip.c 	    (nf_flow_snat_port(flow, skb, thoff, ip6h->nexthdr, dir) < 0 ||
thoff             420 net/netfilter/nf_flow_table_ip.c 	     nf_flow_snat_ipv6(flow, skb, ip6h, thoff, dir) < 0))
thoff             423 net/netfilter/nf_flow_table_ip.c 	    (nf_flow_dnat_port(flow, skb, thoff, ip6h->nexthdr, dir) < 0 ||
thoff             424 net/netfilter/nf_flow_table_ip.c 	     nf_flow_dnat_ipv6(flow, skb, ip6h, thoff, dir) < 0))
thoff             435 net/netfilter/nf_flow_table_ip.c 	unsigned int thoff;
thoff             449 net/netfilter/nf_flow_table_ip.c 	thoff = sizeof(*ip6h);
thoff             450 net/netfilter/nf_flow_table_ip.c 	if (!pskb_may_pull(skb, thoff + sizeof(*ports)))
thoff             454 net/netfilter/nf_flow_table_ip.c 	ports = (struct flow_ports *)(skb_network_header(skb) + thoff);
thoff             668 net/netfilter/nf_synproxy_core.c 	unsigned int thoff;
thoff             682 net/netfilter/nf_synproxy_core.c 	thoff = ip_hdrlen(skb);
thoff             683 net/netfilter/nf_synproxy_core.c 	th = skb_header_pointer(skb, thoff, sizeof(_th), &_th);
thoff             710 net/netfilter/nf_synproxy_core.c 		if (!synproxy_parse_options(skb, thoff, th, &opts))
thoff             739 net/netfilter/nf_synproxy_core.c 		if (!synproxy_parse_options(skb, thoff, th, &opts))
thoff             766 net/netfilter/nf_synproxy_core.c 	synproxy_tstamp_adjust(skb, thoff, th, ct, ctinfo, synproxy);
thoff            1088 net/netfilter/nf_synproxy_core.c 	int thoff;
thoff            1102 net/netfilter/nf_synproxy_core.c 	thoff = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), &nexthdr,
thoff            1104 net/netfilter/nf_synproxy_core.c 	if (thoff < 0 || nexthdr != IPPROTO_TCP)
thoff            1107 net/netfilter/nf_synproxy_core.c 	th = skb_header_pointer(skb, thoff, sizeof(_th), &_th);
thoff            1134 net/netfilter/nf_synproxy_core.c 		if (!synproxy_parse_options(skb, thoff, th, &opts))
thoff            1163 net/netfilter/nf_synproxy_core.c 		if (!synproxy_parse_options(skb, thoff, th, &opts))
thoff            1190 net/netfilter/nf_synproxy_core.c 	synproxy_tstamp_adjust(skb, thoff, th, ct, ctinfo, synproxy);
thoff              75 net/netfilter/nf_tables_core.c 		ptr = skb_network_header(skb) + pkt->xt.thoff;
thoff             116 net/netfilter/nf_tables_trace.c 	nh_end = pkt->tprot_set ? pkt->xt.thoff : skb->len;
thoff             123 net/netfilter/nf_tables_trace.c 		len = min_t(unsigned int, skb->len - pkt->xt.thoff,
thoff             126 net/netfilter/nf_tables_trace.c 				      pkt->xt.thoff, len))
thoff             168 net/netfilter/nft_exthdr.c 	tcph = skb_header_pointer(pkt->skb, pkt->xt.thoff, sizeof(*tcph), buffer);
thoff             176 net/netfilter/nft_exthdr.c 	return skb_header_pointer(pkt->skb, pkt->xt.thoff, *tcphdr_len, buffer);
thoff             254 net/netfilter/nft_exthdr.c 					pkt->xt.thoff + i + priv->len))
thoff              93 net/netfilter/nft_flow_offload.c 		tcph = skb_header_pointer(pkt->skb, pkt->xt.thoff,
thoff             102 net/netfilter/nft_payload.c 		offset = pkt->xt.thoff;
thoff             402 net/netfilter/nft_payload.c static bool nft_payload_udp_checksum(struct sk_buff *skb, unsigned int thoff)
thoff             406 net/netfilter/nft_payload.c 	uh = skb_header_pointer(skb, thoff, sizeof(_uh), &_uh);
thoff             422 net/netfilter/nft_payload.c 		if (!nft_payload_udp_checksum(skb, pkt->xt.thoff))
thoff             435 net/netfilter/nft_payload.c 	*l4csum_offset += pkt->xt.thoff;
thoff             514 net/netfilter/nft_payload.c 		offset = pkt->xt.thoff;
thoff             112 net/netfilter/nft_synproxy.c 	int thoff = pkt->xt.thoff;
thoff             121 net/netfilter/nft_synproxy.c 	if (nf_ip_checksum(skb, nft_hook(pkt), thoff, IPPROTO_TCP)) {
thoff             126 net/netfilter/nft_synproxy.c 	tcp = skb_header_pointer(skb, pkt->xt.thoff,
thoff             134 net/netfilter/nft_synproxy.c 	if (!synproxy_parse_options(skb, thoff, tcp, &opts)) {
thoff              86 net/netfilter/nft_tproxy.c 	int thoff = pkt->xt.thoff;
thoff             100 net/netfilter/nft_tproxy.c 	hp = skb_header_pointer(skb, thoff, sizeof(_hdr), &_hdr);
thoff             110 net/netfilter/nft_tproxy.c 	sk = nf_tproxy_get_sock_v6(nft_net(pkt), skb, thoff, l4proto,
thoff             127 net/netfilter/nft_tproxy.c 		sk = nf_tproxy_handle_time_wait6(skb, l4proto, thoff,
thoff             136 net/netfilter/nft_tproxy.c 		sk = nf_tproxy_get_sock_v6(nft_net(pkt), skb, thoff,
thoff             121 net/netfilter/xt_TPROXY.c 	int thoff = 0;
thoff             124 net/netfilter/xt_TPROXY.c 	tproto = ipv6_find_hdr(skb, &thoff, -1, NULL, NULL);
thoff             130 net/netfilter/xt_TPROXY.c 	hp = skb_header_pointer(skb, thoff, sizeof(_hdr), &_hdr);
thoff             140 net/netfilter/xt_TPROXY.c 	sk = nf_tproxy_get_sock_v6(xt_net(par), skb, thoff, tproto,
thoff             152 net/netfilter/xt_TPROXY.c 		sk = nf_tproxy_handle_time_wait6(skb, tproto, thoff,
thoff             161 net/netfilter/xt_TPROXY.c 		sk = nf_tproxy_get_sock_v6(xt_net(par), skb, thoff,
thoff             105 net/netfilter/xt_dccp.c 	dh = skb_header_pointer(skb, par->thoff, sizeof(_dh), &_dh);
thoff             119 net/netfilter/xt_dccp.c 		&& DCCHECK(match_option(info->option, skb, par->thoff, dh,
thoff              36 net/netfilter/xt_ecn.c 	th = skb_header_pointer(skb, par->thoff, sizeof(_tcph), &_tcph);
thoff              46 net/netfilter/xt_esp.c 	eh = skb_header_pointer(skb, par->thoff, sizeof(_esp), &_esp);
thoff             735 net/netfilter/xt_hashlimit.c 	if (hashlimit_init_dst(hinfo, &dst, skb, par->thoff) < 0)
thoff              50 net/netfilter/xt_ipcomp.c 	chdr = skb_header_pointer(skb, par->thoff, sizeof(_comphdr), &_comphdr);
thoff              79 net/netfilter/xt_l2tp.c static bool l2tp_udp_mt(const struct sk_buff *skb, struct xt_action_param *par, u16 thoff)
thoff              83 net/netfilter/xt_l2tp.c 	int offs = thoff + uhlen;
thoff             139 net/netfilter/xt_l2tp.c static bool l2tp_ip_mt(const struct sk_buff *skb, struct xt_action_param *par, u16 thoff)
thoff             147 net/netfilter/xt_l2tp.c 	lh = skb_header_pointer(skb, thoff, sizeof(lhbuf), &lhbuf);
thoff             155 net/netfilter/xt_l2tp.c 		lh = skb_header_pointer(skb, thoff + 8, sizeof(lhbuf),
thoff             178 net/netfilter/xt_l2tp.c 		return l2tp_udp_mt(skb, par, par->thoff);
thoff             180 net/netfilter/xt_l2tp.c 		return l2tp_ip_mt(skb, par, par->thoff);
thoff             189 net/netfilter/xt_l2tp.c 	unsigned int thoff = 0;
thoff             193 net/netfilter/xt_l2tp.c 	ipproto = ipv6_find_hdr(skb, &thoff, -1, &fragoff, NULL);
thoff             200 net/netfilter/xt_l2tp.c 		return l2tp_udp_mt(skb, par, thoff);
thoff             202 net/netfilter/xt_l2tp.c 		return l2tp_ip_mt(skb, par, thoff);
thoff              95 net/netfilter/xt_multiport.c 	pptr = skb_header_pointer(skb, par->thoff, sizeof(_ports), _ports);
thoff             130 net/netfilter/xt_sctp.c 	sh = skb_header_pointer(skb, par->thoff, sizeof(_sh), &_sh);
thoff             144 net/netfilter/xt_sctp.c 		SCCHECK(match_packet(skb, par->thoff + sizeof(_sh),
thoff              36 net/netfilter/xt_tcpmss.c 	th = skb_header_pointer(skb, par->thoff, sizeof(_tcph), &_tcph);
thoff              49 net/netfilter/xt_tcpmss.c 	op = skb_header_pointer(skb, par->thoff + sizeof(*th), optlen, _opt);
thoff              87 net/netfilter/xt_tcpudp.c 	th = skb_header_pointer(skb, par->thoff, sizeof(_tcph), &_tcph);
thoff             112 net/netfilter/xt_tcpudp.c 		if (!tcp_find_option(tcpinfo->option, skb, par->thoff,
thoff             139 net/netfilter/xt_tcpudp.c 	uh = skb_header_pointer(skb, par->thoff, sizeof(_udph), &_udph);
thoff              67 net/sched/em_ipset.c 		acpar.thoff = ip_hdrlen(skb);
thoff              74 net/sched/em_ipset.c 		acpar.thoff = sizeof(struct ipv6hdr);
thoff              24 samples/bpf/sockex2_kern.c 	__u16 thoff;
thoff             182 samples/bpf/sockex2_kern.c 	flow->thoff = (__u16) nhoff;
thoff            3554 tools/include/uapi/linux/bpf.h 	__u16	thoff;
thoff              27 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 	      got.thoff, expected.thoff,				\
thoff             117 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 			.thoff = ETH_HLEN + sizeof(struct iphdr),
thoff             137 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 			.thoff = ETH_HLEN + sizeof(struct ipv6hdr),
thoff             159 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 			.thoff = ETH_HLEN + VLAN_HLEN + sizeof(struct iphdr),
thoff             181 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 			.thoff = ETH_HLEN + VLAN_HLEN * 2 +
thoff             205 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 			.thoff = ETH_HLEN + sizeof(struct iphdr),
thoff             230 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 			.thoff = ETH_HLEN + sizeof(struct iphdr),
thoff             252 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 			.thoff = ETH_HLEN + sizeof(struct ipv6hdr) +
thoff             277 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 			.thoff = ETH_HLEN + sizeof(struct ipv6hdr) +
thoff             299 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 			.thoff = ETH_HLEN + sizeof(struct ipv6hdr),
thoff             322 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 			.thoff = ETH_HLEN + sizeof(struct ipv6hdr),
thoff             348 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 			.thoff = ETH_HLEN + sizeof(struct iphdr) +
thoff             377 tools/testing/selftests/bpf/prog_tests/flow_dissector.c 			.thoff = ETH_HLEN + sizeof(struct iphdr),
thoff              97 tools/testing/selftests/bpf/progs/bpf_flow.c 	__u16 thoff = skb->flow_keys->thoff;
thoff             101 tools/testing/selftests/bpf/progs/bpf_flow.c 	if (thoff > (USHRT_MAX - hdr_size))
thoff             104 tools/testing/selftests/bpf/progs/bpf_flow.c 	hdr = data + thoff;
thoff             108 tools/testing/selftests/bpf/progs/bpf_flow.c 	if (bpf_skb_load_bytes(skb, thoff, buffer, hdr_size))
thoff             188 tools/testing/selftests/bpf/progs/bpf_flow.c 		keys->thoff += sizeof(*gre); /* Step over GRE Flags and Proto */
thoff             190 tools/testing/selftests/bpf/progs/bpf_flow.c 			keys->thoff += 4; /* Step over chksum and Padding */
thoff             192 tools/testing/selftests/bpf/progs/bpf_flow.c 			keys->thoff += 4; /* Step over key */
thoff             194 tools/testing/selftests/bpf/progs/bpf_flow.c 			keys->thoff += 4; /* Step over sequence number */
thoff             206 tools/testing/selftests/bpf/progs/bpf_flow.c 			keys->thoff += sizeof(*eth);
thoff             282 tools/testing/selftests/bpf/progs/bpf_flow.c 	keys->thoff += iph->ihl << 2;
thoff             283 tools/testing/selftests/bpf/progs/bpf_flow.c 	if (data + keys->thoff > data_end)
thoff             322 tools/testing/selftests/bpf/progs/bpf_flow.c 	keys->thoff += sizeof(struct ipv6hdr);
thoff             344 tools/testing/selftests/bpf/progs/bpf_flow.c 	keys->thoff += (1 + ip6h->hdrlen) << 3;
thoff             359 tools/testing/selftests/bpf/progs/bpf_flow.c 	keys->thoff += sizeof(*fragh);
thoff             403 tools/testing/selftests/bpf/progs/bpf_flow.c 		keys->thoff += sizeof(*vlan);
thoff             411 tools/testing/selftests/bpf/progs/bpf_flow.c 	keys->thoff += sizeof(*vlan);