Searched refs:udph (Results 1 – 1 of 1) sorted by relevance
438 struct udphdr* udph = is_tcp ? NULL : (void*)(ip + 1); in do_forward4() local450 if (data + l2_header_size + sizeof(*ip) + sizeof(*udph) > data_end) in do_forward4()481 if (!udph->check && (bpf_csum_update(skb, 0) >= 0)) TC_PUNT(UDP_CSUM_ZERO); 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()555 udph = is_tcp ? NULL : (void*)(ip + 1); in do_forward4()558 …if (data + sizeof(struct ethhdr) + sizeof(*ip) + (is_tcp ? sizeof(*tcph) : sizeof(*udph)) > data_e… in do_forward4()