scapy.contrib.ppi_cace module

CACE PPI types

class scapy.contrib.ppi_cace.PPITSFTField(name, default)

Bases: scapy.fields.LELongField

h2i(pkt, x)

Convert human value to internal value

i2h(pkt, x)

Convert internal value to human value

class scapy.contrib.ppi_cace.PPI_Dot11Common

Bases: scapy.layers.ppi.PPI_Element

aliastypes = [<class 'scapy.contrib.ppi_cace.PPI_Dot11Common'>, <class 'scapy.layers.ppi.PPI_Element'>, <class 'scapy.packet.Packet'>]
extract_padding(s)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (PPI_Dot11Common).TSF_Timer>, <Field (PPI_Dot11Common).Pkt_Flags>, <Field (PPI_Dot11Common).Rate>, <Field (PPI_Dot11Common).Ch_Freq>, <Field (PPI_Dot11Common).Ch_Flags>, <Field (PPI_Dot11Common).FHSS_Hop>, <Field (PPI_Dot11Common).FHSS_Pat>, <Field (PPI_Dot11Common).Antsignal>, <Field (PPI_Dot11Common).Antnoise>]
class scapy.contrib.ppi_cace.dBmByteField(name, default)

Bases: scapy.fields.Field

i2repr(pkt, x)

Convert internal value to a nice representation