/*
* Copyright (C) 2002 by Darren Reed.
*
* See the IPFILTER.LICENCE file for details on licencing.
*
* $Id: load_hashnode.c,v 1.2.4.1 2004/03/06 14:33:28 darrenr Exp $
*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
* Copyright (c) 2014, Joyent, Inc. All rights reserved.
*/
#include <fcntl.h>
#include "ipf.h"
#include "netinet/ip_lookup.h"
#include "netinet/ip_htable.h"
#include "ipfzone.h"
int unit;
char *name;
{
int err;
return -1;
return -1;
}
if ((opts & OPT_REMOVE) == 0)
else
if (err != 0)
if (!(opts & OPT_DONOTHING)) {
perror("load_hash:SIOCLOOKUP*NODE");
return -1;
}
return 0;
}