_NDBOOTD_DEBUG
_NDBOOTD_DEBUG((fp, "bpf: failed to open %s: %s", dev_bpf_filename, strerror(errno)));
_NDBOOTD_DEBUG((fp, "bpf: opened %s", dev_bpf_filename));
_NDBOOTD_DEBUG((fp, "bpf: failed to get the BPF version on %s: %s",
_NDBOOTD_DEBUG((fp, "bpf: kernel BPF version is %d.%d, my BPF version is %d.%d",
_NDBOOTD_DEBUG((fp, "bpf: failed to put %s into immediate mode: %s",
_NDBOOTD_DEBUG((fp, "bpf: failed set buffer size to %d: %s",
_NDBOOTD_DEBUG((fp, "bpf: failed to put %s into complete-headers mode: %s",
_NDBOOTD_DEBUG((fp, "bpf: failed to point BPF socket at %s: %s",
_NDBOOTD_DEBUG((fp, "bpf: failed to set the filter on %s: %s",
_NDBOOTD_DEBUG((fp, "bpf: failed to read the buffer size for %s: %s",
_NDBOOTD_DEBUG((fp, "bpf: buffer size for %s is %u",
_NDBOOTD_DEBUG((fp, "bpf: calling poll"));
_NDBOOTD_DEBUG((fp, "bpf: poll returned zero"));
_NDBOOTD_DEBUG((fp, "bpf: poll got EINTR"));
_NDBOOTD_DEBUG((fp, "bpf: poll failed: %s", strerror(errno)));
_NDBOOTD_DEBUG((fp, "bpf: calling read"));
_NDBOOTD_DEBUG((fp, "bpf: failed to read packets: %s", strerror(errno)));
_NDBOOTD_DEBUG((fp, "bpf: read %ld bytes of packets", (long) buffer_end));
_NDBOOTD_DEBUG((fp, "bpf: flushed garbage BPF header bytes"));
_NDBOOTD_DEBUG((fp, "bpf: flushed truncated BPF packet"));
_NDBOOTD_DEBUG((fp, "opening interface %s", interface->ndbootd_interface_ifreq->ifr_name));
_NDBOOTD_DEBUG((fp, "opened interface %s (ip %s ether %02x:%02x:%02x:%02x:%02x:%02x)",
_NDBOOTD_DEBUG((fp, "failed to receive packet: %s", strerror(errno)));
_NDBOOTD_DEBUG((fp, "ignoring a too-short packet of length %ld", (long) packet_length));
_NDBOOTD_DEBUG((fp, "ignoring a packet with the wrong Ethernet or IP protocol"));
_NDBOOTD_DEBUG((fp, "ignoring a packet with a bad IP checksum"));
_NDBOOTD_DEBUG((fp, "ignoring a packet with bad total length %ld", (long) packet_length));
_NDBOOTD_DEBUG((fp, "could not resolve %02x:%02x:%02x:%02x:%02x:%02x into a hostname: %s",
_NDBOOTD_DEBUG((fp, "could not resolve %s into an IP address: %s",
_NDBOOTD_DEBUG((fp, "IP address for %02x:%02x:%02x:%02x:%02x:%02x is %s",
_NDBOOTD_DEBUG((fp, "machine %02x:%02x:%02x:%02x:%02x:%02x is using the wrong IP address\n",
_NDBOOTD_DEBUG((fp, "machine %02x:%02x:%02x:%02x:%02x:%02x is sending to the wrong IP address\n",
_NDBOOTD_DEBUG((fp, "could not open %s: %s",
_NDBOOTD_DEBUG((fp, "could not stat %s: %s",
_NDBOOTD_DEBUG((fp, "first-stage boot program %s has too many blocks (%d, max is %d)",
_NDBOOTD_DEBUG((fp, "first-stage boot program %s has %d blocks",
_NDBOOTD_DEBUG((fp, "could not open %s: %s",
_NDBOOTD_DEBUG((fp, "could not stat %s: %s",
_NDBOOTD_DEBUG((fp, "second-stage boot program %s has %d blocks",
_NDBOOTD_DEBUG((fp, "recv: op 0x%02x minor 0x%02x error %d vers %d seq %d blk %d bcount %d off %d count %d",
_NDBOOTD_DEBUG((fp, "ignoring a packet with bad op %d",
_NDBOOTD_DEBUG((fp, "ignoring a packet with device minor %d",
_NDBOOTD_DEBUG((fp, "ignoring a packet with disk version %d",
_NDBOOTD_DEBUG((fp, "ignoring a packet with bad block number %d",
_NDBOOTD_DEBUG((fp, "ignoring a packet with bad byte count %d",
_NDBOOTD_DEBUG((fp, "ignoring a packet with bad current offset %d",
_NDBOOTD_DEBUG((fp, "ignoring a packet with bad current count %d",
_NDBOOTD_DEBUG((fp, "could not seek %s to block %ld offset %ld: %s",
_NDBOOTD_DEBUG((fp, "could not read %ld bytes at block %ld offset %ld from %s: %s (read %ld bytes)",
_NDBOOTD_DEBUG((fp, "could not seek %s to block %ld offset %ld: %s",
_NDBOOTD_DEBUG((fp, "could not read %ld bytes at block %ld offset %ld from %s: %s (read %ld bytes)",
_NDBOOTD_DEBUG((fp, "send: op 0x%02x minor 0x%02x error %d vers %d seq %d blk %d bcount %d off %d count %d (win %d)",
_NDBOOTD_DEBUG((fp, "could not write a packet: %s",