aboutsummaryrefslogtreecommitdiffstats
path: root/epan/rtp_pt.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2005-09-17 00:02:31 +0000
committerGuy Harris <guy@alum.mit.edu>2005-09-17 00:02:31 +0000
commitb7b80d94bee66b7edbd606c5ce6afdeb009bd5b8 (patch)
tree56b81de26d3859239959edef327f0779f660c99b /epan/rtp_pt.h
parentef461aa94b31f7f10b710ecfbfcb4a375690c049 (diff)
Move a pile of protocol-related headers from the top-level source
directory to the epan directory. Some of them should perhaps ultimately be moved to epan/dissectors, if they pertain only to stuff exported by a particular dissector. Fix Gerald's e-mail address in files we're moving. svn path=/trunk/; revision=15844
Diffstat (limited to 'epan/rtp_pt.h')
-rw-r--r--epan/rtp_pt.h68
1 files changed, 68 insertions, 0 deletions
diff --git a/epan/rtp_pt.h b/epan/rtp_pt.h
new file mode 100644
index 0000000000..890c433707
--- /dev/null
+++ b/epan/rtp_pt.h
@@ -0,0 +1,68 @@
+/* rtp_pt.h
+ * Defines RTP payload types
+ *
+ * $Id$
+ *
+ * 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__
+
+#include "epan/value_string.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_CN_OLD 19 /* Payload type reserved (old version Comfort Noise) */
+#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 */
+
+ETH_VAR_IMPORT const value_string rtp_payload_type_vals[];
+ETH_VAR_IMPORT const value_string rtp_payload_type_short_vals[];
+
+#endif