#include "config.h"
#include <sys/types.h>
#include <sys/time.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <net/pfilt.h>
#include <fcntl.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "dnet.h"
Go to the source code of this file.
Classes | |
struct | eth_handle |
Functions | |
eth_t * | eth_open (const char *device) |
int | eth_get (eth_t *e, eth_addr_t *ea) |
int | eth_set (eth_t *e, const eth_addr_t *ea) |
ssize_t | eth_send (eth_t *e, const void *buf, size_t len) |
eth_t * | eth_close (eth_t *e) |
|
Definition at line 77 of file eth-pfilt.c. References NULL. |
|
Definition at line 49 of file eth-pfilt.c. References ETH_ADDR_LEN, memcpy, and strlcpy. |
|
Definition at line 34 of file eth-pfilt.c. References eth_close(), eth_handle::fd, NULL, and strlcpy. |
|
Definition at line 71 of file eth-pfilt.c. |
|
Definition at line 61 of file eth-pfilt.c. References eth_handle::device, ETH_ADDR_LEN, memcpy, eth_handle::sock, and strlcpy. |