aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-uaudp.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-03-01 15:23:05 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-03-01 15:23:05 +0000
commitd8d9450a4f9bcd114dcfb547125cb225d1cb1437 (patch)
treef37287f63c6e522d2325f0364339aff4a7925b40 /epan/dissectors/packet-uaudp.h
parent566dc82999aca3db8c595ce043f046660dc08e11 (diff)
From Lars Ruoff:
Dissector for Alcatel-Lucent Enterprise Universal Alcatel- and NOE protocol, take II. families. Meant as a replacement for existing UA-dissector in trunk because of better feature set: - latest protocol specifiaction - more detailed dissection and filtering possibilities on subprotocols - RTP stream setup - NOE over SIP Lars Ruoff On behalf of Alcatel-Lucent Enterprise https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6844 svn path=/trunk/; revision=41266
Diffstat (limited to 'epan/dissectors/packet-uaudp.h')
-rw-r--r--epan/dissectors/packet-uaudp.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/epan/dissectors/packet-uaudp.h b/epan/dissectors/packet-uaudp.h
new file mode 100644
index 0000000000..fb05171dab
--- /dev/null
+++ b/epan/dissectors/packet-uaudp.h
@@ -0,0 +1,53 @@
+/* packet-uaudp.h
+ * Routines for UA/UDP (Universal Alcatel over UDP) packet dissection.
+ * Copyright 2012, Alcatel-Lucent Enterprise <lars.ruoff@alcatel-lucent.com>
+ *
+ * $Id$
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * 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 _PACKET_UAUDP_H_
+#define _PACKET_UAUDP_H_
+
+#include <gmodule.h>
+
+#define UAUDP_CONNECT 0
+#define UAUDP_CONNECT_ACK 1
+#define UAUDP_RELEASE 2
+#define UAUDP_RELEASE_ACK 3
+#define UAUDP_KEEPALIVE 4
+#define UAUDP_KEEPALIVE_ACK 5
+#define UAUDP_NACK 6
+#define UAUDP_DATA 7
+
+typedef enum _e_ua_direction {
+ SYS_TO_TERM, /* system -> terminal */
+ TERM_TO_SYS, /* terminal -> system */
+ DIR_UNKNOWN /* unknown direction */
+} e_ua_direction;
+
+/* struct for tap ethereal */
+typedef struct _tap_struct_uaudp {
+ guint opcode;
+ guint expseq; /* expected sequence number */
+ guint sntseq; /* sent sequence number */
+} tap_struct_uaudp;
+
+#endif /* _PACKET_UAUDP_H_ */