Skip to content
/ ukubpf Public

BPF Unikernel for network filtering based on Unikraft and libubpf

License

Notifications You must be signed in to change notification settings

sysml/ukubpf

Repository files navigation

ukbpf

ubpf for unikraft

This is the initial merge of ubpf for unikraft as a proof of compile and run.

The unikraft part conists of a modified version of the test-netdev app to use the latest unikraft framework. Especially uk_netdev_rx_one was adopted accordingly and the automatic buffer allocation alloc_rxpkts is configured as a callback.

The actual ebpf code is currently built-in as a hex array in bpf-binary.h and is loaded and verified at the start in main, and executed for each incoming pkt in the receive call uk_netdev_rx_one. The maps integration and the corresponding relocation when loading the elf will follow shortly.

About

BPF Unikernel for network filtering based on Unikraft and libubpf

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages