mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-17 16:44:00 +00:00
* Clean up warnings when compiling with ethernet enabled Add a dlpidefs.h header for prototypes of the dlpi.c functions. Convert from bcopy() to memcpy(). Change some char to u_char as needed. * Neither ether_addr_equal nor init_uid need to be defined if NOETHER is defined
9 lines
269 B
C
9 lines
269 B
C
#ifndef DLPIDEFS_H
|
|
#define DLPIDEFS_H 1
|
|
int setup_dlpi_dev(char *device);
|
|
void flush_dlpi(int fd);
|
|
int dlpi_devtype(int fd);
|
|
char *savestr(char *s);
|
|
int dlunitdatareq(int fd, u_char *addrp, int addrlen, u_long minpri, u_long maxpri, u_char *datap, int datalen);
|
|
#endif
|