Mini Shell

Direktori : /opt/saltstack/salt/extras-3.10/pyroute2/ext/
Upload File :
Current File : //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