scapy.layers.tls.quic

RFC9000 QUIC Transport Parameters

class scapy.layers.tls.quic.QUIC_TP_AckDelayExponent(_pkt, /, *, type=10, len=None, value=None)[source]

Bases: _QUIC_TP_VarIntValue

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             |      LEN      |     VALUE     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|               |
+-+-+-+-+-+-+-+-+

                  Fig. QUIC_TP_AckDelayExponent                   
QUIC_TP_AckDelayExponent fields

type

QuicVarEnumField

10

len

_QUIC_VarInt_Len

None

value

QuicVarIntField

None

class scapy.layers.tls.quic.QUIC_TP_ActiveConnectionIdLimit(_pkt, /, *, type=14, len=None, value=None)[source]

Bases: _QUIC_TP_VarIntValue

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             |      LEN      |     VALUE     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|               |
+-+-+-+-+-+-+-+-+

               Fig. QUIC_TP_ActiveConnectionIdLimit               
QUIC_TP_ActiveConnectionIdLimit fields

type

QuicVarEnumField

14

len

_QUIC_VarInt_Len

None

value

QuicVarIntField

None

class scapy.layers.tls.quic.QUIC_TP_DisableActiveMigration(_pkt, /, *, type=12, len=0)[source]

Bases: QUIC_TP_Unknown

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             |              LEN              |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

               Fig. QUIC_TP_DisableActiveMigration                
QUIC_TP_DisableActiveMigration fields

type

QuicVarEnumField

12

len

QuicVarIntField

0

class scapy.layers.tls.quic.QUIC_TP_InitialMaxData(_pkt, /, *, type=4, len=None, value=None)[source]

Bases: _QUIC_TP_VarIntValue

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             |      LEN      |     VALUE     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|               |
+-+-+-+-+-+-+-+-+

                   Fig. QUIC_TP_InitialMaxData                    
QUIC_TP_InitialMaxData fields

type

QuicVarEnumField

4

len

_QUIC_VarInt_Len

None

value

QuicVarIntField

None

class scapy.layers.tls.quic.QUIC_TP_InitialMaxStreamDataBidiLocal(_pkt, /, *, type=5, len=None, value=None)[source]

Bases: _QUIC_TP_VarIntValue

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             |      LEN      |     VALUE     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|               |
+-+-+-+-+-+-+-+-+

            Fig. QUIC_TP_InitialMaxStreamDataBidiLocal            
QUIC_TP_InitialMaxStreamDataBidiLocal fields

type

QuicVarEnumField

5

len

_QUIC_VarInt_Len

None

value

QuicVarIntField

None

class scapy.layers.tls.quic.QUIC_TP_InitialMaxStreamDataBidiRemote(_pkt, /, *, type=6, len=None, value=None)[source]

Bases: _QUIC_TP_VarIntValue

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             |      LEN      |     VALUE     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|               |
+-+-+-+-+-+-+-+-+

           Fig. QUIC_TP_InitialMaxStreamDataBidiRemote            
QUIC_TP_InitialMaxStreamDataBidiRemote fields

type

QuicVarEnumField

6

len

_QUIC_VarInt_Len

None

value

QuicVarIntField

None

class scapy.layers.tls.quic.QUIC_TP_InitialMaxStreamDataUni(_pkt, /, *, type=7, len=None, value=None)[source]

Bases: _QUIC_TP_VarIntValue

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             |      LEN      |     VALUE     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|               |
+-+-+-+-+-+-+-+-+

               Fig. QUIC_TP_InitialMaxStreamDataUni               
QUIC_TP_InitialMaxStreamDataUni fields

type

QuicVarEnumField

7

len

_QUIC_VarInt_Len

None

value

QuicVarIntField

None

class scapy.layers.tls.quic.QUIC_TP_InitialMaxStreamsBidi(_pkt, /, *, type=8, len=None, value=None)[source]

Bases: _QUIC_TP_VarIntValue

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             |      LEN      |     VALUE     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|               |
+-+-+-+-+-+-+-+-+

                Fig. QUIC_TP_InitialMaxStreamsBidi                
QUIC_TP_InitialMaxStreamsBidi fields

type

QuicVarEnumField

8

len

_QUIC_VarInt_Len

None

value

QuicVarIntField

None

class scapy.layers.tls.quic.QUIC_TP_InitialMaxStreamsUni(_pkt, /, *, type=9, len=None, value=None)[source]

Bases: _QUIC_TP_VarIntValue

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             |      LEN      |     VALUE     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|               |
+-+-+-+-+-+-+-+-+

                Fig. QUIC_TP_InitialMaxStreamsUni                 
QUIC_TP_InitialMaxStreamsUni fields

type

QuicVarEnumField

9

len

_QUIC_VarInt_Len

None

value

QuicVarIntField

None

class scapy.layers.tls.quic.QUIC_TP_InitialSourceConnectionId(_pkt, /, *, type=15, len=None, value=None)[source]

Bases: QUIC_TP_Unknown

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             |              LEN              |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|             VALUE             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

              Fig. QUIC_TP_InitialSourceConnectionId              
QUIC_TP_InitialSourceConnectionId fields

type

QuicVarEnumField

15

len

QuicVarLenField

None

value

StrLenField

None

class scapy.layers.tls.quic.QUIC_TP_MaxAckDelay(_pkt, /, *, type=11, len=None, value=None)[source]

Bases: _QUIC_TP_VarIntValue

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             |      LEN      |     VALUE     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|               |
+-+-+-+-+-+-+-+-+

                     Fig. QUIC_TP_MaxAckDelay                     
QUIC_TP_MaxAckDelay fields

type

QuicVarEnumField

11

len

_QUIC_VarInt_Len

None

value

QuicVarIntField

None

class scapy.layers.tls.quic.QUIC_TP_MaxIdleTimeout(_pkt, /, *, type=1, len=None, value=None)[source]

Bases: _QUIC_TP_VarIntValue

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             |      LEN      |     VALUE     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|               |
+-+-+-+-+-+-+-+-+

                   Fig. QUIC_TP_MaxIdleTimeout                    
QUIC_TP_MaxIdleTimeout fields

type

QuicVarEnumField

1

len

_QUIC_VarInt_Len

None

value

QuicVarIntField

None

class scapy.layers.tls.quic.QUIC_TP_MaxUdpPayloadSize(_pkt, /, *, type=3, len=None, value=None)[source]

Bases: _QUIC_TP_VarIntValue

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             |      LEN      |     VALUE     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|               |
+-+-+-+-+-+-+-+-+

                  Fig. QUIC_TP_MaxUdpPayloadSize                  
QUIC_TP_MaxUdpPayloadSize fields

type

QuicVarEnumField

3

len

_QUIC_VarInt_Len

None

value

QuicVarIntField

None

class scapy.layers.tls.quic.QUIC_TP_OriginalDestinationConnectionId(_pkt, /, *, type=0, len=None, value=None)[source]

Bases: QUIC_TP_Unknown

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             |              LEN              |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|             VALUE             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

           Fig. QUIC_TP_OriginalDestinationConnectionId           
QUIC_TP_OriginalDestinationConnectionId fields

type

QuicVarEnumField

0

len

QuicVarLenField

None

value

StrLenField

None

class scapy.layers.tls.quic.QUIC_TP_PreferredAddress(_pkt, /, *, type=13, len=None, value=None)[source]

Bases: QUIC_TP_Unknown

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             |              LEN              |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|             VALUE             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                  Fig. QUIC_TP_PreferredAddress                   
QUIC_TP_PreferredAddress fields

type

QuicVarEnumField

13

len

QuicVarLenField

None

value

StrLenField

None

class scapy.layers.tls.quic.QUIC_TP_RetrySourceConnectionId(_pkt, /, *, type=16, len=None, value=None)[source]

Bases: QUIC_TP_Unknown

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             |              LEN              |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|             VALUE             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

               Fig. QUIC_TP_RetrySourceConnectionId               
QUIC_TP_RetrySourceConnectionId fields

type

QuicVarEnumField

16

len

QuicVarLenField

None

value

StrLenField

None

class scapy.layers.tls.quic.QUIC_TP_StatelessResetToken(_pkt, /, *, type=2, len=None, value=None)[source]

Bases: QUIC_TP_Unknown

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             |              LEN              |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|             VALUE             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                 Fig. QUIC_TP_StatelessResetToken                 
QUIC_TP_StatelessResetToken fields

type

QuicVarEnumField

2

len

QuicVarLenField

None

value

StrLenField

None

class scapy.layers.tls.quic.QUIC_TP_Unknown(_pkt, /, *, type=None, len=None, value=None)[source]

Bases: Packet

aliastypes
default_payload_class(_)[source]
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             |              LEN              |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|             VALUE             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                       Fig. QUIC_TP_Unknown                       
QUIC_TP_Unknown fields

type

QuicVarEnumField

None

len

QuicVarLenField

None

value

StrLenField

None