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

Function print_ethaddr

dpdk/app/test/test_security_inline_macsec.c:391–397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

389}
390
391static void
392print_ethaddr(const char *name, const struct rte_ether_addr *eth_addr)
393{
394 char buf[RTE_ETHER_ADDR_FMT_SIZE];
395 rte_ether_format_addr(buf, RTE_ETHER_ADDR_FMT_SIZE, eth_addr);
396 printf("%s%s", name, buf);
397}
398
399/* Check the link status of all ports in up to 3s, and print them finally */
400static void

Callers 1

Calls 2

rte_ether_format_addrFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected