On 4/30/20 12:03 PM, Davide Caratti wrote:
> example using eBPF:
>
> # tc filter add dev dummy0 ingress bpf \
> > direct-action obj ./bpf/filter.o sec tc-ingress
> # tc -j filter show dev dummy0 ingress | jq
> [
>{
> "protocol": "all",
> "pref": 49152,
> "kind": "bpf",
>
On Thu, Apr 30, 2020 at 8:03 PM Davide Caratti wrote:
>
> example using eBPF:
>
> # tc filter add dev dummy0 ingress bpf \
> > direct-action obj ./bpf/filter.o sec tc-ingress
> # tc -j filter show dev dummy0 ingress | jq
> [
>{
> "protocol": "all",
> "pref": 49152,
> "kind"
example using eBPF:
# tc filter add dev dummy0 ingress bpf \
> direct-action obj ./bpf/filter.o sec tc-ingress
# tc -j filter show dev dummy0 ingress | jq
[
{
"protocol": "all",
"pref": 49152,
"kind": "bpf",
"chain": 0
},
{
"protocol": "all",
"pref": 491