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

Function parse_cb_ipv6_addr_trace

dpdk/app/test-acl/main.c:468–475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

466}
467
468static int
469parse_cb_ipv6_addr_trace(const char *in, uint32_t v[IPV6_ADDR_U32])
470{
471 if (inet_pton(AF_INET6, in, v) != 1)
472 return -EINVAL;
473
474 return 0;
475}
476
477/*
478 * Parse ClassBench input trace (test vectors and expected results) file.

Callers 1

parse_cb_ipv6_traceFunction · 0.85

Calls 1

inet_ptonFunction · 0.85

Tested by

no test coverage detected