scapy.layers.mgcp
MGCP (Media Gateway Control Protocol)
[RFC 2805]
- class scapy.layers.mgcp.MGCP(*args: Any, **kargs: Any)[source]
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VERB | SEP1 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TRANSACTION ID | SEP2 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ENDPOINT | SEP3 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VERSION | SEP4 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. MGCP
MGCP fields verb
b'AUEP'
sep1
b' '
transaction_id
b'1234567'
sep2
b' '
endpoint
b'dummy@dummy.net'
sep3
b' '
version
b'MGCP 1.0 NCS 1.0'
sep4
b'\n'
- longname = 'Media Gateway Control Protocol'