Lines Matching refs:thoff
422 unsigned int thoff; in tcf_ct_flow_table_fill_tuple_ipv4() local
429 thoff = iph->ihl * 4; in tcf_ct_flow_table_fill_tuple_ipv4()
432 unlikely(thoff != sizeof(struct iphdr))) in tcf_ct_flow_table_fill_tuple_ipv4()
443 thoff + sizeof(struct tcphdr) : in tcf_ct_flow_table_fill_tuple_ipv4()
444 thoff + sizeof(*ports))) in tcf_ct_flow_table_fill_tuple_ipv4()
449 *tcph = (void *)(skb_network_header(skb) + thoff); in tcf_ct_flow_table_fill_tuple_ipv4()
451 ports = (struct flow_ports *)(skb_network_header(skb) + thoff); in tcf_ct_flow_table_fill_tuple_ipv4()
469 unsigned int thoff; in tcf_ct_flow_table_fill_tuple_ipv6() local
483 thoff = sizeof(*ip6h); in tcf_ct_flow_table_fill_tuple_ipv6()
485 thoff + sizeof(struct tcphdr) : in tcf_ct_flow_table_fill_tuple_ipv6()
486 thoff + sizeof(*ports))) in tcf_ct_flow_table_fill_tuple_ipv6()
491 *tcph = (void *)(skb_network_header(skb) + thoff); in tcf_ct_flow_table_fill_tuple_ipv6()
493 ports = (struct flow_ports *)(skb_network_header(skb) + thoff); in tcf_ct_flow_table_fill_tuple_ipv6()