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

Function get_max_nh

dpdk/app/test/test_fib6_perf.c:60–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60static inline uint64_t
61get_max_nh(uint8_t nh_sz)
62{
63 return ((1ULL << (bits_in_nh(nh_sz) - 1)) - 1);
64}
65
66static int
67test_fib6_perf(void)

Callers 1

test_fib6_perfFunction · 0.70

Calls 1

bits_in_nhFunction · 0.70

Tested by

no test coverage detected