aboutsummaryrefslogtreecommitdiffstats
path: root/rtp_pt.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-08-23 06:36:46 +0000
committerGuy Harris <guy@alum.mit.edu>2003-08-23 06:36:46 +0000
commit555652a37f17cccc4caa779470fcabeb286a750d (patch)
tree18703fada771039d686ae62ff720bf65a67952a8 /rtp_pt.h
parent22b60d9812bc2151a3969753c3aa3b44f830d10a (diff)
downloadwireshark-555652a37f17cccc4caa779470fcabeb286a750d.tar.gz
wireshark-555652a37f17cccc4caa779470fcabeb286a750d.tar.bz2
wireshark-555652a37f17cccc4caa779470fcabeb286a750d.zip
Add a dissector table for RTP payload types, and have dissectors
register themselves in that table rather than exporting their dissectors by name and having the RTP dissector know about particular dissectors for particular payload types. svn path=/trunk/; revision=8215
Diffstat (limited to 'rtp_pt.h')
-rw-r--r--rtp_pt.h62
1 files changed, 62 insertions, 0 deletions
diff --git a/rtp_pt.h b/rtp_pt.h
new file mode 100644
index 0000000000..8cc09da8d2
--- /dev/null
+++ b/rtp_pt.h
@@ -0,0 +1,62 @@
+/* rtp_pt.h
+ * Defines RTP payload types
+ *
+ * $Id: rtp_pt.h,v 1.1 2003/08/23 06:36:46 guy Exp $
+ *
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@ethereal.com>
+ * Copyright 1998 Gerald Combs
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
+#ifndef __RTP_PT_H__
+#define __RTP_PT_H__
+
+/*
+ * RTP Payload types
+ * Table B.2 / H.225.0
+ * Also RFC 1890, and
+ *
+ * http://www.iana.org/assignments/rtp-parameters
+ */
+#define PT_PCMU 0 /* RFC 1890 */
+#define PT_1016 1 /* RFC 1890 */
+#define PT_G721 2 /* RFC 1890 */
+#define PT_GSM 3 /* RFC 1890 */
+#define PT_G723 4 /* From Vineet Kumar of Intel; see the Web page */
+#define PT_DVI4_8000 5 /* RFC 1890 */
+#define PT_DVI4_16000 6 /* RFC 1890 */
+#define PT_LPC 7 /* RFC 1890 */
+#define PT_PCMA 8 /* RFC 1890 */
+#define PT_G722 9 /* RFC 1890 */
+#define PT_L16_STEREO 10 /* RFC 1890 */
+#define PT_L16_MONO 11 /* RFC 1890 */
+#define PT_QCELP 12 /* Qualcomm Code Excited Linear Predictive coding? */
+#define PT_CN 13 /* RFC 3389 */
+#define PT_MPA 14 /* RFC 1890, RFC 2250 */
+#define PT_G728 15 /* RFC 1890 */
+#define PT_DVI4_11025 16 /* from Joseph Di Pol of Sun; see the Web page */
+#define PT_DVI4_22050 17 /* from Joseph Di Pol of Sun; see the Web page */
+#define PT_G729 18
+#define PT_CELB 25 /* RFC 2029 */
+#define PT_JPEG 26 /* RFC 2435 */
+#define PT_NV 28 /* RFC 1890 */
+#define PT_H261 31 /* RFC 2032 */
+#define PT_MPV 32 /* RFC 2250 */
+#define PT_MP2T 33 /* RFC 2250 */
+#define PT_H263 34 /* from Chunrong Zhu of Intel; see the Web page */
+
+#endif