OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:_NDBOOTD_DEBUG
(Results
1 - 3
of
3
) sorted by relevancy
/src/usr.sbin/ndbootd/config/
ndbootd-bpf.c
120
_NDBOOTD_DEBUG
((fp, "bpf: failed to open %s: %s", dev_bpf_filename, strerror(errno)));
123
_NDBOOTD_DEBUG
((fp, "bpf: opened %s", dev_bpf_filename));
130
_NDBOOTD_DEBUG
((fp, "bpf: failed to get the BPF version on %s: %s",
137
_NDBOOTD_DEBUG
((fp, "bpf: kernel BPF version is %d.%d, my BPF version is %d.%d",
147
_NDBOOTD_DEBUG
((fp, "bpf: failed to put %s into immediate mode: %s",
155
_NDBOOTD_DEBUG
((fp, "bpf: failed set buffer size to %d: %s",
161
_NDBOOTD_DEBUG
((fp, "bpf: failed to put %s into complete-headers mode: %s",
168
_NDBOOTD_DEBUG
((fp, "bpf: failed to point BPF socket at %s: %s",
179
_NDBOOTD_DEBUG
((fp, "bpf: failed to set the filter on %s: %s",
186
_NDBOOTD_DEBUG
((fp, "bpf: failed to read the buffer size for %s: %s"
[
all
...]
/src/usr.sbin/ndbootd/
ndbootd.c
138
int
_ndbootd_debug
;
variable in typeref:typename:int
346
_ndbootd_debug
= FALSE;
382
_ndbootd_debug
= TRUE;
442
_NDBOOTD_DEBUG
((fp, "opening interface %s", interface->ndbootd_interface_ifreq->ifr_name));
450
_NDBOOTD_DEBUG
((fp, "opened interface %s (ip %s ether %02x:%02x:%02x:%02x:%02x:%02x)",
462
if (!
_ndbootd_debug
)
531
_NDBOOTD_DEBUG
((fp, "failed to receive packet: %s", strerror(errno)));
542
_NDBOOTD_DEBUG
((fp, "ignoring a too-short packet of length %ld", (long) packet_length));
552
_NDBOOTD_DEBUG
((fp, "ignoring a packet with the wrong Ethernet or IP protocol"));
557
_NDBOOTD_DEBUG
((fp, "ignoring a packet with a bad IP checksum"))
[
all
...]
ndbootd.h
114
#define
_NDBOOTD_DEBUG
(x) do { if (
_ndbootd_debug
) { FILE *fp; int saved_errno; fp = stderr; saved_errno = errno; fprintf(fp, "%s: ", _ndbootd_argv0); errno = saved_errno; fprintf x ; fputc('\n', fp); errno = saved_errno; } } while(0)
116
#define
_NDBOOTD_DEBUG
(x)
Completed in 13 milliseconds
Indexes created Thu Oct 23 22:10:10 GMT 2025