Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dtc_bpf2bpf.c15 bpf_skb_change_proto(skb, 0, 0); in subprog_tc()
H A Dtest_xdp_meta.c654 err = bpf_skb_change_proto(ctx, bpf_htons(ETH_P_IPV6), 0); in helper_skb_change_proto()
661 err = bpf_skb_change_proto(ctx, bpf_htons(ETH_P_IP), 0); in helper_skb_change_proto()
/linux/tools/testing/selftests/net/
H A Dnat6to4.bpf.c130 if (bpf_skb_change_proto(skb, bpf_htons(ETH_P_IP), 0)) in sched_cls_ingress6_nat_6_prog()
254 if (bpf_skb_change_proto(skb, bpf_htons(ETH_P_IPV6), 0)) in sched_cls_egress4_snat4_prog()
/linux/net/core/
H A Dfilter.c3414 BPF_CALL_3(bpf_skb_change_proto, struct sk_buff *, skb, __be16, proto, in BPF_CALL_3() argument
3451 .func = bpf_skb_change_proto,