Searched refs:sz2 (Results 1 – 1 of 1) sorted by relevance
/packages/modules/Connectivity/Tethering/bpf_progs/ |
D | offload.c | 576 const int sz2 = sizeof(__be16); in do_forward4() local 579 bpf_l3_csum_replace(skb, ETH_IP4_OFFSET(check), old_ttl_proto, new_ttl_proto, sz2); in do_forward4() 580 bpf_skb_store_bytes(skb, ETH_IP4_OFFSET(ttl), &new_ttl_proto, sz2, 0); in do_forward4() 601 bpf_l4_csum_replace(skb, l4_offs_csum, k.srcPort, v->srcPort, sz2 | l4_flags); in do_forward4() 603 &v->srcPort, sz2, 0); in do_forward4() 605 bpf_l4_csum_replace(skb, l4_offs_csum, k.dstPort, v->dstPort, sz2 | l4_flags); in do_forward4() 607 &v->dstPort, sz2, 0); in do_forward4()
|