Mini Shell

Direktori : /proc/thread-self/root/proc/self/root/opt/saltstack/salt/extras-3.10/pyroute2/ext/
Upload File :
Current File : //proc/thread-self/root/proc/self/root/opt/saltstack/salt/extras-3.10/pyroute2/ext/icmp.py

from pyroute2.protocols import msg


class icmpmsg(msg):
    fields = [('type', 'uint8'), ('code', 'uint8'), ('csum', 'be32')]


class icmp_router_adv(icmpmsg):
    fields = icmpmsg.fields + [
        ('addrs_num', 'uint8'),
        ('alen', 'uint8'),
        ('lifetime', 'be32'),
        ('addrs', 'routers'),
    ]

Zerion Mini Shell 1.0