On Tue, Mar 31, 2020 at 02:21:00PM -0700, Maciej Żenczykowski wrote: > Right, this is not in 5.6 as it's only in net-next atm as it was only > merged very recently. > I mentioned this in the commit message. > > I'm not sure what you mean by code that uses this. > You can checkout aosp source and look there... > There's the kernel code (that's effectively already linked from the > commit message), and the iptables userspace changes ( > https://android.googlesource.com/platform/external/iptables/+/refs/heads/master/extensions/libxt_IDLETIMER.c#39 OK, so this is field ised set in userspace. > ), and the netd C++/Java layer that uses iptables -j IDLETIMER > --send_nl_msg 1 ( > https://android.googlesource.com/platform/system/netd/+/refs/heads/master/server/IdletimerController.cpp#151 > ) and the resulting notifications parsing (can't easily find it atm). > > If you mean by code that uses this patch... that's impossible as this > patch doesn't implement a usable feature. > It just moves the offset. > > Could you clarify what you're asking for? Maybe I'm misunderstanding. How is this field used in aosp? I mean, if --send_nl_msg 1 is passed, how does the existing behaviour changes?