diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-09-02 19:18:52 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-09-02 19:18:52 +0000 |
commit | 454806eeff5bd53d1283bbc2fafe86cdf0eddd48 (patch) | |
tree | 7924a9ddd20a83a016d1fdb768079765bb451dba /xdlc.h | |
parent | 7cb23da0fb155a118684a966303da81da70d18ca (diff) | |
download | wireshark-454806eeff5bd53d1283bbc2fafe86cdf0eddd48.tar.gz wireshark-454806eeff5bd53d1283bbc2fafe86cdf0eddd48.tar.bz2 wireshark-454806eeff5bd53d1283bbc2fafe86cdf0eddd48.zip |
Use "dissect_xdlc_control()" to dissect the control field of Frame Relay
packets that have one. Add an argument to "dissect_xdlc_control()" to
indicate whether it should append the information to the Info field or
just put it in the Info field.
Use the #defines for the DLCI bitfields to extract the DLCI bits when
constructing the DLCI.
svn path=/trunk/; revision=8335
Diffstat (limited to 'xdlc.h')
-rw-r--r-- | xdlc.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,7 +2,7 @@ * Define *DLC frame types, and routine to dissect the control field of * a *DLC frame. * - * $Id: xdlc.h,v 1.17 2002/08/28 21:00:41 jmayer Exp $ + * $Id: xdlc.h,v 1.18 2003/09/02 19:18:52 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -84,6 +84,6 @@ int get_xdlc_control(const guchar *pd, int offset, int dissect_xdlc_control(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *xdlc_tree, int hf_xdlc_control, gint ett_xdlc_control, - int is_response, int extended); + int is_response, int extended, int append_info); #endif |