android_packages_modules_Co.../bpf
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Maciej Żenczykowski d92d013872 BpfClassic: fix Gemini's complaints
'The comment "if NOT in range [lo, hi], jump over the reject statement" is a bit confusingly phrased for a macro named REJECT_IF_NOT_IN_RANGE'

'A minor stylistic point: offsetof(iphdr, field) and offsetof(ipv6hdr, field) are used. If iphdr and ipv6hdr are not typedefs for struct iphdr and struct ipv6hdr respectively (which is common in standard kernel or system headers), it should strictly be offsetof(struct iphdr, field). However, this often works due to compiler leniency or specific project typedefs. The field_sizeof macro correctly uses struct iphdr. Consistency here would be ideal (e.g., using struct iphdr in offsetof as well).'

Test: TreeHugger
Flag: EXEMPT style
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Ia42ac8361fef754a8a66a8a91ee52adcf34c9eb5
2025-04-26 04:23:40 -07:00
..
dns_helper mdnsd_netbpfload: reduce spam on failure 2025-04-08 12:45:49 -07:00
headers BpfClassic: fix Gemini's complaints 2025-04-26 04:23:40 -07:00
loader Fix memory leak in NetBpfLoad 2025-04-17 08:38:01 -07:00
netd mdnsd_netbpfload: reduce spam on failure 2025-04-08 12:45:49 -07:00
progs Revert "bpf: Filter localhost packages if sent/received by sdksandbox process" 2025-04-09 09:57:36 -07:00
syscall_wrappers BpfSyscallWrapper: add bpfGetFd{Jit,Xlat}ProgLen 2025-02-14 11:12:31 -08:00
tests/mts bpf: switch to mainline netbpfload on Android S/SV2 2025-03-05 14:27:59 -08:00