python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
In "xdp ebpf SEC("tracepoint/xdp/xdp_devmap_xmit")" what is xdp_devmap_xmit -- is this trace means trap handler code start for some kernel function
I have ebpf xdp program with a function with elf section
SEC("tracepoint/xdp/xdp_devmap_xmit")
I like to know in above is this a hook for which kernel function
and what is tracepoint/xdp...
user786
Votes: 0
Answers: 1
Can struct type be value of bpf hash map?
I want the value in the bpf hash map be a struct, but it doesn't work. who knows if this is allowed by BPF? code like blow.
also, I have the second question, how can I call a kernel function in the bp...
martin bayern
Votes: 0
Answers: 1
Need help in XDP program failing to load with error "R7 offset is outside of the packet"
I have written a XDP program that looks at the incoming SCTP packets.
A SCTP packets can have multiple chunks into it. I am specifically interested in DATA chunks that contain the application layer pa...

Pranav Chaudhary
Votes: 0
Answers: 1
Accessing BPF maps from kernel space
I am beginning with XDP and BPF maps.
I understand that to access a BPF map from userspace, we use bpf_* syscalls. For example, bpf_map_lookup_elem() is used to lookup an element of a BPF map in the u...
diviquery
Votes: 0
Answers: 1