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

Function print_addr

dpdk/app/test-sad/main.c:435–444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433}
434
435static void
436print_addr(int af, const void *addr)
437{
438 char str[INET6_ADDRSTRLEN];
439 const char *ret;
440
441 ret = inet_ntop(af, addr, str, sizeof(str));
442 if (ret != NULL)
443 printf("%s", str);
444}
445
446static void
447print_tuple(int af, uint32_t spi, const void *dip, const void *sip)

Callers 1

print_tupleFunction · 0.70

Calls 2

inet_ntopFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected