scapy.layers.vrrp

VRRP (Virtual Router Redundancy Protocol).

class scapy.layers.vrrp.VRRP

Bases: scapy.packet.Packet

aliastypes
classmethod dispatch_hook(_pkt=None, *args, **kargs)
fields_desc
VRRP fields

version

BitField (4 bits)

2

type

BitField (4 bits)

1

vrid

ByteField

1

priority

ByteField

100

ipcount

FieldLenField

None

authtype

ByteField

0

adv

ByteField

1

chksum

XShortField

None

addrlist

FieldListField

[]

auth1

IntField

0

auth2

IntField

0

post_build(p, pay)
class scapy.layers.vrrp.VRRPv3

Bases: scapy.packet.Packet

aliastypes
classmethod dispatch_hook(_pkt=None, *args, **kargs)
fields_desc
VRRPv3 fields

version

BitField (4 bits)

3

type

BitField (4 bits)

1

vrid

ByteField

1

priority

ByteField

100

ipcount

FieldLenField

None

res

BitField (4 bits)

0

adv

BitField (12 bits)

100

chksum

XShortField

None

addrlist

FieldListField

[]

post_build(p, pay)