Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/bpf_progs/
Doffload.c588 const __be32 new_daddr = v->dst46.s6_addr32[3]; 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()
592 bpf_l3_csum_replace(skb, ETH_IP4_OFFSET(check), old_daddr, new_daddr, sz4); in do_forward4()
593 bpf_skb_store_bytes(skb, ETH_IP4_OFFSET(daddr), &new_daddr, sz4, 0); in do_forward4()