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

Function get_tbl24_p

dpdk/lib/fib/trie.h:48–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48static inline void *
49get_tbl24_p(struct rte_trie_tbl *dp, const uint8_t *ip, uint8_t nh_sz)
50{
51 uint32_t tbl24_idx;
52
53 tbl24_idx = get_tbl24_idx(ip);
54 return (void *)&((uint8_t *)dp->tbl24)[tbl24_idx << nh_sz];
55}
56
57static inline uint8_t
58bits_in_nh(uint8_t nh_sz)

Callers 2

install_to_fibFunction · 0.70
install_to_dpFunction · 0.70

Calls 1

get_tbl24_idxFunction · 0.70

Tested by

no test coverage detected