/*
* Copyright (C) 2002 by Darren Reed.
*
* See the IPFILTER.LICENCE file for details on licencing.
*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include "ipf.h"
iphtable_t *hp;
char *name;
int opts;
{
int i, printed;
return NULL;
PRINTF("# 'anonymous' table\n");
{
case IPHASH_LOOKUP :
PRINTF("table");
break;
case IPHASH_GROUPMAP :
PRINTF("group-map");
PRINTF(" in");
PRINTF(" out");
else
PRINTF(" ???");
break;
default :
break;
}
PRINTF(" role = ");
} else {
PRINTF("(anon)");
putchar(' ');
PRINTF("Role: ");
}
{
case IPL_LOGNAT :
PRINTF("nat");
break;
case IPL_LOGIPF :
PRINTF("ipf");
break;
case IPL_LOGAUTH :
PRINTF("auth");
break;
case IPL_LOGCOUNT :
PRINTF("count");
break;
default :
break;
}
PRINTF(" type = hash");
PRINTF(" number = %s size = %lu",
putchar('\n');
} else {
PRINTF(" Type: ");
{
case IPHASH_LOOKUP :
PRINTF("lookup");
break;
case IPHASH_GROUPMAP :
break;
default :
break;
}
putchar('\n');
PRINTF("\t\tSize: %lu\tSeed: %lu",
}
struct in_addr m;
for (i = 0; i < 32; i++) {
}
}
}
PRINTF("\t{");
return NULL;
printed++;
}
}
if (printed == 0)
putchar(';');
PRINTF(" };\n");
}