netfilter: xt_qtaguid: add some tagging/matching stats
authorJP Abgrall <jpa@google.com>
Sat, 20 Aug 2011 03:21:06 +0000 (20:21 -0700)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:23:08 +0000 (12:23 -0800)
commite911c9550d32c10b7a467b9af591ed5f70d0c95e
treeaaadce3e853bb028b87a0c1251238eafbfe30abe
parentc311827ad7762faa7e8e89fb92a7bb26f1d94342
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