#include "config.h"#include <sys/param.h>#include <sys/types.h>#include <sys/ioctl.h>#include <sys/socket.h>#include <net/if.h>#include <net/if_arp.h>#include <errno.h>#include <fcntl.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include "dnet.h"Go to the source code of this file.
Classes | |
| struct | arp_handle |
Functions | |
| arp_t * | arp_open (void) |
| int | arp_add (arp_t *a, const struct arp_entry *entry) |
| int | arp_delete (arp_t *a, const struct arp_entry *entry) |
| int | arp_get (arp_t *a, struct arp_entry *entry) |
| int | arp_loop (arp_t *a, arp_handler callback, void *arg) |
| arp_t * | arp_close (arp_t *a) |
|
||||||||||||
|
Definition at line 101 of file arp-ioctl.c. References addr_ntos(), arp_entry::arp_ha, ARP_HRD_ETH, arp_entry::arp_pa, errno, ETH_ADDR_LEN, arp_handle::fd, intf_loop(), IP_ADDR_BROADCAST, memcpy, memset, and NULL. |
|
|
Definition at line 477 of file arp-ioctl.c. References arp_handle::fd, intf_close(), and NULL. |
|
||||||||||||
|
Definition at line 166 of file arp-ioctl.c. References addr_ntos(), arp_entry::arp_pa, arp_handle::fd, and memset. |
|
||||||||||||
|
Definition at line 182 of file arp-ioctl.c. References addr_ntos(), addr_ston(), arp_entry::arp_ha, arp_entry::arp_pa, errno, arp_handle::fd, intf_loop(), and memset. |
|
||||||||||||||||
|
Definition at line 469 of file arp-ioctl.c. References errno. |
|
|
Definition at line 55 of file arp-ioctl.c. References arp_close(), intf_open(), and NULL. |
1.4.2