ethernet.h (87276) | ethernet.h (92725) |
---|---|
1/* 2 * Fundamental constants relating to ethernet. 3 * | 1/* 2 * Fundamental constants relating to ethernet. 3 * |
4 * $FreeBSD: head/sys/net/ethernet.h 87276 2001-12-03 17:28:27Z brooks $ | 4 * $FreeBSD: head/sys/net/ethernet.h 92725 2002-03-19 21:54:18Z alfred $ |
5 * 6 */ 7 8#ifndef _NET_ETHERNET_H_ 9#define _NET_ETHERNET_H_ 10 11/* 12 * The number of bytes in an ethernet (MAC) address. --- 124 unchanged lines hidden (view full) --- 137#else /* _KERNEL */ 138 139#include <sys/cdefs.h> 140 141/* 142 * Ethernet address conversion/parsing routines. 143 */ 144__BEGIN_DECLS | 5 * 6 */ 7 8#ifndef _NET_ETHERNET_H_ 9#define _NET_ETHERNET_H_ 10 11/* 12 * The number of bytes in an ethernet (MAC) address. --- 124 unchanged lines hidden (view full) --- 137#else /* _KERNEL */ 138 139#include <sys/cdefs.h> 140 141/* 142 * Ethernet address conversion/parsing routines. 143 */ 144__BEGIN_DECLS |
145struct ether_addr *ether_aton __P((const char *)); 146int ether_hostton __P((const char *, struct ether_addr *)); 147int ether_line __P((const char *, struct ether_addr *, char *)); 148char *ether_ntoa __P((const struct ether_addr *)); 149int ether_ntohost __P((char *, const struct ether_addr *)); | 145struct ether_addr *ether_aton(const char *); 146int ether_hostton(const char *, struct ether_addr *); 147int ether_line(const char *, struct ether_addr *, char *); 148char *ether_ntoa(const struct ether_addr *); 149int ether_ntohost(char *, const struct ether_addr *); |
150__END_DECLS 151 152#endif /* !_KERNEL */ 153 154#endif /* !_NET_ETHERNET_H_ */ | 150__END_DECLS 151 152#endif /* !_KERNEL */ 153 154#endif /* !_NET_ETHERNET_H_ */ |