aboutsummaryrefslogtreecommitdiffstats
path: root/xdlc.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>1999-08-23 23:24:36 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>1999-08-23 23:24:36 +0000
commit36c0fec64b8e3eaf90242209011aa26c09805b05 (patch)
treeed5f2698e9aba20a880f52dfa4ea93eb891ec0a4 /xdlc.h
parentf45fab757b4b9db64a2a9c7811c6ff83fe92037e (diff)
Have "get_xdlc_control()" and "dissect_xdlc_control()" just return a
Boolean indicating whether the frame has any payload to dissect or not. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@556 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'xdlc.h')
-rw-r--r--xdlc.h27
1 files changed, 1 insertions, 26 deletions
diff --git a/xdlc.h b/xdlc.h
index 3f2bc0e8bf..69fb908c34 100644
--- a/xdlc.h
+++ b/xdlc.h
@@ -2,7 +2,7 @@
* Define *DLC frame types, and routine to dissect the control field of
* a *DLC frame.
*
- * $Id: xdlc.h,v 1.2 1999/08/23 22:47:13 guy Exp $
+ * $Id: xdlc.h,v 1.3 1999/08/23 23:24:36 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@unicom.net>
@@ -32,31 +32,6 @@
#define XDLC_S 0x01 /* Supervisory frames */
#define XDLC_U 0x03 /* Unnumbered frames */
-/*
- * U-format modifiers.
- */
-#define XDLC_U_MODIFIER_MASK 0xEC
-#define XDLC_UI 0x00 /* Unnumbered Information */
-#define XDLC_UP 0x20 /* Unnumbered Poll */
-#define XDLC_DISC 0x40 /* Disconnect (command) */
-#define XDLC_RD 0x40 /* Request Disconnect (response) */
-#define XDLC_UA 0x60 /* Unnumbered Acknowledge */
-#define XDLC_SNRM 0x80 /* Set Normal Response Mode */
-#define XDLC_TEST 0xC0 /* Test */
-#define XDLC_SIM 0x04 /* Set Initialization Mode (command) */
-#define XDLC_RIM 0x04 /* Request Initialization Mode (response) */
-#define XDLC_FRMR 0x84 /* Frame reject */
-#define XDLC_CFGR 0xC4 /* Configure */
-#define XDLC_SARM 0x0C /* Set Asynchronous Response Mode (command) */
-#define XDLC_DM 0x0C /* Disconnected mode (response) */
-#define XDLC_SABM 0x2C /* Set Asynchronous Balanced Mode */
-#define XDLC_SARME 0x4C /* Set Asynchronous Response Mode Extended */
-#define XDLC_SABME 0x6C /* Set Asynchronous Balanced Mode Extended */
-#define XDLC_RESET 0x8C /* Reset */
-#define XDLC_XID 0xAC /* Exchange identification */
-#define XDLC_SNRME 0xCC /* Set Normal Response Mode Extended */
-#define XDLC_BCN 0xEC /* Beacon */
-
int get_xdlc_control(const u_char *pd, int offset, int is_response,
int extended);