MCPcopy Create free account
hub / github.com/secdev/scapy / NeighborReport

Class NeighborReport

scapy/layers/dot11.py:1741–1770  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1739
1740
1741class NeighborReport(Packet):
1742 name = "Neighbor Report"
1743 fields_desc = [
1744 ByteField("type", 0),
1745 ByteField("len", 13),
1746 MACField("BSSID", ETHER_ANY),
1747 # BSSID Information
1748 BitField("AP_reach", 0, 2, tot_size=-4),
1749 BitField("security", 0, 1),
1750 BitField("key_scope", 0, 1),
1751 BitField("capabilities", 0, 6),
1752 BitField("mobility", 0, 1),
1753 BitField("HT", 0, 1),
1754 BitField("VHT", 0, 1),
1755 BitField("FTM", 0, 1),
1756 BitField("reserved", 0, 18, end_tot_size=-4),
1757 # BSSID Information end
1758 ByteField("op_class", 0),
1759 ByteField("channel", 0),
1760 ByteField("phy_type", 0),
1761 ConditionalField(
1762 PacketListField(
1763 "subelems",
1764 SubelemTLV(),
1765 SubelemTLV,
1766 length_from=lambda p: p.len - 13
1767 ),
1768 lambda p: p.len > 13
1769 )
1770 ]
1771
1772
1773# 802.11-2016 9.6.14.9

Callers 2

Dot11BSSTMRequestClass · 0.85
Dot11BSSTMResponseClass · 0.85

Calls 6

ByteFieldClass · 0.90
BitFieldClass · 0.90
ConditionalFieldClass · 0.90
PacketListFieldClass · 0.90
MACFieldClass · 0.85
SubelemTLVClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…