aboutsummaryrefslogtreecommitdiff
path: root/contrib/libpcap/grammar.y
diff options
context:
space:
mode:
authorPaul Traina <pst@FreeBSD.org>1996-08-21 20:01:08 +0000
committerPaul Traina <pst@FreeBSD.org>1996-08-21 20:01:08 +0000
commit0d086d29343ace00974bdd497128743665affd35 (patch)
treebaf87663b1bebe77fd7548e07a2b3bb94cd45ec8 /contrib/libpcap/grammar.y
parent7b4e5796b921fa69629efd1c167c072d1343b69e (diff)
downloadsrc-0d086d29343ace00974bdd497128743665affd35.tar.gz
src-0d086d29343ace00974bdd497128743665affd35.zip
Add support for ISO CLNP/ES-IS/IS-IS.
These changes have been also sent back to LBL for inclusion in next release. Submitted by: Tony Li <tli@jnx.com>
Notes
Notes: svn path=/head/; revision=17749
Diffstat (limited to 'contrib/libpcap/grammar.y')
-rw-r--r--contrib/libpcap/grammar.y4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/libpcap/grammar.y b/contrib/libpcap/grammar.y
index 283e2ea8558d..08f639fb1939 100644
--- a/contrib/libpcap/grammar.y
+++ b/contrib/libpcap/grammar.y
@@ -112,6 +112,7 @@ pcap_parse()
%token ID EID HID
%token LSH RSH
%token LEN
+%token ISO ESIS ISIS
%type <s> ID
%type <e> EID
@@ -235,6 +236,9 @@ pname: LINK { $$ = Q_LINK; }
| SCA { $$ = Q_SCA; }
| MOPDL { $$ = Q_MOPDL; }
| MOPRC { $$ = Q_MOPRC; }
+ | ISO { $$ = Q_ISO; }
+ | ESIS { $$ = Q_ESIS; }
+ | ISIS { $$ = Q_ISIS; }
;
other: pqual TK_BROADCAST { $$ = gen_broadcast($1); }
| pqual TK_MULTICAST { $$ = gen_multicast($1); }