summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/python_lib/dpkt-1.8.6.2/dpkt/sip.py
diff options
context:
space:
mode:
authorDan Klein <danklei@cisco.com>2015-08-26 14:27:43 +0300
committerDan Klein <danklei@cisco.com>2015-08-26 14:27:43 +0300
commitcdcc62972d42f009f55e6aeb2ca5c60c3acd75eb (patch)
tree5c3fef81ac01407a89740f2d9b8b01b0f3a47c7f /scripts/automation/trex_control_plane/python_lib/dpkt-1.8.6.2/dpkt/sip.py
parent42053c95419042f36242b19d2416d112f7643e14 (diff)
added dpkt package, initial stateless client implementation
Diffstat (limited to 'scripts/automation/trex_control_plane/python_lib/dpkt-1.8.6.2/dpkt/sip.py')
-rw-r--r--scripts/automation/trex_control_plane/python_lib/dpkt-1.8.6.2/dpkt/sip.py33
1 files changed, 0 insertions, 33 deletions
diff --git a/scripts/automation/trex_control_plane/python_lib/dpkt-1.8.6.2/dpkt/sip.py b/scripts/automation/trex_control_plane/python_lib/dpkt-1.8.6.2/dpkt/sip.py
deleted file mode 100644
index fef476da..00000000
--- a/scripts/automation/trex_control_plane/python_lib/dpkt-1.8.6.2/dpkt/sip.py
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id: sip.py 48 2008-05-27 17:31:15Z yardley $
-# -*- coding: utf-8 -*-
-"""Session Initiation Protocol."""
-
-import http
-
-
-class Request(http.Request):
- """SIP request."""
- __hdr_defaults__ = {
- 'method': 'INVITE',
- 'uri': 'sip:user@example.com',
- 'version': '2.0',
- 'headers': {'To': '', 'From': '', 'Call-ID': '', 'CSeq': '', 'Contact': ''}
- }
- __methods = dict.fromkeys((
- 'ACK', 'BYE', 'CANCEL', 'INFO', 'INVITE', 'MESSAGE', 'NOTIFY',
- 'OPTIONS', 'PRACK', 'PUBLISH', 'REFER', 'REGISTER', 'SUBSCRIBE',
- 'UPDATE'
- ))
- __proto = 'SIP'
-
-
-class Response(http.Response):
- """SIP response."""
- __hdr_defaults__ = {
- 'version': '2.0',
- 'status': '200',
- 'reason': 'OK',
- 'headers': {'To': '', 'From': '', 'Call-ID': '', 'CSeq': '', 'Contact': ''}
- }
- __proto = 'SIP'
-