freebsd-dev/sbin/ipf/common/lexer.h
Cy Schubert 41edb306f0 ipfilter: Move userland bits to sbin
Through fixes and improvements our ipfilter sources have diverged
enough to warrant move from contrib into sbin/ipf. Now that I'm
planning on implementing MSS clamping as in iptables it makes more
sense to move ipfilter to sbin.

This is the second of three commits of the ipfilter move.

Suggested by glebius on two occaions.

Suggested by and discussed with:	glebius
Reviewed by:				glebius, kp (for #network)
MFC after:				1 month
Differential Revision:		https://reviews.freebsd.org/D33510
2021-12-20 06:16:33 -08:00

39 lines
778 B
C

/* $FreeBSD$ */
/*
* Copyright (C) 2012 by Darren Reed.
*
* See the IPFILTER.LICENCE file for details on licencing.
*/
#ifdef NO_YACC
#define YY_COMMENT 1000
#define YY_CMP_NE 1001
#define YY_CMP_LE 1002
#define YY_RANGE_OUT 1003
#define YY_CMP_GE 1004
#define YY_RANGE_IN 1005
#define YY_HEX 1006
#define YY_NUMBER 1007
#define YY_IPV6 1008
#define YY_STR 1009
#define YY_IPADDR 1010
#endif
#define YYBUFSIZ 8192
extern wordtab_t *yysettab(wordtab_t *);
extern void yysetdict(wordtab_t *);
extern void yysetfixeddict(wordtab_t *);
extern int yylex(void);
extern void yyerror(char *);
extern char *yykeytostr(int);
extern void yyresetdict(void);
extern FILE *yyin;
extern int yylineNum;
extern int yyexpectaddr;
extern int yybreakondot;
extern int yyvarnext;