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

Function print_ethaddr

dpdk/app/test/test_security_inline_proto.c:402–408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400}
401
402static void
403print_ethaddr(const char *name, const struct rte_ether_addr *eth_addr)
404{
405 char buf[RTE_ETHER_ADDR_FMT_SIZE];
406 rte_ether_format_addr(buf, RTE_ETHER_ADDR_FMT_SIZE, eth_addr);
407 printf("%s%s", name, buf);
408}
409
410static void
411copy_buf_to_pkt_segs(const uint8_t *buf, unsigned int len,

Callers 1

Calls 2

rte_ether_format_addrFunction · 0.85
printfFunction · 0.50

Tested by

no test coverage detected