diff options
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/ascend-int.h | 7 | ||||
-rw-r--r-- | wiretap/ascend-scanner.l | 4 |
2 files changed, 7 insertions, 4 deletions
diff --git a/wiretap/ascend-int.h b/wiretap/ascend-int.h index 83994ff5ef..5ad414cd98 100644 --- a/wiretap/ascend-int.h +++ b/wiretap/ascend-int.h @@ -2,7 +2,7 @@ * Definitions for routines common to multiple modules in the Lucent/Ascend * capture file reading code code, but not used outside that code. * - * $Id: ascend-int.h,v 1.3 1999/10/10 18:16:43 guy Exp $ + * $Id: ascend-int.h,v 1.4 1999/11/24 19:29:45 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -34,6 +34,11 @@ typedef struct { guint32 len; } ascend_pkthdr; +/* + * Pointer to the pseudo-header for the current packet. + */ +extern struct ascend_phdr *pseudo_header; + /* Here we provide interfaces to make our scanner act and look like lex */ int ascendlex(void); diff --git a/wiretap/ascend-scanner.l b/wiretap/ascend-scanner.l index 97056380b0..2ed89de7c2 100644 --- a/wiretap/ascend-scanner.l +++ b/wiretap/ascend-scanner.l @@ -1,7 +1,7 @@ %{ /* ascend-scanner.l * - * $Id: ascend-scanner.l,v 1.8 1999/11/18 21:48:53 guy Exp $ + * $Id: ascend-scanner.l,v 1.9 1999/11/24 19:29:45 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@verdict.uthscsa.edu> @@ -41,8 +41,6 @@ extern char *ascend_ra_last; #define YY_INPUT(buf,result,max_size) { int c = file_getc(yy_fh); \ result = (c==EOF) ? YY_NULL : (buf[0] = c, 1); } -struct ascend_phdr *pseudo_header; - int at_eof; int mul, scratch; %} |