1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Clean up Bill's additions.

This commit is contained in:
Garrett Wollman 1996-12-19 15:42:52 +00:00
parent 3b6a15b38c
commit 992af1d001
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=20681

View File

@ -1,7 +1,7 @@
/*
* Fundamental constants relating to ethernet.
*
* $Id: ethernet.h,v 1.2 1996/08/06 21:14:21 phk Exp $
* $Id: ethernet.h,v 1.3 1996/12/18 21:42:38 wpaul Exp $
*
*/
@ -60,14 +60,16 @@ struct ether_addr {
u_char octet[ETHER_ADDR_LEN];
};
#ifndef KERNEL
#include <sys/cdefs.h>
/*
* Ethernet address conversion/parsing routines.
*/
struct ether_addr
*ether_aton __P(( char * ));
char *ether_ntoa __P (( struct ether_addr * ));
int ether_line __P(( char *, struct ether_addr *, char * ));
int ether_ntohost __P(( char *, struct ether_addr * ));
int ether_hostton __P(( char *, struct ether_addr * ));
#endif
struct ether_addr *ether_aton __P((char *));
char *ether_ntoa __P((struct ether_addr *));
int ether_line __P((char *, struct ether_addr *, char *));
int ether_ntohost __P((char *, struct ether_addr *));
int ether_hostton __P((char *, struct ether_addr *));
#endif /* KERNEL */
#endif /* _NET_ETHERNET_H */