netfilter: xt_qtaguid: add some tagging/matching stats
authorJP Abgrall <jpa@google.com>
Sat, 20 Aug 2011 03:21:06 +0000 (20:21 -0700)
committerJP Abgrall <jpa@google.com>
Sat, 20 Aug 2011 03:21:06 +0000 (20:21 -0700)
commitd5511f877e8bc0f705d2eea1c1054e7f847bb226
tree868df1f51398ee77f0c900e00dbb651c830eb610
parent97aca38ddd3421bb7f13bf1c41566b23429906ae
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