Commit Graph

1 Commits (160e65efbd9e772713734e8cd8080b6d0674f434)

Author SHA1 Message Date
epheo 6f8fd230d4 aya: add support for BPF_PROG_TYPE_SK_REUSEPORT
Implements SK_REUSEPORT support to enable programmable socket
selection within SO_REUSEPORT groups.

- #[sk_reuseport] macro for eBPF programs
- SkReuseport program type with load/attach methods
- SkReuseportContext with sk_reuseport_md field access
- ReusePortSockArray map for socket management
- SK_PASS/SK_DROP constants for return values
- Documentation and usage examples
- Some integration tests

This allows load balancing decisions to be made programmatically
with SO_REUSEPORT set.

Fixes: #215
2 months ago