Lines Matching defs:dev
13 static inline u32 arp_hashfn(const void *pkey, const struct net_device *dev, u32 *hash_rnd)
16 u32 val = key ^ hash32_ptr(dev);
22 static inline struct neighbour *__ipv4_neigh_lookup_noref(struct net_device *dev, u32 key)
24 if (dev->flags & (IFF_LOOPBACK | IFF_POINTOPOINT))
27 return ___neigh_lookup_noref(&arp_tbl, neigh_key_eq32, arp_hashfn, &key, dev);
31 struct neighbour *__ipv4_neigh_lookup_noref(struct net_device *dev, u32 key)
37 static inline struct neighbour *__ipv4_neigh_lookup(struct net_device *dev, u32 key)
42 n = __ipv4_neigh_lookup_noref(dev, key);
50 static inline void __ipv4_confirm_neigh(struct net_device *dev, u32 key)
55 n = __ipv4_neigh_lookup_noref(dev, key);
63 struct net_device *dev, __be32 src_ip,
66 int arp_mc_map(__be32 addr, u8 *haddr, struct net_device *dev, int dir);
67 void arp_ifdown(struct net_device *dev);
68 int arp_invalidate(struct net_device *dev, __be32 ip, bool force);
71 struct net_device *dev, __be32 src_ip,