mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 10:32:24 +00:00
Create a mapping between a netdev and its neighoburs, allowing for much cheaper flushes. Signed-off-by: Gilad Naaman <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Reviewed-by: Kuniyuki Iwashima <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
13 lines
253 B
C
13 lines
253 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _NET_NEIGHBOUR_TABLES_H
|
|
#define _NET_NEIGHBOUR_TABLES_H
|
|
|
|
enum {
|
|
NEIGH_ARP_TABLE = 0,
|
|
NEIGH_ND_TABLE = 1,
|
|
NEIGH_NR_TABLES,
|
|
NEIGH_LINK_TABLE = NEIGH_NR_TABLES /* Pseudo table for neigh_xmit */
|
|
};
|
|
|
|
#endif
|