Home
last modified time | relevance | path

Searched refs:FIB_TABLE_HASHSZ (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/include/net/
Dip_fib.h194 #define FIB_TABLE_HASHSZ 256 macro
196 #define FIB_TABLE_HASHSZ 2 macro
283 #define TABLE_LOCAL_INDEX (RT_TABLE_LOCAL & (FIB_TABLE_HASHSZ - 1))
284 #define TABLE_MAIN_INDEX (RT_TABLE_MAIN & (FIB_TABLE_HASHSZ - 1))
/kernel/linux/linux-5.10/net/ipv4/
Dfib_frontend.c104 h = id & (FIB_TABLE_HASHSZ - 1); in fib_new_table()
119 h = id & (FIB_TABLE_HASHSZ - 1); in fib_get_table()
188 for (h = 0; h < FIB_TABLE_HASHSZ; h++) { in fib_flush()
1020 for (h = s_h; h < FIB_TABLE_HASHSZ; h++, s_e = 0) { in inet_dump_fib()
1524 size_t size = sizeof(struct hlist_head) * FIB_TABLE_HASHSZ; in ip_fib_net_init()
1565 for (i = FIB_TABLE_HASHSZ - 1; i >= 0; i--) { in ip_fib_net_exit()
Dfib_trie.c2122 for (h = 0; h < FIB_TABLE_HASHSZ; h++) { in fib_info_notify_update()
2192 for (h = 0; h < FIB_TABLE_HASHSZ; h++) { in fib_notify()
2600 for (h = 0; h < FIB_TABLE_HASHSZ; h++) { in fib_triestat_seq_show()
2633 for (h = 0; h < FIB_TABLE_HASHSZ; h++) { in fib_trie_get_idx()
2676 h = tb->tb_id & (FIB_TABLE_HASHSZ - 1); in fib_trie_seq_next()
2685 while (++h < FIB_TABLE_HASHSZ) { in fib_trie_seq_next()