Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/bpf_progs/
Doffload.c585 const int l4_flags = is_tcp ? 0 : BPF_F_MARK_MANGLED_0; in do_forward4() local
591 bpf_l4_csum_replace(skb, l4_offs_csum, old_daddr, new_daddr, sz4 | BPF_F_PSEUDO_HDR | l4_flags); in do_forward4()
595 bpf_l4_csum_replace(skb, l4_offs_csum, old_saddr, new_saddr, sz4 | BPF_F_PSEUDO_HDR | l4_flags); in do_forward4()
601 bpf_l4_csum_replace(skb, l4_offs_csum, k.srcPort, v->srcPort, sz2 | l4_flags); in do_forward4()
605 bpf_l4_csum_replace(skb, l4_offs_csum, k.dstPort, v->dstPort, sz2 | l4_flags); in do_forward4()