Lines Matching defs:eui
106 fweui2eui64(const struct fw_eui64 *fweui, struct eui64 *eui)
108 *(u_int32_t*)&(eui->octet[0]) = htonl(fweui->hi);
109 *(u_int32_t*)&(eui->octet[4]) = htonl(fweui->lo);
125 struct eui64 eui, tmpeui;
141 * Try to get an eui and match it against available nodes.
143 if (eui64_hostton(nodestr, &eui) != 0 && eui64_aton(nodestr, &eui) != 0)
152 fweui2eui64(&data->dev[i].eui, &tmpeui);
153 if (memcmp(&eui, &tmpeui, sizeof(struct eui64)) == 0) {
177 struct eui64 eui;
189 fweui2eui64(&devinfo->eui, &eui);
190 eui64_ntoa(&eui, addr, sizeof(addr));
191 if (eui64_ntohost(hostname, sizeof(hostname), &eui))
204 read_write_quad(int fd, struct fw_eui64 eui, u_int32_t addr_lo, int readmode, u_int32_t data)
218 asyreq->req.dst.eui = eui;
334 struct eui64 eui;
348 reg = read_write_quad(fd, devinfo->eui, BUGET_REG, 1, 0);
349 fweui2eui64(&devinfo->eui, &eui);
350 eui64_ntoa(&eui, addr, sizeof(addr));
359 read_write_quad(fd, devinfo->eui, BUGET_REG, 0, pri_req);
372 struct eui64 eui;
375 fweui2eui64(&bi->eui64, &eui);
376 eui64_ntoa(&eui, addr, sizeof(addr));
402 if (data->dev[i].dst == node && data->dev[i].eui.lo != 0)
408 buf.eui = data->dev[i].eui;
744 struct fw_eui64 eui;
1026 eui.hi = ntohl(*(u_int32_t*)&(target.octet[0]));
1027 eui.lo = ntohl(*(u_int32_t*)&(target.octet[4]));
1029 sysctl_set_int("hw.firewire.fwmem.eui64_hi", eui.hi);
1030 sysctl_set_int("hw.firewire.fwmem.eui64_lo", eui.lo);
1032 sysctl_set_int("hw.fwmem.eui64_hi", eui.hi);
1033 sysctl_set_int("hw.fwmem.eui64_lo", eui.lo);