![]() |
|
|||
0001 // SPDX-License-Identifier: GPL-2.0 0002 #include <linux/bpf.h> 0003 #include <bpf/bpf_helpers.h> 0004 0005 __noinline 0006 int test_ctx_global_func(struct __sk_buff *skb) 0007 { 0008 volatile int retval = 1; 0009 return retval; 0010 } 0011 0012 SEC("freplace/test_pkt_access") 0013 int new_test_pkt_access(struct __sk_buff *skb) 0014 { 0015 return test_ctx_global_func(skb); 0016 } 0017 0018 char _license[] SEC("license") = "GPL";
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |