Searched refs:eui64 (Results 1 - 22 of 22) sorted by relevance

/freebsd-12-stable/sys/sys/
H A Deui64.h48 struct eui64 { struct
53 int eui64_aton(const char *, struct eui64 *);
54 int eui64_ntoa(const struct eui64 *, char *, size_t);
55 int eui64_ntohost(char *, size_t, const struct eui64 *);
56 int eui64_hostton(const char *, struct eui64 *);
/freebsd-12-stable/lib/libc/tests/net/
H A Dtest-eui64.h33 struct eui64 test_eui64_id = {{0x00,0x11,0x22,0x33,0x44,0x55,0x66,0x77}};
34 struct eui64 test_eui64_eui48 = {{0x00,0x11,0x22,0xFF,0xFE,0x33,0x44,0x55}};
35 struct eui64 test_eui64_mac48 = {{0x00,0x11,0x22,0xFF,0xFF,0x33,0x44,0x55}};
H A Deui64_ntoa_test.c32 #include <sys/eui64.h>
38 #include "test-eui64.h"
41 test_str(const char *str, const struct eui64 *eui)
H A Deui64_aton_test.c32 #include <sys/eui64.h>
39 #include "test-eui64.h"
42 test_str(const char *str, const struct eui64 *eui)
44 struct eui64 e;
/freebsd-12-stable/lib/libc/net/
H A Deui64.c62 * FreeBSD: src/lib/libc/net/eui64.c,v 1.15 2002/04/08 07:51:10 ru Exp
76 #include <sys/eui64.h>
86 #define _PATH_EUI64 "/etc/eui64"
89 static int eui64_line(const char *l, struct eui64 *e, char *hostname,
97 eui64_line(const char *l, struct eui64 *e, char *hostname, size_t len)
146 eui64_aton(const char *a, struct eui64 *e)
202 eui64_ntoa(const struct eui64 *id, char *a, size_t len)
215 * Map an EUI-64 to a hostname. Use either /etc/eui64 or NIS/YP.
218 eui64_ntohost(char *hostname, size_t len, const struct eui64 *id)
222 struct eui64 local_eui6
[all...]
H A DMakefile.inc8 SRCS+= base64.c ether_addr.c eui64.c \
40 MAN+= byteorder.3 ethers.3 eui64.3 \
58 MLINKS+=eui64.3 eui64_aton.3 eui64.3 eui64_hostton.3 \
59 eui64.3 eui64_ntoa.3 eui64.3 eui64_ntohost.3
/freebsd-12-stable/sys/dev/nvd/
H A Dnvd.c325 for (i = 0; i < sizeof(nsdata->eui64); i++) {
326 if (nsdata->eui64[i] != 0)
329 if (i < sizeof(nsdata->eui64)) {
330 if (bp->bio_length < sizeof(nsdata->eui64) * 2 + 1)
332 for (i = 0; i < sizeof(nsdata->eui64); i++) {
334 nsdata->eui64[i]);
/freebsd-12-stable/usr.sbin/ypserv/
H A DMakefile.yp106 EUI64 = $(YPSRCDIR)/eui64 # eui64 addresses (for firewire)
148 # Note that we don't build the ethers, eui64, or boorparams maps by default
149 # since /etc/ethers, /etc/eui64 and /etc/bootparams are not likely to be present
158 TARGETS+= eui64
204 eui64: eui64.byname eui64.byid
304 eui64.byname: $(EUI64)
317 eui64
[all...]
/freebsd-12-stable/share/man/man5/
H A DMakefile23 eui64.5 \
/freebsd-12-stable/usr.sbin/fwcontrol/
H A Dfwcontrol.c50 #include <sys/eui64.h>
56 #include "eui64.h"
108 fweui2eui64(const struct fw_eui64 *fweui, struct eui64 *eui)
127 struct eui64 eui, tmpeui;
155 if (memcmp(&eui, &tmpeui, sizeof(struct eui64)) == 0) {
179 struct eui64 eui;
336 struct eui64 eui;
374 struct eui64 eui;
377 fweui2eui64(&bi->eui64, &eui);
747 struct eui64 targe
[all...]
/freebsd-12-stable/sbin/nvmecontrol/
H A Didentify.c171 for (i = 0; i < sizeof(nsdata->eui64); i++)
172 printf("%02x", nsdata->eui64[i]);
/freebsd-12-stable/sys/dev/firewire/
H A Diec13213.h196 struct fw_eui64 eui64; member in struct:bus_info
H A Dfwcrom.c568 src.businfo.eui64.hi = 0x11223344;
569 src.businfo.eui64.lo = 0x55667788;
H A Dfirewire.c670 src->businfo.eui64.hi = fc->eui.hi;
671 src->businfo.eui64.lo = fc->eui.lo;
1567 if (FW_EUI64_EQUAL(fwdev->eui, binfo->eui64))
1579 fwdev->eui = binfo->eui64;
/freebsd-12-stable/sys/cam/nvme/
H A Dnvme_xpt.c428 for (e = 0; e < sizeof(nvme_data->eui64); e++) {
429 if (nvme_data->eui64[e] != 0)
432 if (e < sizeof(nvme_data->eui64))
453 if (e < sizeof(nvme_data->eui64)) {
457 bcopy(nvme_data->eui64, idd->identifier, 8);
/freebsd-12-stable/stand/i386/libfirewire/
H A Dfirewire.c251 src->businfo.eui64.hi = sc->eui.hi;
252 src->businfo.eui64.lo = sc->eui.lo;
/freebsd-12-stable/usr.sbin/bhyve/
H A Dpci_nvme.c37 * -s <n>,nvme,devpath,maxq=#,qsz=#,ioslots=#,sectsz=#,ser=A-Z,eui64=#,dsm=<opt>
49 * eui64 = IEEE Extended Unique Identifier (8 byte value)
192 uint64_t eui64; member in struct:pci_nvme_blockstore
577 if (nvstore->eui64 == 0) {
579 uint64_t eui64 = nvstore->eui64; local
585 eui64 = OUI_FREEBSD_NVME_LOW | crc16(0, data, strlen(data));
588 nvstore->eui64 = (eui64 << 16) | (nsid & 0xffff);
590 be64enc(nd->eui64, nvstor
[all...]
/freebsd-12-stable/usr.sbin/dconschat/
H A Ddconschat.c58 #include <sys/eui64.h>
1002 struct eui64 target;
/freebsd-12-stable/contrib/netbsd-tests/net/if/
H A Dt_ifconfig.sh314 # eui64
315 atf_check -s exit:0 rump.ifconfig shmif0 inet6 fc00:1::0 eui64
/freebsd-12-stable/sys/cam/scsi/
H A Dscsi_all.c5775 uint64_t eui64; local
5779 eui64 = scsi_8btou64(sbp->eui64);
5780 sbuf_printf(sb, "SBP address: 0x%.16jx", (uintmax_t)eui64);
6073 scsi_u64to8b(value, sbp->eui64);
H A Dscsi_all.h501 uint8_t eui64[8]; member in struct:scsi_transportid_1394
/freebsd-12-stable/sys/dev/nvme/
H A Dnvme.h1262 uint8_t eui64[8]; member in struct:nvme_namespace_data

Completed in 285 milliseconds