netfilter: xt_IDLETIMER: Add new netlink msg type
authorJP Abgrall <jpa@google.com>
Fri, 27 Apr 2012 06:28:35 +0000 (23:28 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:51:25 +0000 (13:51 -0800)
commit56766b1fff76fe0c4770de848acfff9b524a8ac8
tree2c85a461f8f682175abcc7a3b798db0776cf3378
parentd720a2d46eef7d685f942f64bc8f9e1eb9f57b75
netfilter: xt_IDLETIMER: Add new netlink msg type

Send notifications when the label becomes active after an idle period.
Send netlink message notifications in addition to sysfs notifications.
Using a uevent with
  subsystem=xt_idletimer
  INTERFACE=...
  STATE={active,inactive}

This is backport from common android-3.0
commit: beb914e987cbbd368988d2b94a6661cb907c4d5a
with uevent support instead of a new netlink message type.

Change-Id: I31677ef00c94b5f82c8457e5bf9e5e584c23c523
Signed-off-by: Ashish Sharma <ashishsharma@google.com>
Signed-off-by: JP Abgrall <jpa@google.com>
include/uapi/linux/netfilter/xt_IDLETIMER.h
net/netfilter/xt_IDLETIMER.c