blob: 293f2dd02b86c9acb954f5f975675d142219ac2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
/*
* arp-none.c
*
* Copyright (c) 2000 Dug Song <dugsong@monkey.org>
*
* $Id: arp-none.c 252 2002-02-02 04:15:57Z dugsong $
*/
#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);
}
|