Home
last modified time | relevance | path

Searched refs:iph (Results 1 – 1 of 1) sorted by relevance

/DragonOS/kernel/crates/rbpf/examples/
H A Dload_elf__block_a_port.c30 struct iphdr *iph = data + sizeof(*eth); in handle_ingress() local
31 struct tcphdr *tcp = data + sizeof(*eth) + sizeof(*iph); in handle_ingress()
34 if (data + sizeof(*eth) + sizeof(*iph) + sizeof(*tcp) > data_end) in handle_ingress()
38 if (iph->protocol != IPPROTO_TCP) in handle_ingress()