Lines Matching refs:thoff
424 unsigned int thoff; in tcf_ct_flow_table_fill_tuple_ipv4() local
431 thoff = iph->ihl * 4; in tcf_ct_flow_table_fill_tuple_ipv4()
434 unlikely(thoff != sizeof(struct iphdr))) in tcf_ct_flow_table_fill_tuple_ipv4()
445 thoff + sizeof(struct tcphdr) : in tcf_ct_flow_table_fill_tuple_ipv4()
446 thoff + sizeof(*ports))) in tcf_ct_flow_table_fill_tuple_ipv4()
451 *tcph = (void *)(skb_network_header(skb) + thoff); in tcf_ct_flow_table_fill_tuple_ipv4()
453 ports = (struct flow_ports *)(skb_network_header(skb) + thoff); in tcf_ct_flow_table_fill_tuple_ipv4()
471 unsigned int thoff; in tcf_ct_flow_table_fill_tuple_ipv6() local
485 thoff = sizeof(*ip6h); in tcf_ct_flow_table_fill_tuple_ipv6()
487 thoff + sizeof(struct tcphdr) : in tcf_ct_flow_table_fill_tuple_ipv6()
488 thoff + sizeof(*ports))) in tcf_ct_flow_table_fill_tuple_ipv6()
493 *tcph = (void *)(skb_network_header(skb) + thoff); in tcf_ct_flow_table_fill_tuple_ipv6()
495 ports = (struct flow_ports *)(skb_network_header(skb) + thoff); in tcf_ct_flow_table_fill_tuple_ipv6()