netfilter: xt_qtaguid: add some tagging/matching stats
authorJP Abgrall <jpa@google.com>
Sat, 20 Aug 2011 03:21:06 +0000 (20:21 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:39:01 +0000 (21:39 -0800)
commitd5c0662a71c1ec87de2baa631292e2703a0dc2e8
tree10bf6a5ccb9d9aa051b3cc4e4c1aec4618686e04
parent75b42c5c126340d437ac23bb21d69c176563d68e
netfilter: xt_qtaguid: add some tagging/matching stats

/proc/net/xt_qtaguid/ctrl will now show:
  active tagged sockets: lines of "sock=%p tag=0x%llx (uid=%u)"
  sockets_tagged, : the number of sockets successfully tagged.
  sockets_untagged: the number of sockets successfully untagged.
  counter_set_changes: ctrl counter set change requests.
  delete_cmds: ctrl delete commands completed.
  iface_events: number of NETDEV_* events handled.
  match_found_sk: sk found in skbuff without ct assist.
  match_found_sk_in_ct: the number of times the connection tracker found
    a socket for us. This happens when the skbuff didn't have info.
  match_found_sk_none: the number of times no sk could be determined
    successfully looked up. This indicates we don't know who the
    data actually belongs to. This could be unsolicited traffic.

Change-Id: I3a65613bb24852e1eea768ab0320a6a7073ab9be
Signed-off-by: JP Abgrall <jpa@google.com>
net/netfilter/xt_qtaguid.c