scapy.layers.vrrp
VRRP (Virtual Router Redundancy Protocol).
- class scapy.layers.vrrp.VRRP(*args, **kargs)
Bases:
scapy.packet.Packet- aliastypes
- classmethod dispatch_hook(_pkt=None, *args, **kargs)
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |VERSION| TYPE | VRID | PRIORITY | IPCOUNT | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | AUTHTYPE | ADV | CHKSUM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ADDRLIST | AUTH1 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | AUTH2 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. VRRPVRRP fields version
BitField(4 bits)2type
BitField(4 bits)1vrid
1priority
100ipcount
Noneauthtype
0adv
1chksum
Noneaddrlist
[]auth1
0auth2
0
- post_build(p, pay)
- class scapy.layers.vrrp.VRRPv3(*args, **kargs)
Bases:
scapy.packet.Packet- aliastypes
- classmethod dispatch_hook(_pkt=None, *args, **kargs)
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |VERSION| TYPE | VRID | PRIORITY | IPCOUNT | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RES | ADV | CHKSUM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ADDRLIST | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. VRRPv3VRRPv3 fields version
BitField(4 bits)3type
BitField(4 bits)1vrid
1priority
100ipcount
Noneres
BitField(4 bits)0adv
BitField(12 bits)100chksum
Noneaddrlist
b''
- post_build(p, pay)