Searched refs:tcph (Results 1 – 1 of 1) sorted by relevance
145 struct tcphdr* tcph = (void*)(ip6 + 1); local148 if (data + l2_header_size + sizeof(*ip6) + sizeof(*tcph) > data_end)152 if (tcph->syn || tcph->fin || tcph->rst) TC_PUNT(TCP_CONTROL_PACKET);437 struct tcphdr* tcph = is_tcp ? (void*)(ip + 1) : NULL; in do_forward4() local442 if (data + l2_header_size + sizeof(*ip) + sizeof(*tcph) > data_end) in do_forward4()447 if (tcph->syn || tcph->fin || tcph->rst) TC_PUNT(TCP_CONTROL_PACKET); in do_forward4()489 .srcPort = is_tcp ? tcph->source : udph->source, in do_forward4()490 .dstPort = is_tcp ? tcph->dest : udph->dest, in do_forward4()554 tcph = is_tcp ? (void*)(ip + 1) : NULL; in do_forward4()558 …if (data + sizeof(struct ethhdr) + sizeof(*ip) + (is_tcp ? sizeof(*tcph) : sizeof(*udph)) > data_e… in do_forward4()