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

Function ipv6_addr_show

dpdk/examples/ip_pipeline/cli.c:4702–4715  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4700}
4701
4702static void
4703ipv6_addr_show(FILE *f, uint8_t *addr)
4704{
4705 fprintf(f, "%02x%02x:%02x%02x:%02x%02x:%02x%02x:"
4706 "%02x%02x:%02x%02x:%02x%02x:%02x%02x:",
4707 (uint32_t)addr[0], (uint32_t)addr[1],
4708 (uint32_t)addr[2], (uint32_t)addr[3],
4709 (uint32_t)addr[4], (uint32_t)addr[5],
4710 (uint32_t)addr[6], (uint32_t)addr[7],
4711 (uint32_t)addr[8], (uint32_t)addr[9],
4712 (uint32_t)addr[10], (uint32_t)addr[11],
4713 (uint32_t)addr[12], (uint32_t)addr[13],
4714 (uint32_t)addr[14], (uint32_t)addr[15]);
4715}
4716
4717static const char *
4718policer_action_string(enum rte_table_action_policer action) {

Callers 1

table_rule_showFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected