On 06/01/2025 5:27 AM, data pulverizer wrote:
@(ldc.attributes.section("xdp_md"))
struct xdp_md {

I don't understand why you gave a type declaration a section.

Its not done on the C side.

https://github.com/libbpf/libbpf/blob/c5f22aca0f3aa855daa159b2777472b35e721804/include/uapi/linux/bpf.h#L6449

And this error would imply it too:

``[1] PTR hello_world.xdp_md* type_id=2 Invalid name``

  • Issue eBPF kerne... data pulverizer via Digitalmars-d-learn
    • Re: Issue e... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
      • Re: Iss... data pulverizer via Digitalmars-d-learn
        • Re:... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
          • ... data pulverizer via Digitalmars-d-learn
            • ... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn

Reply via email to