Commit 84500024 authored by Chenbo Feng's avatar Chenbo Feng
Browse files

Add xt_bpf support for android devices

For device ship with P and kernel version is 4.9 or above, it should use
xt_bpf to gather the per iface networkStats instead of reading the proc
file of xt_qtaguid.

Bug: 30950746
Test: device boot and the iptables rules is loaded correctly.

Change-Id: Ic86613b382b99f407111abc8305c62d3129175e0
parent 08ef68d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment