Skip to content
Snippets Groups Projects
Commit 5d3dfe47 authored by Pierre Lalet's avatar Pierre Lalet
Browse files

Merged in gvaladon/scapy-issues/GTP support (pull request #90)

Enhance GTP support
parents 56847352 75b6c7d9
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
# GTP unit tests
#
# Type the following command to launch start the tests:
# $ sudo bash test/run_tests -t scapy/contrib/gtp.uts -F
+ GTPv1
= GTPCreatePDPContextRequest(), basic instanciation
gtp = IP(str(IP()/UDP(sport=2123)/GTPHeader(teid=2807)/GTPCreatePDPContextRequest()))
str(gtp) == 'E\x00\x00(\x00\x01\x00\x00@\x11|\xc2\x7f\x00\x00\x01\x7f\x00\x00\x01\x08K\x08K\x00\x14\xb4"2\x10\x00\x04\x00\x00\n\xf7\x00\x00\x00\x00'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment