Home
last modified time | relevance | path

Searched refs:eui64 (Results 1 – 23 of 23) sorted by relevance

/freebsd-13.1/sys/sys/
H A Deui64.h48 struct eui64 { struct
53 int eui64_aton(const char *, struct eui64 *); argument
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-13.1/lib/libc/net/
H A Deui64.c89 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) in eui64_line()
146 eui64_aton(const char *a, struct eui64 *e) in eui64_aton()
202 eui64_ntoa(const struct eui64 *id, char *a, size_t len) in eui64_ntoa()
218 eui64_ntohost(char *hostname, size_t len, const struct eui64 *id) in eui64_ntohost()
222 struct eui64 local_eui64; in eui64_ntohost()
269 eui64_hostton(const char *hostname, struct eui64 *id) in eui64_hostton()
273 struct eui64 local_eui64; in eui64_hostton()
303 bcopy(&local_eui64, id, sizeof(struct eui64)); in eui64_hostton()
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-13.1/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_aton_test.c42 test_str(const char *str, const struct eui64 *eui) in test_str()
44 struct eui64 e; in test_str()
H A Deui64_ntoa_test.c41 test_str(const char *str, const struct eui64 *eui) in test_str()
/freebsd-13.1/usr.sbin/ypserv/
H A DMakefile.yp106 EUI64 = $(YPSRCDIR)/eui64 # eui64 addresses (for firewire)
158 TARGETS+= eui64
204 eui64: eui64.byname eui64.byid
304 eui64.byname: $(EUI64)
317 eui64.byid: $(EUI64)
/freebsd-13.1/sys/dev/nvd/
H A Dnvd.c329 for (i = 0; i < sizeof(nsdata->eui64); i++) { in nvd_getattr()
330 if (nsdata->eui64[i] != 0) in nvd_getattr()
333 if (i < sizeof(nsdata->eui64)) { in nvd_getattr()
334 if (bp->bio_length < sizeof(nsdata->eui64) * 2 + 1) in nvd_getattr()
336 for (i = 0; i < sizeof(nsdata->eui64); i++) { in nvd_getattr()
338 nsdata->eui64[i]); in nvd_getattr()
/freebsd-13.1/usr.sbin/fwcontrol/
H A Dfwcontrol.c108 fweui2eui64(const struct fw_eui64 *fweui, struct eui64 *eui) in fweui2eui64()
127 struct eui64 eui, tmpeui; in str2node()
155 if (memcmp(&eui, &tmpeui, sizeof(struct eui64)) == 0) { in str2node()
179 struct eui64 eui; in list_dev()
336 struct eui64 eui; in set_pri_req()
374 struct eui64 eui; in parse_bus_info_block()
377 fweui2eui64(&bi->eui64, &eui); in parse_bus_info_block()
747 struct eui64 target; in main()
/freebsd-13.1/sbin/nvmecontrol/
H A Didentify.c171 for (i = 0; i < sizeof(nsdata->eui64); i++) in print_namespace()
172 printf("%02x", nsdata->eui64[i]); in print_namespace()
/freebsd-13.1/sys/cam/nvme/
H A Dnvme_xpt.c426 for (e = 0; e < sizeof(nvme_data->eui64); e++) { in nvme_probe_done()
427 if (nvme_data->eui64[e] != 0) in nvme_probe_done()
430 if (e < sizeof(nvme_data->eui64)) in nvme_probe_done()
451 if (e < sizeof(nvme_data->eui64)) { in nvme_probe_done()
455 bcopy(nvme_data->eui64, idd->identifier, 8); in nvme_probe_done()
/freebsd-13.1/share/man/man5/
H A DMakefile21 eui64.5 \
/freebsd-13.1/stand/i386/libfirewire/
H A Dfirewire.c251 src->businfo.eui64.hi = sc->eui.hi; in fw_init_crom()
252 src->businfo.eui64.lo = sc->eui.lo; in fw_init_crom()
/freebsd-13.1/usr.sbin/bhyve/
H A Dpci_nvme.c197 uint64_t eui64; member
661 if (nvstore->eui64 == 0) { in pci_nvme_init_nsdata()
663 uint64_t eui64 = nvstore->eui64; in pci_nvme_init_nsdata() local
670 eui64 = OUI_FREEBSD_NVME_LOW | crc16(0, data, strlen(data)); in pci_nvme_init_nsdata()
673 nvstore->eui64 = (eui64 << 16) | (nsid & 0xffff); in pci_nvme_init_nsdata()
675 be64enc(nd->eui64, nvstore->eui64); in pci_nvme_init_nsdata()
1526 bcopy(sc->nsdata.eui64, ((uint8_t *)dest) + 4, sizeof(uint64_t)); in nvme_opc_identify()
3108 sc->nvstore.eui64 = htobe64(strtoull(value, NULL, 0)); in pci_nvme_parse_config()
/freebsd-13.1/sys/dev/firewire/
H A Diec13213.h196 struct fw_eui64 eui64; member
H A Dfwcrom.c568 src.businfo.eui64.hi = 0x11223344; in main()
569 src.businfo.eui64.lo = 0x55667788; in main()
H A Dfirewire.c670 src->businfo.eui64.hi = fc->eui.hi; in fw_init_crom()
671 src->businfo.eui64.lo = fc->eui.lo; in fw_init_crom()
1567 if (FW_EUI64_EQUAL(fwdev->eui, binfo->eui64)) in fw_explore_node()
1579 fwdev->eui = binfo->eui64; in fw_explore_node()
/freebsd-13.1/contrib/netbsd-tests/net/if/
H A Dt_ifconfig.sh315 atf_check -s exit:0 rump.ifconfig shmif0 inet6 fc00:1::0 eui64
/freebsd-13.1/usr.sbin/dconschat/
H A Ddconschat.c1002 struct eui64 target; in main()
/freebsd-13.1/sys/cam/scsi/
H A Dscsi_all.c5778 uint64_t eui64; in scsi_transportid_sbuf() local
5782 eui64 = scsi_8btou64(sbp->eui64); in scsi_transportid_sbuf()
5783 sbuf_printf(sb, "SBP address: 0x%.16jx", (uintmax_t)eui64); in scsi_transportid_sbuf()
6076 scsi_u64to8b(value, sbp->eui64); in scsi_parse_transportid_64bit()
H A Dscsi_all.h501 uint8_t eui64[8]; member
/freebsd-13.1/sys/dev/nvme/
H A Dnvme.h1291 uint8_t eui64[8]; member
/freebsd-13.1/libexec/rc/
H A Dnetwork.subr1183 prefixlen $plen eui64 ${_action}