Searched refs:tcph (Results 1 – 2 of 2) sorted by relevance
168 struct tcphdr* tcph = (void*)(ip6 + 1); local171 if (data + l2_header_size + sizeof(*ip6) + sizeof(*tcph) > data_end)175 if (tcph->syn || tcph->fin || tcph->rst) TC_PUNT(TCPV6_CONTROL_PACKET);368 struct tcphdr* tcph = is_tcp ? (void*)(ip + 1) : NULL; in do_forward4_bottom() local373 if (data + l2_header_size + sizeof(*ip) + sizeof(*tcph) > data_end) in do_forward4_bottom()378 if (tcph->syn || tcph->fin || tcph->rst) TC_PUNT(TCPV4_CONTROL_PACKET); in do_forward4_bottom()420 .srcPort = is_tcp ? tcph->source : udph->source, in do_forward4_bottom()421 .dstPort = is_tcp ? tcph->dest : udph->dest, in do_forward4_bottom()485 tcph = is_tcp ? (void*)(ip + 1) : NULL; in do_forward4_bottom()489 …if (data + sizeof(struct ethhdr) + sizeof(*ip) + (is_tcp ? sizeof(*tcph) : sizeof(*udph)) > data_e… in do_forward4_bottom()