Coder Social home page Coder Social logo

Comments (5)

williamtu avatar williamtu commented on May 26, 2024

Hi,
Do you include bpf_helpers.h under /p4c-xdp/tests/ ?

from p4c-xdp.

anmolpanda avatar anmolpanda commented on May 26, 2024

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.

mihaibudiu avatar mihaibudiu commented on May 26, 2024

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.

williamtu avatar williamtu commented on May 26, 2024

Hi Anmol-007,
Do you still have the issue? if you include the bpf_helpers.h?

from p4c-xdp.

anmolpanda avatar anmolpanda commented on May 26, 2024

from p4c-xdp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.