scapy.contrib.ppi_cace

CACE PPI types

class scapy.contrib.ppi_cace.PPITSFTField(name: str, default: int | None)[源代码]

基类:LELongField

h2i(pkt, x)[源代码]
i2h(pkt, x)[源代码]
class scapy.contrib.ppi_cace.PPI_Dot11Common(_pkt, /, *, TSF_Timer=0, Pkt_Flags=<Flag 0 ()>, Rate=0, Ch_Freq=0, Ch_Flags=<Flag 0 ()>, FHSS_Hop=0, FHSS_Pat=0, Antsignal=-128, Antnoise=-128)[源代码]

基类:PPI_Element

aliastypes
extract_padding(s)[源代码]
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                           TSF TIMER                           |
+                                                               +
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           PKT FLAGS           |              RATE             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|            CH FREQ            |            CH FLAGS           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|    FHSS HOP   |    FHSS PAT   |   ANTSIGNAL   |    ANTNOISE   |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                       Fig. PPI_Dot11Common                       
PPI_Dot11Common fields

TSF_Timer

PPITSFTField

0

Pkt_Flags

FlagsField

<Flag 0 ()>

Rate

LEShortField

0

Ch_Freq

LEShortField

0

Ch_Flags

FlagsField

<Flag 0 ()>

FHSS_Hop

ByteField

0

FHSS_Pat

ByteField

0

Antsignal

dBmByteField

-128

Antnoise

dBmByteField

-128

class scapy.contrib.ppi_cace.dBmByteField(name, default)[源代码]

基类:Field

i2repr(pkt, x)[源代码]