#include "config.h"#include <sys/types.h>#include <sys/stream.h>#include <assert.h>#include <errno.h>#include <fcntl.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <stropts.h>#include <unistd.h>#include "dnet.h"Go to the source code of this file.
| Classes | |
| struct | eth_handle | 
| Defines | |
| #define | INFTIM -1 | 
| Functions | |
| static int | dlpi_msg (int fd, union DL_primitives *dlp, int rlen, int flags, int ack, int alen, int size) | 
| eth_t * | eth_open (const char *device) | 
| ssize_t | eth_send (eth_t *e, const void *buf, size_t len) | 
| eth_t * | eth_close (eth_t *e) | 
| int | eth_get (eth_t *e, eth_addr_t *ea) | 
| int | eth_set (eth_t *e, const eth_addr_t *ea) | 
| 
 | 
| 
 Definition at line 39 of file eth-dlpi.c. | 
| 
 | ||||||||||||||||||||||||||||||||
| 
 Definition at line 48 of file eth-dlpi.c. Referenced by eth_get(), eth_open(), and eth_set(). | 
| 
 | 
| 
 Definition at line 243 of file eth-dlpi.c. References NULL. | 
| 
 | ||||||||||||
| 
 Definition at line 254 of file eth-dlpi.c. References dlpi_msg(), and memcpy. | 
| 
 | 
| 
 Definition at line 119 of file eth-dlpi.c. References dlpi_msg(), errno, eth_close(), memset, NULL, snprintf, and strpbrk(). | 
| 
 | ||||||||||||||||
| 
 Definition at line 191 of file eth-dlpi.c. References eth_addr::data, ETH_ADDR_LEN, eth_hdr::eth_dst, eth_hdr::eth_type, and memcpy. | 
| 
 | ||||||||||||
| 
 Definition at line 273 of file eth-dlpi.c. References dlpi_msg(), ETH_ADDR_LEN, eth_handle::fd, and memcpy. | 
 1.4.2
 1.4.2