Home | History | Annotate | Download | only in fwctl

Lines Matching refs:eui64

1 /*	$NetBSD: eui64.c,v 1.3 2010/07/31 07:05:32 cegger Exp $	*/
63 * FreeBSD: src/lib/libc/net/eui64.c,v 1.15 2002/04/08 07:51:10 ru Exp
73 __FBSDID("$FreeBSD: src/lib/libc/net/eui64.c,v 1.2 2004/06/01 19:30:13 brooks Exp $");
80 #include <sys/eui64.h>
82 #include "eui64.h"
94 #define _PATH_EUI64 "/etc/eui64"
97 static int eui64_line(const char *l, struct eui64 *e, char *hostname,
105 eui64_line(const char *l, struct eui64 *e, char *hostname, size_t len)
114 /* Find and parse the EUI64 */
153 eui64_aton(const char *a, struct eui64 *e)
209 eui64_ntoa(const struct eui64 *id, char *a, size_t len)
222 * Map an EUI-64 to a hostname. Use either /etc/eui64 or NIS/YP.
225 eui64_ntohost(char *hostname, size_t len, const struct eui64 *id)
229 struct eui64 local_eui64;
248 if (yp_match(yp_domain, "eui64.byid", eui64_a,
273 * Map a hostname to an EUI-64 using /etc/eui64 or NIS/YP.
276 eui64_hostton(const char *hostname, struct eui64 *id)
280 struct eui64 local_eui64;
297 if (yp_match(yp_domain, "eui64.byname", hostname,
310 bcopy(&local_eui64, id, sizeof(struct eui64));