Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(12)  |  Call(0)  |  Derive(4)  |  Import(8)
Generic marshalling class

src/p/y/pyroute2-0.2.8/pyroute2/netlink/iproute.py   pyroute2(Download)
from socket import AF_INET6
from socket import AF_UNSPEC
from pyroute2.netlink import Marshal
from pyroute2.netlink import NetlinkSocket
from pyroute2.netlink import NLMSG_ERROR
class MarshalRtnl(Marshal):
    msg_map = {RTM_NEWLINK: ifinfmsg,
               RTM_DELLINK: ifinfmsg,
               RTM_NEWADDR: ifaddrmsg,
               RTM_DELADDR: ifaddrmsg,

src/p/y/pyroute2-HEAD/pyroute2/netlink/iproute.py   pyroute2(Download)
from socket import AF_INET6
from socket import AF_UNSPEC
from pyroute2.netlink import Marshal
from pyroute2.netlink import NetlinkSocket
from pyroute2.netlink import NLMSG_ERROR
class MarshalRtnl(Marshal):
    msg_map = {RTM_NEWLINK: ifinfmsg,
               RTM_DELLINK: ifinfmsg,
               RTM_NEWADDR: ifaddrmsg,
               RTM_DELADDR: ifaddrmsg,

src/p/y/pyroute2-0.2.8/pyroute2/iocore/broker.py   pyroute2(Download)
 
from pyroute2.common import AF_PIPE
from pyroute2.netlink import Marshal
from pyroute2.netlink import NLMSG_CONTROL
from pyroute2.netlink import NLMSG_TRANSPORT
class MarshalEnv(Marshal):
    msg_map = {NLMSG_TRANSPORT: envmsg}
 
 
class IOBroker(object):

src/p/y/pyroute2-HEAD/pyroute2/iocore/broker.py   pyroute2(Download)
 
from pyroute2.common import AF_PIPE
from pyroute2.netlink import Marshal
from pyroute2.netlink import NLMSG_CONTROL
from pyroute2.netlink import NLMSG_TRANSPORT
class MarshalEnv(Marshal):
    msg_map = {NLMSG_TRANSPORT: envmsg}
 
 
class IOBroker(object):

src/p/y/pyroute2-0.2.8/pyroute2/netlink/client.py   pyroute2(Download)
from pyroute2.netlink import Marshal
import os
from pyroute2.netlink import NLM_F_DUMP
from pyroute2.netlink import NLM_F_REQUEST
from pyroute2.netlink.generic import NETLINK_GENERIC

src/p/y/pyroute2-HEAD/pyroute2/netlink/client.py   pyroute2(Download)
from pyroute2.netlink import Marshal
import os
from pyroute2.netlink import NLM_F_DUMP
from pyroute2.netlink import NLM_F_REQUEST
from pyroute2.netlink.generic import NETLINK_GENERIC

src/p/y/pyroute2-0.2.8/pyroute2/netlink/taskstats.py   pyroute2(Download)
except ImportError:
    import queue as Queue
from pyroute2.netlink import Marshal
from pyroute2.netlink import NLM_F_REQUEST
from pyroute2.netlink.client import Netlink

src/p/y/pyroute2-HEAD/pyroute2/netlink/taskstats.py   pyroute2(Download)
except ImportError:
    import queue as Queue
from pyroute2.netlink import Marshal
from pyroute2.netlink import NLM_F_REQUEST
from pyroute2.netlink.client import Netlink