/usr/bin/dump-netlink is in fso-frameworkd 0.9.5.9+git20110512-5.
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 ) )
|