ebpf

  1. N

    No rule to make target '/home/pegasus/Documents/bpftime/third_party/bpftool/include/linux/err.h', needed by 'prog.o'. Stop

    I'm building a Docker image. docker build . Here's the Dockerfile FROM ubuntu:23.10 WORKDIR /bpftime RUN apt-get update && apt-get install -y --no-install-recommends \ libelf1 libelf-dev zlib1g-dev make cmake git libboost1.74-all-dev \ binutils-dev libyaml-cpp-dev gcc g++...
  2. N

    Detect and capture openconnect traffic using eBPF/XDP

    I'm new to networking. I'm also learning the usage of eBPF. Currently I'm working on a project where I've to capture the inner packet of a openconnect traffic. This is my code: https://github.com/inspektors-io/xdp-tutorial/tree/nobin/xdp_dump_with_grpc xdp_dump.c // Copyright (c) 2019 Dropbox...
  3. N

    invalid access to map value, value_size=128 off=0 size=0; libbpf: prog 'xdp_parser_func': failed to load: -13

    I've completed the assignment as mentioned in the solutions. Here's the repo I'm trying to test on my local machine: https://github.com/xdp-project/xdp-tutorial/blob/master/packet01-parsing/README.org Here's my C code: /* SPDX-License-Identifier: GPL-2.0 */ #include <stddef.h> #include...
  4. N

    unknown type name ‘GElf_Nhdr’; did you mean ‘GElf_Shdr’? while building libbpf

    Whenever I'm trying to build libbpf. I'm facing the following error. When I try to build tools related libbpf I also face the same errors. pegasus@pegasus:~/Documents/eBPF/libbpf/src$ make MKDIR staticobjs CC staticobjs/bpf.o CC staticobjs/btf.o CC...
Top