summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@nuts.davemloft.net>2004-09-23 02:47:26 -0700
committerDavid S. Miller <davem@kernel.bkbits.net>2004-09-23 02:47:26 -0700
commit81a49f624342f8ea52742abeaf1b2be8acc44102 (patch)
treebb90839d085f9c81bf7686dcc312dd9ceb61d8b8 /include/net
parent4e181ca735c533e65a353a3de5f39df5e275b5fe (diff)
[NET]: Privatize {P,}NEIGH_HASHMASK.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/neighbour.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/net/neighbour.h b/include/net/neighbour.h
index 105cd0c38790..9cfe22f13756 100644
--- a/include/net/neighbour.h
+++ b/include/net/neighbour.h
@@ -140,9 +140,6 @@ struct pneigh_entry
u8 key[0];
};
-#define NEIGH_HASHMASK 0x1F
-#define PNEIGH_HASHMASK 0xF
-
/*
* neighbour table manipulation
*/
@@ -176,8 +173,8 @@ struct neigh_table
struct neigh_parms *parms_list;
kmem_cache_t *kmem_cachep;
struct neigh_statistics stats;
- struct neighbour *hash_buckets[NEIGH_HASHMASK+1];
- struct pneigh_entry *phash_buckets[PNEIGH_HASHMASK+1];
+ struct neighbour **hash_buckets;
+ struct pneigh_entry **phash_buckets;
};
/* flags for neigh_update() */