ipnat_y.y revision ef292b7fad311e62bc65379b1190c4ab7a898668
a192e900f6d2b0e1a822e3252c0dfd795ed49d76amaguire * Copyright (C) 2003 by Darren Reed.
a192e900f6d2b0e1a822e3252c0dfd795ed49d76amaguire * See the IPFILTER.LICENCE file for details on licencing.
a192e900f6d2b0e1a822e3252c0dfd795ed49d76amaguire * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
a192e900f6d2b0e1a822e3252c0dfd795ed49d76amaguire * Use is subject to license terms.
a192e900f6d2b0e1a822e3252c0dfd795ed49d76amaguire#pragma ident "%Z%%M% %I% %E% SMI"
char *str;
int pc;
} pc;
struct in_addr a;
struct in_addr m;
} ipp;
| assign
resetlexer();
resetlexer();
{ int pnum;
dip:
$$ = ntohs($$);
"'sticky' for use with round-robin/IP splitting only\n");
if ($$.s_addr == 0)
{ NULL, 0 }
int fd;
char *filename;
yydebug = 0;
if (!fp) {
int fd;
if (i == EOF)
yydebug = 0;
yyparse();
static void newnatrule()
ipnat_t *n;
if (n == NULL)
nat = n;
static void setnatproto(p)
case IPPROTO_TCP :
case IPPROTO_UDP :
case IPPROTO_ICMP :
int fd;
void *ptr;
add = 0;
del = 0;
#ifdef USE_QUAD_T
char *name;