summaryrefslogtreecommitdiffstats
path: root/contrib/libpcap/grammar.y
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1996-08-21 20:01:08 +0000
committerpst <pst@FreeBSD.org>1996-08-21 20:01:08 +0000
commit624cf51a56f60de14c441f503a12de6a89001f9c (patch)
treebaf87663b1bebe77fd7548e07a2b3bb94cd45ec8 /contrib/libpcap/grammar.y
parenta9ea88b748a36504648eb9ae3a195fc7b1790176 (diff)
downloadFreeBSD-src-624cf51a56f60de14c441f503a12de6a89001f9c.zip
FreeBSD-src-624cf51a56f60de14c441f503a12de6a89001f9c.tar.gz
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>
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 283e2ea..08f639f 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); }
OpenPOWER on IntegriCloud