scapy.contrib.rsvp¶
-
class
scapy.contrib.rsvp.RSVP(*args, **kargs)¶ Bases:
scapy.packet.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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |VERSION| FLAGS | CLASS | CHKSUM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TTL | DATAOFS | LENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. RSVPRSVP fields¶ Version
BitField(4 bits)1Flags
BitField(4 bits)1Class
1chksum
NoneTTL
1dataofs
0Length
None
-
payload_guess¶ Possible sublayers:
RSVP_Object
-
post_build(p, pay)¶
-
-
class
scapy.contrib.rsvp.RSVP_Data(*args, **kargs)¶ Bases:
scapy.packet.Packet-
aliastypes¶
-
default_payload_class(payload)¶
-
-
class
scapy.contrib.rsvp.RSVP_HOP(*args, **kargs)¶ Bases:
scapy.packet.Packet-
aliastypes¶
-
default_payload_class(payload)¶
-
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NEIGHBOR | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | INFACE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. RSVP_HOPRSVP_HOP fields¶ neighbor
'0.0.0.0'inface
BitField(32 bits)1
-
-
class
scapy.contrib.rsvp.RSVP_LabelReq(*args, **kargs)¶ Bases:
scapy.packet.Packet-
aliastypes¶
-
default_payload_class(payload)¶
-
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RESERVE | L3PID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. RSVP_LabelReqRSVP_LabelReq fields¶ reserve
1L3PID
1
-
-
class
scapy.contrib.rsvp.RSVP_Object(*args, **kargs)¶ Bases:
scapy.packet.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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LENGTH | CLASS | C-TYPE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. RSVP_ObjectRSVP_Object fields¶ Length
4Class
1C-Type
1
-
guess_payload_class(payload)¶
-
-
class
scapy.contrib.rsvp.RSVP_SenderTSPEC(*args, **kargs)¶ Bases:
scapy.packet.Packet-
aliastypes¶
-
default_payload_class(payload)¶
-
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MSG FORMAT | RESERVE | DATA LENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SRV HDR | RESERVE2 | SRV LENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TOKENS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. RSVP_SenderTSPECRSVP_SenderTSPEC fields¶ Msg_Format
0reserve
0Data_Length
4Srv_hdr
1reserve2
0Srv_Length
4Tokens
b''
-
-
class
scapy.contrib.rsvp.RSVP_SessionAttrb(*args, **kargs)¶ Bases:
scapy.packet.Packet-
aliastypes¶
-
default_payload_class(payload)¶
-
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SETUP PRIORITY| HOLD PRIORITY | FLAGS | NAME LENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | NAME | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. RSVP_SessionAttrbRSVP_SessionAttrb fields¶ Setup_priority
1Hold_priority
1flags
1Name_length
NoneName
b''
-
-
class
scapy.contrib.rsvp.RSVP_Time(*args, **kargs)¶ Bases:
scapy.packet.Packet-
aliastypes¶
-
default_payload_class(payload)¶
-
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | REFRESH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. RSVP_TimeRSVP_Time fields¶ refresh
BitField(32 bits)1
-