Searched refs:iphash (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.4/net/netfilter/ |
D | xt_recent.c | 85 struct list_head iphash[0]; member 136 list_for_each_entry(e, &table->iphash[h], list) in recent_entry_lookup() 194 list_add_tail(&e->list, &t->iphash[recent_entry_hash4(addr)]); in recent_entry_init() 196 list_add_tail(&e->list, &t->iphash[recent_entry_hash6(addr)]); in recent_entry_init() 228 list_for_each_entry_safe(e, next, &t->iphash[i], list) in recent_table_flush() 386 t = kvzalloc(struct_size(t, iphash, ip_list_hash_size), GFP_KERNEL); in recent_mt_check() 398 INIT_LIST_HEAD(&t->iphash[i]); in recent_mt_check() 482 list_for_each_entry(e, &t->iphash[st->bucket], list) in recent_seq_start() 495 while (head == &t->iphash[st->bucket]) { in recent_seq_next() 498 head = t->iphash[st->bucket].next; in recent_seq_next()
|