1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 22:21:29 +00:00
Files
nmap/libdnet-stripped/src/ndisc-none.c
2025-04-11 16:39:12 +00:00

60 lines
736 B
C

/*
* ndisc-linux.c
*
* Copyright (c) 2000 Dug Song <dugsong@monkey.org>
*
*/
#ifdef _WIN32
#include "dnet_winconfig.h"
#else
#include "config.h"
#endif
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include "dnet.h"
ndisc_t *
ndisc_open(void)
{
errno = ENOSYS;
return (NULL);
}
int
ndisc_add(ndisc_t *n, const struct ndisc_entry *entry)
{
errno = ENOSYS;
return (-1);
}
int
ndisc_delete(ndisc_t *n, const struct ndisc_entry *entry)
{
errno = ENOSYS;
return (-1);
}
int
ndisc_get(ndisc_t *n, struct ndisc_entry *entry)
{
errno = ENOSYS;
return (-1);
}
int
ndisc_loop(ndisc_t *n, ndisc_handler callback, void *arg)
{
errno = ENOSYS;
return (-1);
}
ndisc_t *
ndisc_close(ndisc_t *n)
{
return (NULL);
}