commit | 88071ddc0739cef9adc05f8bf3b3ce0161062337 | [log] [tgz] |
---|---|---|
author | Patrick Rohr <prohr@google.com> | Wed Aug 11 12:00:16 2021 +0200 |
committer | Patrick Rohr <prohr@google.com> | Fri Oct 15 11:46:30 2021 +0200 |
tree | d40ae6dea510dec8b223f3126e8133024f3d1428 | |
parent | d231ab275526e778793013b7844322f0c68bc09e [diff] |
add bpf prog that accounts for to-be-dropped packets filtered by tc This functionality is used by go/bandwidth-limiting. Packets that will be dropped by tc-police do not get accounted for, so they are handed off to this BPF program to handle interface accounting before being dropped. Bug: 157552970 Test: builds && bpfloader loads netd.o Change-Id: I094b4bec2e34b0c059abdd49b5bc54ae2e5b9ce9