Home
last modified time | relevance | path

Searched refs:neigh (Results 1 – 8 of 8) sorted by relevance

/include/net/
Dneighbour.h328 void neigh_destroy(struct neighbour *neigh);
329 int __neigh_event_send(struct neighbour *neigh, struct sk_buff *skb);
330 int neigh_update(struct neighbour *neigh, const u8 *lladdr, u8 new, u32 flags,
332 void __neigh_set_probe_once(struct neighbour *neigh);
337 int neigh_resolve_output(struct neighbour *neigh, struct sk_buff *skb);
338 int neigh_connected_output(struct neighbour *neigh, struct sk_buff *skb);
339 int neigh_direct_output(struct neighbour *neigh, struct sk_buff *skb);
424 static inline void neigh_release(struct neighbour *neigh) in neigh_release() argument
426 if (refcount_dec_and_test(&neigh->refcnt)) in neigh_release()
427 neigh_destroy(neigh); in neigh_release()
[all …]
Dndisc.h211 struct neighbour *neigh, u8 *ha_buf,
267 struct neighbour *neigh, in ndisc_ops_redirect_opt_addr_space() argument
272 neigh, ha_buf, ha); in ndisc_ops_redirect_opt_addr_space()
343 struct neighbour *neigh, in ndisc_redirect_opt_addr_space() argument
349 ndisc_ops_redirect_opt_addr_space(dev, neigh, ops_data_buf, in ndisc_redirect_opt_addr_space()
445 struct neighbour *neigh; in ip_neigh_gw6() local
447 neigh = __ipv6_neigh_lookup_noref_stub(dev, addr); in ip_neigh_gw6()
448 if (unlikely(!neigh)) in ip_neigh_gw6()
449 neigh = __neigh_create(ipv6_stub->nd_tbl, addr, dev, false); in ip_neigh_gw6()
451 return neigh; in ip_neigh_gw6()
[all …]
Droute.h370 struct neighbour *neigh; in ip_neigh_gw4() local
372 neigh = __ipv4_neigh_lookup_noref(dev, (__force u32)daddr); in ip_neigh_gw4()
373 if (unlikely(!neigh)) in ip_neigh_gw4()
374 neigh = __neigh_create(&arp_tbl, &daddr, dev, false); in ip_neigh_gw4()
376 return neigh; in ip_neigh_gw4()
384 struct neighbour *neigh; in ip_neigh_for_gw() local
387 neigh = ip_neigh_gw4(dev, rt->rt_gw4); in ip_neigh_for_gw()
389 neigh = ip_neigh_gw6(dev, &rt->rt_gw6); in ip_neigh_for_gw()
392 neigh = ip_neigh_gw4(dev, ip_hdr(skb)->daddr); in ip_neigh_for_gw()
394 return neigh; in ip_neigh_for_gw()
Dnetevent.h21 struct neighbour *neigh; member
Datmclip.h42 struct neighbour *neigh; /* neighbour back-pointer */ member
/include/trace/events/
Dneigh.h2 #define TRACE_SYSTEM neigh
228 TP_PROTO(struct neighbour *neigh, int err),
229 TP_ARGS(neigh, err)
233 TP_PROTO(struct neighbour *neigh, int err),
234 TP_ARGS(neigh, err)
238 TP_PROTO(struct neighbour *neigh, int err),
239 TP_ARGS(neigh, err)
243 TP_PROTO(struct neighbour *neigh, int err),
244 TP_ARGS(neigh, err)
248 TP_PROTO(struct neighbour *neigh, int rc),
[all …]
/include/linux/
Detherdevice.h39 int eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh,
Dnetdevice.h278 int (*cache)(const struct neighbour *neigh, struct hh_cache *hh, __be16 type);