Closed thatjiaozi closed 1 year ago
With this way of executing a bpf program, we can read the data sent on the packet using skb_load_bytes_relative() helper function.
This also changes the interface of the ffi execute to receive a serialized proto instead, this makes things a bit more flexible.
Note: This pr is dependant of https://github.com/google/buzzer/pull/32
Let's review that one first
With this way of executing a bpf program, we can read the data sent on the packet using skb_load_bytes_relative() helper function.
This also changes the interface of the ffi execute to receive a serialized proto instead, this makes things a bit more flexible.