MCPcopy Create free account
hub / github.com/F-Stack/f-stack / p_nhflags

Function p_nhflags

tools/netstat/nhops.c:446–459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

444
445#ifndef FSTACK
446static void
447p_nhflags(int f, const char *format)
448{
449 struct bits *p;
450 char *pretty_name = "nh_flags_pretty";
451
452 xo_emit(format, fmt_flags(nh_bits, f));
453
454 xo_open_list(pretty_name);
455 for (p = nh_bits; p->b_mask; p++)
456 if (p->b_mask & f)
457 xo_emit("{le:nh_flags_pretty/%s}", p->b_name);
458 xo_close_list(pretty_name);
459}
460#endif
461
462void

Callers

nothing calls this directly

Calls 4

xo_emitFunction · 0.85
fmt_flagsFunction · 0.85
xo_open_listFunction · 0.85
xo_close_listFunction · 0.85

Tested by

no test coverage detected