scapy.layers.sctp
SCTP (Stream Control Transmission Protocol).
- class scapy.layers.sctp.SCTP(_pkt, /, *, sport=0, dport=0, tag=0, chksum=None)[源代码]
基类:
_SCTPChunkGuessPayload,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SPORT | DPORT | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TAG | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CHKSUM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPSCTP fields sport
0dport
0tag
0chksum
None
- class scapy.layers.sctp.SCTPChunkAbort(_pkt, /, *, type=6, reserved=None, TCB=0, len=None, error_causes=b'')[源代码]
基类:
_SCTPChunkGuessPayload,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | RESERVED |T| LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ERROR CAUSES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkAbortSCTPChunkAbort fields type
6reserved
BitField(7 bits)NoneTCB
BitField(1 bit)0len
Noneerror_causes
b''
- class scapy.layers.sctp.SCTPChunkAddressConf(_pkt, /, *, type=193, flags=None, len=None, seq=0, params=[])[源代码]
基类:
_SCTPChunkGuessPayload,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | FLAGS | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SEQ | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PARAMS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkAddressConfSCTPChunkAddressConf fields type
193flags
Nonelen
Noneseq
0params
[]
- class scapy.layers.sctp.SCTPChunkAddressConfAck(_pkt, /, *, type=128, flags=None, len=None, seq=0, params=[])[源代码]
-
- 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 | FLAGS | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SEQ | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PARAMS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkAddressConfAckSCTPChunkAddressConfAck fields type
128flags
Nonelen
Noneseq
0params
[]
- class scapy.layers.sctp.SCTPChunkAuthentication(_pkt, /, *, type=15, flags=None, len=None, shared_key_id=None, HMAC_function=None, HMAC=b'')[源代码]
基类:
_SCTPChunkGuessPayload,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | FLAGS | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SHARED KEY ID | HMAC FUNCTION | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | HMAC | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkAuthenticationSCTPChunkAuthentication fields type
15flags
Nonelen
Noneshared_key_id
NoneHMAC_function
NoneHMAC
b''
- class scapy.layers.sctp.SCTPChunkCookieAck(_pkt, /, *, type=11, flags=None, len=4)[源代码]
基类:
_SCTPChunkGuessPayload,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | FLAGS | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkCookieAckSCTPChunkCookieAck fields type
11flags
Nonelen
4
- class scapy.layers.sctp.SCTPChunkCookieEcho(_pkt, /, *, type=10, flags=None, len=None, cookie=b'')[源代码]
-
- 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 | FLAGS | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | COOKIE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkCookieEchoSCTPChunkCookieEcho fields type
10flags
Nonelen
Nonecookie
b''
- class scapy.layers.sctp.SCTPChunkData(_pkt, /, *, type=0, reserved=None, delay_sack=0, unordered=0, beginning=0, ending=0, len=None, tsn=None, stream_id=None, stream_seq=None, proto_id=None, data=None)[源代码]
基类:
_SCTPChunkGuessPayload,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE |RESERVE|D|U|B|E| LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TSN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STREAM ID | STREAM SEQ | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PROTO ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DATA | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkDataSCTPChunkData fields type
0reserved
BitField(4 bits)Nonedelay_sack
BitField(1 bit)0unordered
BitField(1 bit)0beginning
BitField(1 bit)0ending
BitField(1 bit)0len
Nonetsn
Nonestream_id
Nonestream_seq
Noneproto_id
Nonedata
None
- class scapy.layers.sctp.SCTPChunkError(_pkt, /, *, type=9, flags=None, len=None, error_causes=b'')[源代码]
基类:
_SCTPChunkGuessPayload,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | FLAGS | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ERROR CAUSES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkErrorSCTPChunkError fields type
9flags
Nonelen
Noneerror_causes
b''
- class scapy.layers.sctp.SCTPChunkForwardTSN(_pkt, /, *, type=192, flags=None, len=None, new_tsn=None, skips=[])[源代码]
基类:
_SCTPChunkGuessPayload,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | FLAGS | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NEW TSN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SKIPS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkForwardTSNSCTPChunkForwardTSN fields type
192flags
Nonelen
Nonenew_tsn
Noneskips
[]
- class scapy.layers.sctp.SCTPChunkHeartbeatAck(_pkt, /, *, type=5, flags=None, len=None, params=[])[源代码]
-
- 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 | FLAGS | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PARAMS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkHeartbeatAckSCTPChunkHeartbeatAck fields type
5flags
Nonelen
Noneparams
[]
- class scapy.layers.sctp.SCTPChunkHeartbeatReq(_pkt, /, *, type=4, flags=None, len=None, params=[])[源代码]
基类:
_SCTPChunkGuessPayload,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | FLAGS | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PARAMS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkHeartbeatReqSCTPChunkHeartbeatReq fields type
4flags
Nonelen
Noneparams
[]
- class scapy.layers.sctp.SCTPChunkIData(_pkt, /, *, type=64, reserved=None, delay_sack=0, unordered=0, beginning=0, ending=0, len=None, tsn=None, stream_id=None, reserved_16=None, message_id=None, ppid_fsn=None, data=None)[源代码]
基类:
_SCTPChunkGuessPayload,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE |RESERVE|D|U|B|E| LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TSN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STREAM ID | RESERVED 16 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MESSAGE ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PPID FSN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DATA | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkIDataSCTPChunkIData fields type
64reserved
BitField(4 bits)Nonedelay_sack
BitField(1 bit)0unordered
BitField(1 bit)0beginning
BitField(1 bit)0ending
BitField(1 bit)0len
Nonetsn
Nonestream_id
Nonereserved_16
Nonemessage_id
Noneppid_fsn
MultipleTypeField(IntEnumField, XIntField, XIntField)Nonedata
None
- class scapy.layers.sctp.SCTPChunkIForwardTSN(_pkt, /, *, type=194, flags=None, len=None, new_tsn=None, skips=[])[源代码]
-
- 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 | FLAGS | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NEW TSN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SKIPS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkIForwardTSNSCTPChunkIForwardTSN fields type
194flags
Nonelen
Nonenew_tsn
Noneskips
[]
- class scapy.layers.sctp.SCTPChunkInit(_pkt, /, *, type=1, flags=None, len=None, init_tag=None, a_rwnd=None, n_out_streams=None, n_in_streams=None, init_tsn=None, params=[])[源代码]
基类:
_SCTPChunkGuessPayload,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | FLAGS | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | INIT TAG | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | A RWND | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | N OUT STREAMS | N IN STREAMS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | INIT TSN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PARAMS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkInitSCTPChunkInit fields type
1flags
Nonelen
Noneinit_tag
Nonea_rwnd
Nonen_out_streams
Nonen_in_streams
Noneinit_tsn
Noneparams
[]
- class scapy.layers.sctp.SCTPChunkInitAck(_pkt, /, *, type=2, flags=None, len=None, init_tag=None, a_rwnd=None, n_out_streams=None, n_in_streams=None, init_tsn=None, params=[])[源代码]
-
- 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 | FLAGS | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | INIT TAG | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | A RWND | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | N OUT STREAMS | N IN STREAMS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | INIT TSN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PARAMS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkInitAckSCTPChunkInitAck fields type
2flags
Nonelen
Noneinit_tag
Nonea_rwnd
Nonen_out_streams
Nonen_in_streams
Noneinit_tsn
Noneparams
[]
- class scapy.layers.sctp.SCTPChunkPad(_pkt, /, *, type=132, flags=None, len=None, padding=None)[源代码]
基类:
_SCTPChunkGuessPayload,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | FLAGS | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PADDING | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkPadSCTPChunkPad fields type
132flags
Nonelen
Nonepadding
None
- class scapy.layers.sctp.SCTPChunkParamAdaptationLayer(_pkt, /, *, type=49158, len=8, indication=None)[源代码]
基类:
_SCTPChunkParam,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | INDICATION | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkParamAdaptationLayerSCTPChunkParamAdaptationLayer fields type
49158len
8indication
None
- class scapy.layers.sctp.SCTPChunkParamAddIPAddr(_pkt, /, *, type=49153, len=None, correlation_id=None, addr_type=5, addr_len=None, addr=None)[源代码]
基类:
_SCTPChunkParam,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CORRELATION ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ADDR TYPE | ADDR LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ADDR | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkParamAddIPAddrSCTPChunkParamAddIPAddr fields type
49153len
Nonecorrelation_id
Noneaddr_type
5addr_len
Noneaddr
MultipleTypeField(IPField, IP6Field, StrFixedLenField)b''
- class scapy.layers.sctp.SCTPChunkParamAddIncomingStreamReq(_pkt, /, *, type=18, len=12, re_conf_req_seq_num=None, num_new_stream=None, reserved=None)[源代码]
基类:
SCTPChunkParamAddOutgoingStreamReq- 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 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RE CONF REQ SEQ NUM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NUM NEW STREAM | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkParamAddIncomingStreamReqSCTPChunkParamAddIncomingStreamReq fields type
18len
12re_conf_req_seq_num
Nonenum_new_stream
Nonereserved
None
- class scapy.layers.sctp.SCTPChunkParamAddOutgoingStreamReq(_pkt, /, *, type=17, len=12, re_conf_req_seq_num=None, num_new_stream=None, reserved=None)[源代码]
基类:
_SCTPChunkParam,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RE CONF REQ SEQ NUM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NUM NEW STREAM | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkParamAddOutgoingStreamReqSCTPChunkParamAddOutgoingStreamReq fields type
17len
12re_conf_req_seq_num
Nonenum_new_stream
Nonereserved
None
- class scapy.layers.sctp.SCTPChunkParamChunkList(_pkt, /, *, type=32771, len=None, chunk_list=[])[源代码]
基类:
_SCTPChunkParam,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CHUNK LIST | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkParamChunkListSCTPChunkParamChunkList fields type
32771len
Nonechunk_list
[]
- class scapy.layers.sctp.SCTPChunkParamCookiePreservative(_pkt, /, *, type=9, len=8, sug_cookie_inc=None)[源代码]
基类:
_SCTPChunkParam,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SUG COOKIE INC | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkParamCookiePreservativeSCTPChunkParamCookiePreservative fields type
9len
8sug_cookie_inc
None
- class scapy.layers.sctp.SCTPChunkParamDelIPAddr(_pkt, /, *, type=49154, len=None, correlation_id=None, addr_type=5, addr_len=None, addr=None)[源代码]
-
- 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 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CORRELATION ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ADDR TYPE | ADDR LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ADDR | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkParamDelIPAddrSCTPChunkParamDelIPAddr fields type
49154len
Nonecorrelation_id
Noneaddr_type
5addr_len
Noneaddr
MultipleTypeField(IPField, IP6Field, StrFixedLenField)b''
- class scapy.layers.sctp.SCTPChunkParamECNCapable(_pkt, /, *, type=32768, len=4)[源代码]
基类:
_SCTPChunkParam,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkParamECNCapableSCTPChunkParamECNCapable fields type
32768len
4
- class scapy.layers.sctp.SCTPChunkParamErrorIndication(_pkt, /, *, type=49155, len=None, correlation_id=None, error_causes=b'')[源代码]
基类:
_SCTPChunkParam,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CORRELATION ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ERROR CAUSES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkParamErrorIndicationSCTPChunkParamErrorIndication fields type
49155len
Nonecorrelation_id
Noneerror_causes
b''
- class scapy.layers.sctp.SCTPChunkParamFwdTSN(_pkt, /, *, type=49152, len=4)[源代码]
基类:
_SCTPChunkParam,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkParamFwdTSNSCTPChunkParamFwdTSN fields type
49152len
4
- class scapy.layers.sctp.SCTPChunkParamHeartbeatInfo(_pkt, /, *, type=1, len=None, data=b'')[源代码]
基类:
_SCTPChunkParam,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DATA | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkParamHeartbeatInfoSCTPChunkParamHeartbeatInfo fields type
1len
Nonedata
b''
- class scapy.layers.sctp.SCTPChunkParamHostname(_pkt, /, *, type=11, len=None, hostname=b'')[源代码]
基类:
_SCTPChunkParam,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | HOSTNAME | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkParamHostnameSCTPChunkParamHostname fields type
11len
Nonehostname
b''
- class scapy.layers.sctp.SCTPChunkParamIPv4Addr(_pkt, /, *, type=5, len=8, addr='127.0.0.1')[源代码]
基类:
_SCTPChunkParam,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ADDR | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkParamIPv4AddrSCTPChunkParamIPv4Addr fields type
5len
8addr
'127.0.0.1'
- class scapy.layers.sctp.SCTPChunkParamIPv6Addr(_pkt, /, *, type=6, len=20, addr='::1')[源代码]
基类:
_SCTPChunkParam,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ADDR | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkParamIPv6AddrSCTPChunkParamIPv6Addr fields type
6len
20addr
'::1'
- class scapy.layers.sctp.SCTPChunkParamInSSNResetReq(_pkt, /, *, type=14, len=None, re_conf_req_seq_num=None, stream_num_list=[])[源代码]
基类:
_SCTPChunkParam,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RE CONF REQ SEQ NUM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STREAM NUM LIST | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkParamInSSNResetReqSCTPChunkParamInSSNResetReq fields type
14len
Nonere_conf_req_seq_num
Nonestream_num_list
[]
- class scapy.layers.sctp.SCTPChunkParamOutSSNResetReq(_pkt, /, *, type=13, len=None, re_conf_req_seq_num=None, re_conf_res_seq_num=None, tsn=None, stream_num_list=[])[源代码]
基类:
_SCTPChunkParam,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RE CONF REQ SEQ NUM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RE CONF RES SEQ NUM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TSN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STREAM NUM LIST | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkParamOutSSNResetReqSCTPChunkParamOutSSNResetReq fields type
13len
Nonere_conf_req_seq_num
Nonere_conf_res_seq_num
Nonetsn
Nonestream_num_list
[]
- class scapy.layers.sctp.SCTPChunkParamRandom(_pkt, /, *, type=32770, len=None, random=<RandBin>)[源代码]
基类:
_SCTPChunkParam,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RANDOM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkParamRandomSCTPChunkParamRandom fields type
32770len
Nonerandom
<RandBin>
- class scapy.layers.sctp.SCTPChunkParamReConfigRes(_pkt, /, *, type=16, len=12, re_conf_res_seq_num=None, result=None, sender_next_tsn=None, receiver_next_tsn=None)[源代码]
基类:
_SCTPChunkParam,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RE CONF RES SEQ NUM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RESULT | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SENDER NEXT TSN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RECEIVER NEXT TSN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkParamReConfigResSCTPChunkParamReConfigRes fields type
16len
12re_conf_res_seq_num
Noneresult
Nonesender_next_tsn
Nonereceiver_next_tsn
None
- class scapy.layers.sctp.SCTPChunkParamRequestedHMACFunctions(_pkt, /, *, type=32772, len=None, HMAC_functions_list=[1])[源代码]
基类:
_SCTPChunkParam,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | HMAC FUNCTIONS LIST | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkParamRequestedHMACFunctionsSCTPChunkParamRequestedHMACFunctions fields type
32772len
NoneHMAC_functions_list
[1]
- class scapy.layers.sctp.SCTPChunkParamSSNTSNResetReq(_pkt, /, *, type=15, len=8, re_conf_req_seq_num=None)[源代码]
基类:
_SCTPChunkParam,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RE CONF REQ SEQ NUM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkParamSSNTSNResetReqSCTPChunkParamSSNTSNResetReq fields type
15len
8re_conf_req_seq_num
None
- class scapy.layers.sctp.SCTPChunkParamSetPrimaryAddr(_pkt, /, *, type=49156, len=None, correlation_id=None, addr_type=5, addr_len=None, addr=None)[源代码]
-
- 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 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CORRELATION ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ADDR TYPE | ADDR LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ADDR | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkParamSetPrimaryAddrSCTPChunkParamSetPrimaryAddr fields type
49156len
Nonecorrelation_id
Noneaddr_type
5addr_len
Noneaddr
MultipleTypeField(IPField, IP6Field, StrFixedLenField)b''
- class scapy.layers.sctp.SCTPChunkParamStateCookie(_pkt, /, *, type=7, len=None, cookie=b'')[源代码]
基类:
_SCTPChunkParam,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | COOKIE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkParamStateCookieSCTPChunkParamStateCookie fields type
7len
Nonecookie
b''
- class scapy.layers.sctp.SCTPChunkParamSuccessIndication(_pkt, /, *, type=49157, len=8, correlation_id=None)[源代码]
基类:
_SCTPChunkParam,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CORRELATION ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkParamSuccessIndicationSCTPChunkParamSuccessIndication fields type
49157len
8correlation_id
None
- class scapy.layers.sctp.SCTPChunkParamSupportedAddrTypes(_pkt, /, *, type=12, len=None, addr_type_list=[5])[源代码]
基类:
_SCTPChunkParam,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ADDR TYPE LIST | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkParamSupportedAddrTypesSCTPChunkParamSupportedAddrTypes fields type
12len
Noneaddr_type_list
[5]
- class scapy.layers.sctp.SCTPChunkParamSupportedExtensions(_pkt, /, *, type=32776, len=None, supported_extensions=[15, 193, 128])[源代码]
基类:
_SCTPChunkParam,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SUPPORTED EXTENSIONS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkParamSupportedExtensionsSCTPChunkParamSupportedExtensions fields type
32776len
Nonesupported_extensions
[15, 193, 128]
- class scapy.layers.sctp.SCTPChunkParamUnrocognizedParam(_pkt, /, *, type=8, len=None, param=b'')[源代码]
基类:
_SCTPChunkParam,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PARAM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkParamUnrocognizedParamSCTPChunkParamUnrocognizedParam fields type
8len
Noneparam
b''
- class scapy.layers.sctp.SCTPChunkReConfig(_pkt, /, *, type=130, flags=None, len=None, params=[])[源代码]
基类:
_SCTPChunkGuessPayload,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | FLAGS | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PARAMS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkReConfigSCTPChunkReConfig fields type
130flags
Nonelen
Noneparams
[]
- class scapy.layers.sctp.SCTPChunkSACK(_pkt, /, *, type=3, flags=None, len=None, cumul_tsn_ack=None, a_rwnd=None, n_gap_ack=None, n_dup_tsn=None, gap_ack_list=[], dup_tsn_list=[])[源代码]
基类:
_SCTPChunkGuessPayload,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | FLAGS | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CUMUL TSN ACK | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | A RWND | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | N GAP ACK | N DUP TSN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | GAP ACK LIST | DUP TSN LIST | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkSACKSCTPChunkSACK fields type
3flags
Nonelen
Nonecumul_tsn_ack
Nonea_rwnd
Nonen_gap_ack
Nonen_dup_tsn
Nonegap_ack_list
[]dup_tsn_list
[]
- class scapy.layers.sctp.SCTPChunkShutdown(_pkt, /, *, type=7, flags=None, len=8, cumul_tsn_ack=None)[源代码]
基类:
_SCTPChunkGuessPayload,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | FLAGS | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CUMUL TSN ACK | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkShutdownSCTPChunkShutdown fields type
7flags
Nonelen
8cumul_tsn_ack
None
- class scapy.layers.sctp.SCTPChunkShutdownAck(_pkt, /, *, type=8, flags=None, len=4)[源代码]
基类:
_SCTPChunkGuessPayload,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | FLAGS | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkShutdownAckSCTPChunkShutdownAck fields type
8flags
Nonelen
4
- class scapy.layers.sctp.SCTPChunkShutdownComplete(_pkt, /, *, type=14, reserved=None, TCB=0, len=4)[源代码]
基类:
_SCTPChunkGuessPayload,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | RESERVED |T| LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPChunkShutdownCompleteSCTPChunkShutdownComplete fields type
14reserved
BitField(7 bits)NoneTCB
BitField(1 bit)0len
4
- class scapy.layers.sctp.SCTPForwardSkip(_pkt, /, *, stream_id=None, stream_seq=None)[源代码]
基类:
_SCTPChunkParam,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STREAM ID | STREAM SEQ | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPForwardSkipSCTPForwardSkip fields stream_id
Nonestream_seq
None
- class scapy.layers.sctp.SCTPIForwardSkip(_pkt, /, *, stream_id=None, reserved=None, unordered=None, message_id=None)[源代码]
基类:
_SCTPChunkParam,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STREAM ID | RESERVED |U| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MESSAGE ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPIForwardSkipSCTPIForwardSkip fields stream_id
Nonereserved
BitField(15 bits)Noneunordered
BitField(1 bit)Nonemessage_id
None
- class scapy.layers.sctp.SCTPerror(_pkt, /, *, sport=0, dport=0, tag=0, chksum=None)[源代码]
基类:
SCTP- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SPORT | DPORT | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TAG | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CHKSUM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SCTPerrorSCTPerror fields sport
0dport
0tag
0chksum
None