Deleted Added
full compact
21a22
> * $FreeBSD: head/contrib/libpcap/grammar.y 56891 2000-01-30 00:43:38Z fenner $
25c26
< "@(#) $Header: grammar.y,v 1.56 96/11/02 21:54:55 leres Exp $ (LBL)";
---
> "@(#) $Header: /tcpdump/master/libpcap/grammar.y,v 1.57 1999/10/19 15:18:30 itojun Exp $ (LBL)";
105,106c106,107
< %token NET MASK PORT LESS GREATER PROTO BYTE
< %token ARP RARP IP TCP UDP ICMP IGMP IGRP
---
> %token NET MASK PORT LESS GREATER PROTO PROTOCHAIN BYTE
> %token ARP RARP IP TCP UDP ICMP IGMP IGRP PIM
112c113
< %token ID EID HID
---
> %token ID EID HID HID6
115a117
> %token IPV6 ICMPV6 AH ESP
119c121
< %type <s> HID
---
> %type <s> HID HID6
170a173,190
> | HID6 '/' NUM {
> #ifdef INET6
> $$.b = gen_mcode6($1, NULL, $3,
> $$.q = $<blk>0.q);
> #else
> bpf_error("'ip6addr/prefixlen' not supported "
> "in this configuration");
> #endif /*INET6*/
> }
> | HID6 {
> #ifdef INET6
> $$.b = gen_mcode6($1, 0, 128,
> $$.q = $<blk>0.q);
> #else
> bpf_error("'ip6addr' not supported "
> "in this configuration");
> #endif /*INET6*/
> }
192a213
> | pqual PROTOCHAIN { QSET($$.q, $1, Q_DEFAULT, Q_PROTOCHAIN); }
232a254
> | PIM { $$ = Q_PIM; }
238a261,264
> | IPV6 { $$ = Q_IPV6; }
> | ICMPV6 { $$ = Q_ICMPV6; }
> | AH { $$ = Q_AH; }
> | ESP { $$ = Q_ESP; }