/usr/bin/dump-netlink is in fso-frameworkd 0.8.5.1-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #!/usr/bin/python
# -*- coding: UTF-8 -*-
"""
Minimal Netlink Message Dumper
(C) 2008 Michael 'Mickey' Lauer <mlauer@vanille-media.de>
GPLv2 or later
"""
import pprint
pp = pprint.PrettyPrinter( indent=4 )
from framework.cxnet.netlink.rtnl import *
p = rtnl_msg_parser()
s = rtnl_socket( groups=0xff )
while True:
len, msg = s.recv()
pp.pprint( p.parse( msg ) )
|