I believe there has been a method to get traffic per pid. You can dig them
out from TrafficStatics.java.
在 2011-11-29 下午5:37,"Nick Fedchik" <[email protected]>写道:
>
> 11/28/2011 01:23 PM, Abhijit Pawar пишет:
>
>> You can check libPcap. I am not sure if it is supported on Android
though.
>
> No.
> Also libpcap is a userspace library.
> I guess he need iptables utility and configure netfilter in kernel to
match tcp/http on a 80 port, then redirect packets to userspace
application/transparent proxy.
>
> I'm not sure now how to match a tcp traffic per application in android,
anybody know the solution?
>
>
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-kernel

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to