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

Function NgCookie

tools/libnetgraph/debug.c:307–317  ·  view source on GitHub ↗

* Return the name of the node type corresponding to the cookie */

Source from the content-addressed store, hash-verified

305 * Return the name of the node type corresponding to the cookie
306 */
307static const char *
308NgCookie(int cookie)
309{
310 int k;
311
312 for (k = 0; cookies[k].cookie != 0; k++) {
313 if (cookies[k].cookie == cookie)
314 return cookies[k].type;
315 }
316 return "??";
317}
318
319/*
320 * Dump bytes in hex

Callers 1

_NgDebugMsgFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected