android_packages_modules_Co.../Tethering/bpf_progs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Maciej Żenczykowski db2cff5cdf bpf offload - add a new 'tether_xdp_devmap'
It will map device ifindex to itself (but note that internally in the
kernel this is optimized into a map from ifindex to direct device
pointer), but only for xdp transmit capable devices (other devices
will not have an entry).

This will allow the use of bpf_redirect_map() from xdp tethering programs.

Test: atest, TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I29684e6761727d1115e9b4d75486eccbca3d5e33
2021-03-01 23:42:43 -08:00
..
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to packages/modules/Connectivity 2021-02-16 04:09:58 -08:00
bpf_tethering.h Move definitions used by tethering bpf code into the module. 2021-02-24 12:16:05 +09:00
offload.c bpf offload - add a new 'tether_xdp_devmap' 2021-03-01 23:42:43 -08:00
test.c Move definitions used by tethering bpf code into the module. 2021-02-24 12:16:05 +09:00