003 File Manager
Current Path:
/usr/src/contrib/ipfilter/tools
usr
/
src
/
contrib
/
ipfilter
/
tools
/
📁
..
📄
BNF.ipf
(3.45 KB)
📄
BNF.ipnat
(1.1 KB)
📄
Makefile
(3.33 KB)
📄
ipf.c
(11.22 KB)
📄
ipf_y.y
(61.62 KB)
📄
ipfcomp.c
(30.74 KB)
📄
ipfs.c
(16.12 KB)
📄
ipfstat.c
(55.53 KB)
📄
ipfsyncd.c
(12.5 KB)
📄
ipftest.c
(13.85 KB)
📄
ipmon.c
(39.95 KB)
📄
ipmon_y.y
(21.32 KB)
📄
ipnat.c
(18.63 KB)
📄
ipnat_y.y
(39.58 KB)
📄
ippool.c
(23.6 KB)
📄
ippool_y.y
(17.09 KB)
📄
ipscan_y.y
(10.26 KB)
📄
ipsyncm.c
(4.82 KB)
📄
ipsyncs.c
(5.3 KB)
📄
lex_var.h
(1.66 KB)
📄
lexer.c
(11.83 KB)
📄
lexer.h
(820 B)
Editing: lex_var.h
/* $FreeBSD$ */ /* * Copyright (C) 2012 by Darren Reed. * * See the IPFILTER.LICENCE file for details on licencing. */ extern long string_start; extern long string_end; extern char *string_val; extern long pos; #define YY_INPUT(buf, result, max_size) \ if (pos >= string_start && pos <= string_end) { \ buf[0] = string_val[pos - string_start]; \ pos++; \ result = 1; \ } else if ( yy_current_buffer->yy_is_interactive ) \ { \ int c = '*', n; \ for ( n = 0; n < 1 && \ (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ buf[n] = (char) c; \ if ( c == '\n' ) \ buf[n++] = (char) c; \ if ( c == EOF && ferror( yyin ) ) \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ result = n; \ pos++; \ } \ else if ( ((result = fread( buf, 1, 1, yyin )) == 0) \ && ferror( yyin ) ) \ YY_FATAL_ERROR( "input in flex scanner failed" ); #ifdef input # undef input # define input() (((pos >= string_start) && (pos < string_end)) ? \ yysptr = yysbuf, string_val[pos++ - string_start] : \ ((yytchar = yysptr > yysbuf ? U(*--yysptr) : \ getc(yyin)) == 10 ? (pos++, yylineno++, yytchar) : \ yytchar) == EOF ? (pos++, 0) : (pos++, yytchar)) #endif #ifdef lex_input # undef lex_input # define lex_input() (((pos >= string_start) && (pos < string_end)) ? \ yysptr = yysbuf, string_val[pos++ - string_start] : \ ((yytchar = yysptr > yysbuf ? U(*--yysptr) : \ getc(yyin)) == 10 ? (pos++, yylineno++, yytchar) : \ yytchar) == EOF ? (pos++, 0) : (pos++, yytchar)) #endif #ifdef unput # undef unput # define unput(c) { if (pos > 0) pos--; \ yytchar = (c); if (yytchar == '\n') yylineno--; \ *yysptr++ = yytchar; } #endif
Upload File
Create Folder