scapy.contrib.pim
References
- class scapy.contrib.pim.PIMv2GroupAddrs(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.pim._PIMGenericTlvBase- 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 FAMILY | ENCODING TYPE |B| RESERVED |A| MASK LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | GADDR | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NUM JOINS | NUM PRUNES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | JOIN IPS | PRUNE IPS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PIMv2GroupAddrsPIMv2GroupAddrs fields addr_family
1encoding_type
0bidirection
BitField(1 bit)0reserved
BitField(6 bits)0admin_scope_zone
BitField(1 bit)0mask_len
32gaddr
'0.0.0.0'num_joins
BitFieldLenField(16 bits)Nonenum_prunes
BitFieldLenField(16 bits)Nonejoin_ips
[]prune_ips
[]
- class scapy.contrib.pim.PIMv2Hdr(*args: Any, **kargs: Any)[source]
Bases:
scapy.packet.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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |VERSION| TYPE | RESERVED | CHKSUM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PIMv2HdrPIMv2Hdr fields version
BitField(4 bits)2type
0reserved
0chksum
None
- payload_guess
Possible sublayers:
PIMv2Hello,PIMv2JoinPrune
- class scapy.contrib.pim.PIMv2Hello(*args: Any, **kargs: Any)[source]
Bases:
scapy.packet.Packet- aliastypes
- class scapy.contrib.pim.PIMv2HelloDRPriority(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.pim._PIMv2GenericHello- 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 | LENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DR PRIORITY | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PIMv2HelloDRPriorityPIMv2HelloDRPriority fields type
19length
Nonedr_priority
1
- class scapy.contrib.pim.PIMv2HelloGenerationID(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.pim._PIMv2GenericHello- 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 | LENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | GENERATION ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PIMv2HelloGenerationIDPIMv2HelloGenerationID fields type
20length
Nonegeneration_id
<RandInt>
- class scapy.contrib.pim.PIMv2HelloHoldtime(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.pim._PIMv2GenericHello- 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 | LENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | HOLDTIME | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PIMv2HelloHoldtimePIMv2HelloHoldtime fields type
1length
Noneholdtime
105
- class scapy.contrib.pim.PIMv2HelloLANPruneDelay(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.pim._PIMv2GenericHello- 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 | LENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VALUE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PIMv2HelloLANPruneDelayPIMv2HelloLANPruneDelay fields type
2length
Nonevalue
[<PIMv2HelloLANPruneDelayValue |>]
- class scapy.contrib.pim.PIMv2HelloLANPruneDelayValue(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.pim._PIMv2GenericHello- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |T| PROPAGATION DELAY | OVERRIDE INTERVAL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PIMv2HelloLANPruneDelayValuePIMv2HelloLANPruneDelayValue fields t
<Flag 0 ()>propagation_delay
BitField(15 bits)500override_interval
2500
- class scapy.contrib.pim.PIMv2HelloStateRefresh(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.pim._PIMv2GenericHello- 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 | LENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VALUE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PIMv2HelloStateRefreshPIMv2HelloStateRefresh fields type
21length
Nonevalue
[<PIMv2HelloStateRefreshValue |>]
- class scapy.contrib.pim.PIMv2HelloStateRefreshValue(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.pim._PIMv2GenericHello- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VERSION | INTERVAL | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PIMv2HelloStateRefreshValuePIMv2HelloStateRefreshValue fields version
1interval
0reserved
0
- class scapy.contrib.pim.PIMv2JoinAddrs(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.pim.PIMv2JoinPruneAddrsBase- 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 FAMILY | ENCODING TYPE | RSRVD |S|W|R| MASK LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SRC IP | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PIMv2JoinAddrsPIMv2JoinAddrs fields addr_family
1encoding_type
0rsrvd
BitField(5 bits)0sparse
BitField(1 bit)0wildcard
BitField(1 bit)0rpt
BitField(1 bit)1mask_len
32src_ip
'0.0.0.0'
- class scapy.contrib.pim.PIMv2JoinPrune(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.pim._PIMGenericTlvBase- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | UP ADDR FAMILY|UP ENCODING TYP| UP NEIGHBOR IP | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | RESERVED | NUM GROUP | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | HOLDTIME | JP IPS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PIMv2JoinPrunePIMv2JoinPrune fields up_addr_family
1up_encoding_type
0up_neighbor_ip
'0.0.0.0'reserved
0num_group
Noneholdtime
210jp_ips
[]
- class scapy.contrib.pim.PIMv2JoinPruneAddrsBase(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.pim._PIMGenericTlvBase- 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 FAMILY | ENCODING TYPE | RSRVD |S|W|R| MASK LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SRC IP | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PIMv2JoinPruneAddrsBasePIMv2JoinPruneAddrsBase fields addr_family
1encoding_type
0rsrvd
BitField(5 bits)0sparse
BitField(1 bit)0wildcard
BitField(1 bit)0rpt
BitField(1 bit)1mask_len
32src_ip
'0.0.0.0'
- class scapy.contrib.pim.PIMv2PruneAddrs(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.pim.PIMv2JoinPruneAddrsBase- 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 FAMILY | ENCODING TYPE | RSRVD |S|W|R| MASK LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SRC IP | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PIMv2PruneAddrsPIMv2PruneAddrs fields addr_family
1encoding_type
0rsrvd
BitField(5 bits)0sparse
BitField(1 bit)0wildcard
BitField(1 bit)0rpt
BitField(1 bit)1mask_len
32src_ip
'0.0.0.0'