scapy.contrib.gxrp
GARP - Generic Attribute Register Protocol
- author:
Sergey Matsievskiy, matsievskiysv@gmail.com
- description:
This module provides Scapy layers for the GARP protocol and its two applications: GARP VLAN Registration Protocol (GVRP) and GARP Multicast Registration Protocol (GMRP)
- normative references:
IEEE 802.1D 2004 - Media Access Control (MAC) Bridges
IEEE 802.1Q 1998 - Virtual Bridged Local Area Networks
- class scapy.contrib.gxrp.GARP(_pkt, /, *, proto_id=1, msgs=[], end_mark=0)[源代码]
基类:
Packet
GARP packet
- aliastypes
- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PROTO ID | MSGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | END MARK | +-+-+-+-+-+-+-+-+ Fig. GARP
GARP fields proto_id
1
msgs
[]
end_mark
0
- class scapy.contrib.gxrp.GARP_ATTRIBUTE(_pkt, /, *, len=None, event=0)[源代码]
基类:
Packet
GARP attribute container
- aliastypes
- class scapy.contrib.gxrp.GARP_MESSAGE(_pkt, /, *, type=1, attrs=[], end_mark=0)[源代码]
基类:
Packet
GARP message container
- aliastypes
- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | ATTRS | END MARK | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. GARP_MESSAGE
GARP_MESSAGE fields type
1
attrs
[]
end_mark
0
- class scapy.contrib.gxrp.GMRP_GROUP(_pkt, /, *, addr=None)[源代码]
基类:
Packet
GMRP Group
- aliastypes
- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ADDR | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. GMRP_GROUP
GMRP_GROUP fields addr
None
- class scapy.contrib.gxrp.GVRP(_pkt, /, *, vlan=1)[源代码]
基类:
Packet
- aliastypes
- class scapy.contrib.gxrp.LLC_GARP(_pkt, /, *, dsap=0, ssap=0, ctrl=0)[源代码]
基类:
LLC
Dummy class for layer binding
- aliastypes