netbbinfo
for (i = 0, qp = (u_int64_t *)&netbbinfo;
i < (sizeof netbbinfo / sizeof (u_int64_t)); i++, qp++)
netbbinfovalid = netbbinfo.set;
printf("valid: force = %d, ea = %s\n", netbbinfo.force,
ether_sprintf(netbbinfo.ether_addr));
if (netbbinfovalid && netbbinfo.force) {
bcopy(netbbinfo.ether_addr, desc->myea, sizeof desc->myea);
bcopy(netbbinfo.ether_addr, desc->myea, sizeof desc->myea);
struct netbbinfo netbbinfo = {
if (((struct netbbinfo *)qp)->magic1 == 0xfeedbabedeadbeef &&
((struct netbbinfo *)qp)->magic2 == 0xfeedbeefdeadbabe) {
netbbinfop = (struct netbbinfo *)qp;
struct netbbinfo *netbbinfop;