Lines Matching defs:eui
92 fweui2eui64(const struct fw_eui64 *fweui, struct eui64 *eui)
97 memcpy(&eui->octet[0], &hi, sizeof(hi));
98 memcpy(&eui->octet[4], &lo, sizeof(lo));
114 struct eui64 eui, tmpeui;
131 * Try to get an eui and match it against available nodes.
133 if (eui64_hostton(nodestr, &eui) != 0 && eui64_aton(nodestr, &eui) != 0)
142 fweui2eui64(&data->dev[i].eui, &tmpeui);
143 if (memcmp(&eui, &tmpeui, sizeof(eui)) == 0) {
167 struct eui64 eui;
179 fweui2eui64(&devinfo->eui, &eui);
180 eui64_ntoa(&eui, addr, sizeof(addr));
181 if (eui64_ntohost(hostname, sizeof(hostname), &eui))
191 read_write_quad(int fd, struct fw_eui64 eui, uint32_t addr_lo, int readmode,
206 asyreq->req.dst.eui = eui;
321 struct eui64 eui;
335 reg = read_write_quad(fd, devinfo->eui, BUGET_REG, 1, 0);
336 fweui2eui64(&devinfo->eui, &eui);
337 eui64_ntoa(&eui, addr, sizeof(addr));
346 read_write_quad(fd, devinfo->eui, BUGET_REG, 0, pri_req);
359 struct eui64 eui;
362 fweui2eui64(&bi->eui64, &eui);
363 eui64_ntoa(&eui, addr, sizeof(addr));
389 if (data->dev[i].dst == node && data->dev[i].eui.lo != 0)
394 buf.eui = data->dev[i].eui;
735 struct fw_eui64 eui;
1023 eui.hi = ntohl(hi);
1024 eui.lo = ntohl(lo);
1025 sysctl_set_int("hw.fwmem.eui64_hi", eui.hi);
1026 sysctl_set_int("hw.fwmem.eui64_lo", eui.lo);