Home
last modified time | relevance | path

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

/freebsd/sys/sys/
H A Deui64.h46 struct eui64 { struct
51 int eui64_aton(const char *, struct eui64 *); argument
52 int eui64_ntoa(const struct eui64 *, char *, size_t);
53 int eui64_ntohost(char *, size_t, const struct eui64 *);
54 int eui64_hostton(const char *, struct eui64 *);
/freebsd/lib/libc/net/
H A Deui64.c86 static int eui64_line(const char *l, struct eui64 *e, char *hostname,
94 eui64_line(const char *l, struct eui64 *e, char *hostname, size_t len) in eui64_line()
143 eui64_aton(const char *a, struct eui64 *e) in eui64_aton()
199 eui64_ntoa(const struct eui64 *id, char *a, size_t len) in eui64_ntoa()
215 eui64_ntohost(char *hostname, size_t len, const struct eui64 *id) in eui64_ntohost()
219 struct eui64 local_eui64; in eui64_ntohost()
266 eui64_hostton(const char *hostname, struct eui64 *id) in eui64_hostton()
270 struct eui64 local_eui64; in eui64_hostton()
300 bcopy(&local_eui64, id, sizeof(struct eui64)); in eui64_hostton()
H A DMakefile.inc5 SRCS+= base64.c ether_addr.c eui64.c \
37 MAN+= byteorder.3 ethers.3 eui64.3 \
62 MLINKS+=eui64.3 eui64_aton.3 \
63 eui64.3 eui64_hostton.3 \
64 eui64.3 eui64_ntoa.3 \
65 eui64.3 eui64_ntohost.3
/freebsd/lib/libc/tests/net/
H A Dtest-eui64.h31 struct eui64 test_eui64_id = {{0x00,0x11,0x22,0x33,0x44,0x55,0x66,0x77}};
32 struct eui64 test_eui64_eui48 = {{0x00,0x11,0x22,0xFF,0xFE,0x33,0x44,0x55}};
33 struct eui64 test_eui64_mac48 = {{0x00,0x11,0x22,0xFF,0xFF,0x33,0x44,0x55}};
H A Deui64_aton_test.c40 test_str(const char *str, const struct eui64 *eui) in test_str()
42 struct eui64 e; in test_str()
H A Deui64_ntoa_test.c39 test_str(const char *str, const struct eui64 *eui) in test_str()
/freebsd/usr.sbin/ypserv/
H A DMakefile.yp105 EUI64 = $(YPSRCDIR)/eui64 # eui64 addresses (for firewire)
157 TARGETS+= eui64
203 eui64: eui64.byname eui64.byid
303 eui64.byname: $(EUI64)
316 eui64.byid: $(EUI64)
/freebsd/sys/dev/nvd/
H A Dnvd.c327 for (i = 0; i < sizeof(nsdata->eui64); i++) { in nvd_getattr()
328 if (nsdata->eui64[i] != 0) in nvd_getattr()
331 if (i < sizeof(nsdata->eui64)) { in nvd_getattr()
332 if (bp->bio_length < sizeof(nsdata->eui64) * 2 + 1) in nvd_getattr()
334 for (i = 0; i < sizeof(nsdata->eui64); i++) { in nvd_getattr()
336 nsdata->eui64[i]); in nvd_getattr()
/freebsd/usr.sbin/fwcontrol/
H A Dfwcontrol.c107 fweui2eui64(const struct fw_eui64 *fweui, struct eui64 *eui) in fweui2eui64()
126 struct eui64 eui, tmpeui; in str2node()
154 if (memcmp(&eui, &tmpeui, sizeof(struct eui64)) == 0) { in str2node()
178 struct eui64 eui; in list_dev()
335 struct eui64 eui; in set_pri_req()
373 struct eui64 eui; in parse_bus_info_block()
376 fweui2eui64(&bi->eui64, &eui); in parse_bus_info_block()
746 struct eui64 target; in main()
/freebsd/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/sbin/nvmecontrol/
H A Didentify.c170 for (i = 0; i < sizeof(nsdata->eui64); i++) in print_namespace()
171 printf("%02x", nsdata->eui64[i]); in print_namespace()
/freebsd/share/man/man5/
H A DMakefile16 eui64.5 \
/freebsd/sys/dev/firewire/
H A Diec13213.h195 struct fw_eui64 eui64; member
H A Dfwcrom.c567 src.businfo.eui64.hi = 0x11223344; in main()
568 src.businfo.eui64.lo = 0x55667788; in main()
H A Dfirewire.c667 src->businfo.eui64.hi = fc->eui.hi; in fw_init_crom()
668 src->businfo.eui64.lo = fc->eui.lo; in fw_init_crom()
1564 if (FW_EUI64_EQUAL(fwdev->eui, binfo->eui64)) in fw_explore_node()
1576 fwdev->eui = binfo->eui64; in fw_explore_node()
/freebsd/usr.sbin/bhyve/
H A Dpci_nvme.c193 uint64_t eui64; member
630 if (nvstore->eui64 == 0) { in pci_nvme_init_nsdata()
632 uint64_t eui64 = nvstore->eui64; in pci_nvme_init_nsdata() local
639 eui64 = OUI_FREEBSD_NVME_LOW | crc16(0, data, strlen(data)); in pci_nvme_init_nsdata()
642 nvstore->eui64 = (eui64 << 16) | (nsid & 0xffff); in pci_nvme_init_nsdata()
644 be64enc(nd->eui64, nvstore->eui64); in pci_nvme_init_nsdata()
1538 memcpy(((uint8_t *)dest) + 4, sc->nsdata.eui64, sizeof(uint64_t)); in nvme_opc_identify()
3216 sc->nvstore.eui64 = htobe64(strtoull(value, NULL, 0)); in pci_nvme_parse_config()
/freebsd/contrib/netbsd-tests/net/if/
H A Dt_ifconfig.sh315 atf_check -s exit:0 rump.ifconfig shmif0 inet6 fc00:1::0 eui64
/freebsd/tools/build/test-includes/
H A Dbadfiles.inc38 sys/eui64.h \
/freebsd/usr.sbin/dconschat/
H A Ddconschat.c993 struct eui64 target; in main()
/freebsd/sys/cam/scsi/
H A Dscsi_all.c5861 uint64_t eui64; in scsi_transportid_sbuf() local
5865 eui64 = scsi_8btou64(sbp->eui64); in scsi_transportid_sbuf()
5866 sbuf_printf(sb, "SBP address: 0x%.16jx", (uintmax_t)eui64); in scsi_transportid_sbuf()
6159 scsi_u64to8b(value, sbp->eui64); in scsi_parse_transportid_64bit()
H A Dscsi_all.h501 uint8_t eui64[8]; member
/freebsd/sys/dev/nvme/
H A Dnvme.h1501 uint8_t eui64[8];
1493 uint8_t eui64[8]; global() member
/freebsd/sys/cam/ctl/
H A Dctl.c4988 memcpy(nsdata->eui64, idd->identifier, 8); in ctl_lun_nsdata_ids()
4997 memcpy(nsdata->eui64, idd->identifier, 8); in ctl_lun_nsdata_ids()
5007 struct scsi_vpd_id_descriptor *naa, *eui64, *uuid; in ctl_lun_nvme_ids() local
5017 eui64 = scsi_get_devid_desc((struct scsi_vpd_id_descriptor *) in ctl_lun_nvme_ids()
5025 if ((naa != NULL && naa->length == 8) || eui64 != NULL) { in ctl_lun_nvme_ids()
5032 memcpy(p, eui64->identifier, 8); in ctl_lun_nvme_ids()
/freebsd/libexec/rc/
H A Dnetwork.subr1185 prefixlen $plen eui64 ${_action}