mirror of
https://github.com/nmap/nmap.git
synced 2026-01-16 19:39:03 +00:00
Nmap's changes have been moved from the NMAP_MODIFICATIONS file to the Github repo at https://github.com/nmap/libdnet The NMAP_MODIFICATIONS file instead will document only the changes made to strip unused parts of the libdnet source prior to inclusion in Nmap.
59 lines
676 B
C
59 lines
676 B
C
/*
|
|
* arp-none.c
|
|
*
|
|
* Copyright (c) 2000 Dug Song <dugsong@monkey.org>
|
|
*
|
|
* $Id$
|
|
*/
|
|
|
|
#include "config.h"
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <errno.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
#include "dnet.h"
|
|
|
|
arp_t *
|
|
arp_open(void)
|
|
{
|
|
errno = ENOSYS;
|
|
return (NULL);
|
|
}
|
|
|
|
int
|
|
arp_add(arp_t *a, const struct arp_entry *entry)
|
|
{
|
|
errno = ENOSYS;
|
|
return (-1);
|
|
}
|
|
|
|
int
|
|
arp_delete(arp_t *a, const struct arp_entry *entry)
|
|
{
|
|
errno = ENOSYS;
|
|
return (-1);
|
|
}
|
|
|
|
int
|
|
arp_get(arp_t *a, struct arp_entry *entry)
|
|
{
|
|
errno = ENOSYS;
|
|
return (-1);
|
|
}
|
|
|
|
int
|
|
arp_loop(arp_t *a, arp_handler callback, void *arg)
|
|
{
|
|
errno = ENOSYS;
|
|
return (-1);
|
|
}
|
|
|
|
arp_t *
|
|
arp_close(arp_t *a)
|
|
{
|
|
return (NULL);
|
|
}
|