1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-30 19:39:07 +00:00
Files
nmap/libdnet-stripped/src/fw-none.c
2025-04-11 16:39:12 +00:00

54 lines
606 B
C

/*
* fw-none.c
*
* Copyright (c) 2000 Dug Song <dugsong@monkey.org>
*
* $Id$
*/
#ifdef _WIN32
#include "dnet_winconfig.h"
#else
#include "config.h"
#endif
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include "dnet.h"
fw_t *
fw_open(void)
{
errno = ENOSYS;
return (NULL);
}
int
fw_add(fw_t *f, const struct fw_rule *rule)
{
errno = ENOSYS;
return (-1);
}
int
fw_delete(fw_t *f, const struct fw_rule *rule)
{
errno = ENOSYS;
return (-1);
}
int
fw_loop(fw_t *f, fw_handler callback, void *arg)
{
errno = ENOSYS;
return (-1);
}
fw_t *
fw_close(fw_t *f)
{
return (NULL);
}