Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /* Copyright (c) 2020 Facebook */
0003 #include <linux/bpf.h>
0004 #include <bpf/bpf_helpers.h>
0005 
0006 char LICENSE[] SEC("license") = "GPL";
0007 
0008 SEC("xdp")
0009 int xdp_handler(struct xdp_md *xdp)
0010 {
0011     return 0;
0012 }
0013 
0014 SEC("tc")
0015 int tc_handler(struct __sk_buff *skb)
0016 {
0017     return 0;
0018 }