how to get remote address(ip and port) from socket fd in ebpf program?
Open
- Dominant language
- C
- Stars
- 22.7k
- Forks
- 4.1k
- Avg merge
- 10d 4h
- Merged PRs (30d)
- 3
Description
I need to get remote address from the following function, how can I achieve that?
int syscall__probe_read(struct pt_regs *ctx, int fd, const void* buf, size_t count) {
...
}
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.