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

Function print_nhgroup_header

tools/netstat/nhgrp.c:87–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87static void
88print_nhgroup_header(int af1 __unused)
89{
90
91 xo_emit("{T:/%-*.*s}{T:/%-*.*s}{T:/%*.*s}{T:/%*.*s}{T:/%*.*s}"
92 "{T:/%*.*s}{T:/%*s}\n",
93 wid_nhidx, wid_nhidx, "GrpIdx",
94 wid_nhidx, wid_nhidx, "NhIdx",
95 wid_nhidx, wid_nhidx, "Weight",
96 wid_nhidx, wid_nhidx, "Slots",
97 wid_gw, wid_gw, "Gateway",
98 wid_if, wid_if, "Netif",
99 wid_refcnt, "Refcnt");
100}
101
102static void
103print_padding(char sym, int len)

Callers 1

print_nhgrp_sysctlFunction · 0.85

Calls 1

xo_emitFunction · 0.85

Tested by

no test coverage detected