/opt/imh-python/lib/python3.9/site-packages/pyroute2/netlink/rtnl
NameSizeModeActions
ifinfmsg/-0755rm
tcmsg/-0755rm
__pycache__/-0755rm
errmsg.py1550644editdlrm
fibmsg.py24280644editdlrm
ifaddrmsg.py27990644editdlrm
ifstatsmsg.py25830644editdlrm
iprsocket.py58020644editdlrm
iw_event.py32440644editdlrm
marshal.py20180644editdlrm
ndmsg.py26070644editdlrm
ndtmsg.py21880644editdlrm
nsidmsg.py3210644editdlrm
nsinfmsg.py5220644editdlrm
p2pmsg.py3660644editdlrm
riprsocket.py5230644editdlrm
rtgenmsg.py1140644editdlrm
rtmsg.py260780644editdlrm
__init__.py59890644editdlrm
Edit: /opt/imh-python/lib/python3.9/site-packages/pyroute2/netlink/rtnl/riprsocket.py (523B)
from pyroute2.netlink import NETLINK_ROUTE, rtnl from pyroute2.netlink.nlsocket import NetlinkSocket from pyroute2.netlink.rtnl.marshal import MarshalRtnl class RawIPRSocketBase(object): def __init__(self, fileno=None): super(RawIPRSocketBase, self).__init__(NETLINK_ROUTE, fileno=fileno) self.marshal = MarshalRtnl() def bind(self, groups=rtnl.RTMGRP_DEFAULTS, **kwarg): super(RawIPRSocketBase, self).bind(groups, **kwarg) class RawIPRSocket(RawIPRSocketBase, NetlinkSocket): pass