log_debug
if (log_debug) {
log_debug = Debug;
int log_debug = 0;
log_debug("bpf opened");
log_debug("daemonized");
log_debug("open: %s", strerror(errno));
log_debug("BIOCSETIF: %s", strerror(errno));
log_debug("BIOCPROMISC: %s", strerror(errno));
log_debug("BIOCGBLEN: %s, use default size %u",
log_debug("malloc: %s", strerror(errno));
log_debug("start reading %s, bufsiz=%u", ifname, bufsiz);
log_debug("finish reading %s", ifname);
static void log_debug(const char *, ...) __printflike(1, 2);
log_debug("Received command %d", signal);
log_debug("Bitpool value = %d", bitpool);
log_debug("Responded to command %d", signal);
log_debug("Recving %zd bytes", len);
log_debug("Streaming %zd bytes", len);
log_debug("dropped short packet (type 0x%2.2x)", type);
log_debug("dropped short packet (type 0x%2.2x)", type);
log_debug("dropped short packet (type 0x%2.2x)", type);
log_debug("dropped packet with reserved type 0x%2.2x", type);
log_debug("received long packet "
log_debug("ignored");
log_debug("addr %s response 0x%2.2x",
log_debug("ignored");
log_debug("addr %s response 0x%2.2x",
log_debug("ignored");
log_debug("nf = %d", nf);
log_debug("pf[%d] = %#4.4x, %#4.4x", i, pf[i].start, pf[i].end);
log_debug("addr %s response 0x%2.2x",
log_debug("ignored");
log_debug("ignored");
log_debug("nf = %d", nf);
log_debug("pf[%d] = "
log_debug("addr %s response 0x%2.2x",
log_debug("ignored");
log_debug("dropped short packet (type 0x%2.2x)", type);
log_debug("(fd#%d)", chan->fd);
log_debug("(fd#%d)", chan->fd);
log_debug("(fd#%d) EOF", fd);
log_debug("compat RegisterRequest by client on fd#%d", fd);
log_debug("compat ChangeRequest by client on fd#%d", fd);
log_debug("RecordUpdateRequest by client on fd#%d", fd);
log_debug("RecordRemoveRequest by client on fd#%d", fd);
log_debug("RecordInsertRequest by client on fd#%d", fd);
void log_debug(char const *, ...) __printflike(1, 2);
log_debug("new %s client on fd#%d",
log_debug("sending ErrorResponse (error=0x%04x)", error);
log_debug("client on fd#%d closed", fd);
log_debug("ServiceAttributeRequest by client on fd#%d", fd);
log_debug("ServiceSearchAttributeRequest by client on fd#%d", fd);
log_debug("ServiceSearchRequest by client on fd#%d", fd);