Skip to content

Commit

Permalink
Add initial XDP skeleton (#1052)
Browse files Browse the repository at this point in the history
* These flags are arch specific

* Add eBPF program

This commit adds the eBPF program used to determine if packets should be routed to quilkin's AF_XDP sockets

* Add first pass of an interface to abstract quilkin's interface to XDP sockets

* Not used yet, don't impact compile times

* .
  • Loading branch information
Jake-Shadle authored Jan 8, 2025
1 parent 00345be commit 481dcd2
Show file tree
Hide file tree
Showing 12 changed files with 850 additions and 45 deletions.
2 changes: 1 addition & 1 deletion .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[target.'cfg(all())']
[target.'cfg(target_arch = "x86_64")']
rustflags = [
"-Ctarget-feature=+aes,+avx2",
]
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ quilkin-*.zip
# Generated by Cargo
# will have compiled files and executables
/target/
crates/ebpf/target/

# These are backup files generated by rustfmt
**/*.rs.bk
Loading

0 comments on commit 481dcd2

Please sign in to comment.