1/* 2 * Fundamental constants relating to ethernet. 3 * |
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 |
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_ */ |