]> git.proxmox.com Git - mirror_iproute2.git/commit - misc/ss.c
ss: allow to retrieve AF_PACKET info via netlink
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Fri, 17 May 2013 15:42:34 +0000 (08:42 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 17 May 2013 15:42:34 +0000 (08:42 -0700)
commit372c30d2aaaa7847b0e0554f37807355eddc58d7
treedfc98de8c3d2029480c3960742cacbe0393f1aa4
parentf7431e2913ea0dc6681f3880f377fa71ef2c07d4
ss: allow to retrieve AF_PACKET info via netlink

This patch add support of netlink messages for AF_PACKET and thus it allows
to get filter information of this kind of sockets.
To dump these filters info the option --bfp must be specified and the user
must have admin rights.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
misc/ss.c