From d8d9450a4f9bcd114dcfb547125cb225d1cb1437 Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Thu, 1 Mar 2012 15:23:05 +0000 Subject: 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 --- epan/dissectors/packet-uaudp.h | 53 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 epan/dissectors/packet-uaudp.h (limited to 'epan/dissectors/packet-uaudp.h') 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 + * + * $Id$ + * + * Wireshark - Network traffic analyzer + * By Gerald Combs + * 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 + +#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_ */ -- cgit v1.2.3