Revision ae80a2de nest/neighbor.c
nest/neighbor.c | ||
---|---|---|
49 | 49 |
static slab *neigh_slab; |
50 | 50 |
static list sticky_neigh_list, neigh_hash_table[NEIGH_HASH_SIZE]; |
51 | 51 |
|
52 |
static inline unsigned int
|
|
52 |
static inline uint |
|
53 | 53 |
neigh_hash(struct proto *p, ip_addr *a) |
54 | 54 |
{ |
55 | 55 |
return (p->hash_key ^ ipa_hash(*a)) & (NEIGH_HASH_SIZE-1); |
... | ... | |
126 | 126 |
{ |
127 | 127 |
neighbor *n; |
128 | 128 |
int class, scope = -1; |
129 |
unsigned int h = neigh_hash(p, a);
|
|
129 |
uint h = neigh_hash(p, a); |
|
130 | 130 |
struct iface *i; |
131 | 131 |
struct ifa *addr; |
132 | 132 |
|
Also available in: Unified diff