Lines Matching defs:eui
107 fweui2eui64(const struct fw_eui64 *fweui, struct eui64 *eui)
109 *(u_int32_t*)&(eui->octet[0]) = htonl(fweui->hi);
110 *(u_int32_t*)&(eui->octet[4]) = htonl(fweui->lo);
126 struct eui64 eui, tmpeui;
142 * Try to get an eui and match it against available nodes.
144 if (eui64_hostton(nodestr, &eui) != 0 && eui64_aton(nodestr, &eui) != 0)
153 fweui2eui64(&data->dev[i].eui, &tmpeui);
154 if (memcmp(&eui, &tmpeui, sizeof(struct eui64)) == 0) {
178 struct eui64 eui;
190 fweui2eui64(&devinfo->eui, &eui);
191 eui64_ntoa(&eui, addr, sizeof(addr));
192 if (eui64_ntohost(hostname, sizeof(hostname), &eui))
205 read_write_quad(int fd, struct fw_eui64 eui, u_int32_t addr_lo, int readmode, u_int32_t data)
219 asyreq->req.dst.eui = eui;
335 struct eui64 eui;
349 reg = read_write_quad(fd, devinfo->eui, BUGET_REG, 1, 0);
350 fweui2eui64(&devinfo->eui, &eui);
351 eui64_ntoa(&eui, addr, sizeof(addr));
360 read_write_quad(fd, devinfo->eui, BUGET_REG, 0, pri_req);
373 struct eui64 eui;
376 fweui2eui64(&bi->eui64, &eui);
377 eui64_ntoa(&eui, addr, sizeof(addr));
403 if (data->dev[i].dst == node && data->dev[i].eui.lo != 0)
409 buf.eui = data->dev[i].eui;
745 struct fw_eui64 eui;
1027 eui.hi = ntohl(*(u_int32_t*)&(target.octet[0]));
1028 eui.lo = ntohl(*(u_int32_t*)&(target.octet[4]));
1030 sysctl_set_int("hw.firewire.fwmem.eui64_hi", eui.hi);
1031 sysctl_set_int("hw.firewire.fwmem.eui64_lo", eui.lo);
1033 sysctl_set_int("hw.fwmem.eui64_hi", eui.hi);
1034 sysctl_set_int("hw.fwmem.eui64_lo", eui.lo);