.. | .. |
---|
268 | 268 | |
---|
269 | 269 | extern const struct nla_policy nda_policy[]; |
---|
270 | 270 | |
---|
271 | | -static inline bool neigh_key_eq16(const struct neighbour *n, const void *pkey) |
---|
272 | | -{ |
---|
273 | | - return *(const u16 *)n->primary_key == *(const u16 *)pkey; |
---|
274 | | -} |
---|
275 | | - |
---|
276 | 271 | static inline bool neigh_key_eq32(const struct neighbour *n, const void *pkey) |
---|
277 | 272 | { |
---|
278 | 273 | return *(const u32 *)n->primary_key == *(const u32 *)pkey; |
---|
.. | .. |
---|
322 | 317 | int neigh_table_clear(int index, struct neigh_table *tbl); |
---|
323 | 318 | struct neighbour *neigh_lookup(struct neigh_table *tbl, const void *pkey, |
---|
324 | 319 | struct net_device *dev); |
---|
325 | | -struct neighbour *neigh_lookup_nodev(struct neigh_table *tbl, struct net *net, |
---|
326 | | - const void *pkey); |
---|
327 | 320 | struct neighbour *__neigh_create(struct neigh_table *tbl, const void *pkey, |
---|
328 | 321 | struct net_device *dev, bool want_ref); |
---|
329 | 322 | static inline struct neighbour *neigh_create(struct neigh_table *tbl, |
---|