![]() |
|
|||
0001 // SPDX-License-Identifier: GPL-2.0 0002 // Copyright (c) 2019 Facebook 0003 #include <linux/bpf.h> 0004 #include <stdbool.h> 0005 #include <bpf/bpf_helpers.h> 0006 #include <bpf/bpf_endian.h> 0007 #include <bpf/bpf_tracing.h> 0008 0009 __u64 ext_called = 0; 0010 0011 SEC("freplace/test_pkt_md_access") 0012 int test_pkt_md_access_new(struct __sk_buff *skb) 0013 { 0014 ext_called = skb->len; 0015 return 0; 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 |
![]() ![]() |