Comments (5)
Hi,
Do you include bpf_helpers.h under /p4c-xdp/tests/ ?
from p4c-xdp.
Hello William,
Thank you for responding. Yes, bpf_helpers is present in the /p4c-xdp/tests/ directory.
root@compute5:~/workspace/XDP/p4c/extensions/p4c-xdp/tests# ls
Anmol_Readme check-printk.txt ipv6_routing_test.p4 load_and_verify.c ndn_routing_test.p4 user_xdp10.c xdp11.p4 xdp13.p4 xdp16.p4 xdp1-mod.p4 xdp3.p4 xdp6.p4 xdp9.p4
bpf_helpers.h cscope.out l2_switch_test.p4 Makefile README.md user_xdp5.c xdp12.p4 xdp14.p4 xdp1.c xdp1.p4 xdp4.p4 xdp7.p4 xdp.p4
bpfloader ebpf_headers.p4 l3_routing_test.p4 Makefile_a tags xdp10.p4 xdp13-mod.p4 xdp15.p4 xdp1.h xdp2.p4 xdp5.p4 xdp8.p4
from p4c-xdp.
The types u8, u16, etc. are defined in this header.
You should figure out why you are getting these errors; there is probably some other header with the same name somewhere in the include path.
from p4c-xdp.
Hi Anmol-007,
Do you still have the issue? if you include the bpf_helpers.h?
from p4c-xdp.
from p4c-xdp.
Related Issues (20)
- Unexpected behavior when running xdp3.o HOT 6
- how to implement a forwoading function using XDP_TX based on xdp7.p4 HOT 1
- What is the difference between bpf_obj_get() in libbpf.h and BPF_OBJ_GET() in init_tables() HOT 3
- Could this compiler support XDP_REDIRECT HOT 16
- changing reject to accept introduce stack increaseing HOT 9
- compiler support for lpm HOT 5
- compiler support for range lookup HOT 10
- invalid indirect read from stack off HOT 3
- ebpf_ipv4_checksum Not working HOT 1
- Compiler support for htons, htonl, htonll HOT 2
- Compiler support for registers and hash functions HOT 3
- [doc] Vagrant image name HOT 2
- [Q] Vagrant image HOT 1
- Resource Leak
- Using XDP with clang/llvm version 9 HOT 3
- How to include ebpf_xdp.h HOT 3
- Adding PERCPU_ARRAY Question HOT 2
- p4x-xdp support for PSA HOT 9
- Test 17 fails HOT 1
- XDP metadata support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from p4c-xdp.