netfilter: xt_IDLETIMER: Add new netlink msg type
authorJP Abgrall <jpa@google.com>
Fri, 27 Apr 2012 06:28:35 +0000 (23:28 -0700)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 20:40:45 +0000 (13:40 -0700)
commit2b11da7d0a763db30eb0960f6b11746255520469
tree1b68aa7efde25e99810d57b784d72f6dc978ab8c
parent7d84e45393f2eb71cafe74ba08b204db8e1b9d43
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