Category "ebpf"

I'm not receiving packets using XDP_TX

// SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) // Copyright (c) 2018 Netronome Systems, Inc. #define BPF_NO_GLOBAL_DATA #include <stdbool.h> #incl

Need help in XDP program failing to load with error "R4 min value is negative, either use unsigned or 'var &= const'"

I have written a XDP program that looks at the incoming TCP packets. Basically I'm exchanging the destination IPv4 address to another server on the same network

Need help in XDP program failing to load with error "R4 min value is negative, either use unsigned or 'var &= const'"

I have written a XDP program that looks at the incoming TCP packets. Basically I'm exchanging the destination IPv4 address to another server on the same network

Get kernel symbol name in Golang

I’m trying to use bpf_get_stackid in the eBPF to query the kernel stack with the flag BPF_F_FAST_STACK_CMP. In the stacks map(BPF_MAP_TYPE_STACK_TRACE typ