Lines Matching refs:tbl
75 struct neigh_table *tbl; member
132 #define NEIGH_CACHE_STAT_INC(tbl, field) this_cpu_inc((tbl)->stats->field) argument
136 struct neigh_table *tbl; member
244 return p->tbl->family; in neigh_parms_family()
252 return (char *)n + n->tbl->entry_size; in neighbour_priv()
294 struct neigh_table *tbl, in ___neigh_lookup_noref() argument
302 struct neigh_hash_table *nht = rcu_dereference_bh(tbl->nht); in ___neigh_lookup_noref()
317 static inline struct neighbour *__neigh_lookup_noref(struct neigh_table *tbl, in __neigh_lookup_noref() argument
321 return ___neigh_lookup_noref(tbl, tbl->key_eq, tbl->hash, pkey, dev); in __neigh_lookup_noref()
324 void neigh_table_init(int index, struct neigh_table *tbl);
325 int neigh_table_clear(int index, struct neigh_table *tbl);
326 struct neighbour *neigh_lookup(struct neigh_table *tbl, const void *pkey,
328 struct neighbour *neigh_lookup_nodev(struct neigh_table *tbl, struct net *net,
330 struct neighbour *__neigh_create(struct neigh_table *tbl, const void *pkey,
332 static inline struct neighbour *neigh_create(struct neigh_table *tbl, in neigh_create() argument
336 return __neigh_create(tbl, pkey, dev, true); in neigh_create()
343 bool neigh_remove_one(struct neighbour *ndel, struct neigh_table *tbl);
344 void neigh_changeaddr(struct neigh_table *tbl, struct net_device *dev);
345 int neigh_ifdown(struct neigh_table *tbl, struct net_device *dev);
346 int neigh_carrier_down(struct neigh_table *tbl, struct net_device *dev);
350 struct neighbour *neigh_event_ns(struct neigh_table *tbl,
355 struct neigh_table *tbl);
356 void neigh_parms_release(struct neigh_table *tbl, struct neigh_parms *parms);
366 void pneigh_enqueue(struct neigh_table *tbl, struct neigh_parms *p,
368 struct pneigh_entry *pneigh_lookup(struct neigh_table *tbl, struct net *net,
371 struct pneigh_entry *__pneigh_lookup(struct neigh_table *tbl, struct net *net,
373 int pneigh_delete(struct neigh_table *tbl, struct net *net, const void *key,
382 void neigh_for_each(struct neigh_table *tbl,
384 void __neigh_for_each_release(struct neigh_table *tbl,
387 void pneigh_for_each(struct neigh_table *tbl,
392 struct neigh_table *tbl; member
531 __neigh_lookup(struct neigh_table *tbl, const void *pkey, struct net_device *dev, int creat) in __neigh_lookup() argument
533 struct neighbour *n = neigh_lookup(tbl, pkey, dev); in __neigh_lookup()
538 n = neigh_create(tbl, pkey, dev); in __neigh_lookup()
543 __neigh_lookup_errno(struct neigh_table *tbl, const void *pkey, in __neigh_lookup_errno() argument
546 struct neighbour *n = neigh_lookup(tbl, pkey, dev); in __neigh_lookup_errno()
551 return neigh_create(tbl, pkey, dev); in __neigh_lookup_errno()