Home
last modified time | relevance | path

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

/include/net/
A Dneighbour.h352 void neigh_destroy(struct neighbour *neigh);
449 if (refcount_dec_and_test(&neigh->refcnt)) in neigh_release()
450 neigh_destroy(neigh); in neigh_release()
455 if (neigh) in neigh_clone()
456 refcount_inc(&neigh->refcnt); in neigh_clone()
457 return neigh; in neigh_clone()
468 if (READ_ONCE(neigh->used) != now) in neigh_event_send_probe()
469 WRITE_ONCE(neigh->used, now); in neigh_event_send_probe()
600 if ((neigh->flags ^ ndm_flags) & NTF_ROUTER) { in neigh_update_is_router()
602 neigh->flags |= NTF_ROUTER; in neigh_update_is_router()
[all …]
A Dndisc.h196 struct neighbour *neigh, u8 *ha_buf,
243 struct neighbour *neigh, in ndisc_ops_redirect_opt_addr_space() argument
248 neigh, ha_buf, ha); in ndisc_ops_redirect_opt_addr_space()
319 struct neighbour *neigh, in ndisc_redirect_opt_addr_space() argument
325 ndisc_ops_redirect_opt_addr_space(dev, neigh, ops_data_buf, in ndisc_redirect_opt_addr_space()
409 struct neighbour *neigh; in ip_neigh_gw6() local
411 neigh = __ipv6_neigh_lookup_noref_stub(dev, addr); in ip_neigh_gw6()
412 if (unlikely(!neigh)) in ip_neigh_gw6()
413 neigh = __neigh_create(ipv6_stub->nd_tbl, addr, dev, false); in ip_neigh_gw6()
415 return neigh; in ip_neigh_gw6()
[all …]
A Droute.h403 struct neighbour *neigh; in ip_neigh_gw4() local
405 neigh = __ipv4_neigh_lookup_noref(dev, (__force u32)daddr); in ip_neigh_gw4()
406 if (unlikely(!neigh)) in ip_neigh_gw4()
407 neigh = __neigh_create(&arp_tbl, &daddr, dev, false); in ip_neigh_gw4()
409 return neigh; in ip_neigh_gw4()
417 struct neighbour *neigh; in ip_neigh_for_gw() local
420 neigh = ip_neigh_gw4(dev, rt->rt_gw4); in ip_neigh_for_gw()
422 neigh = ip_neigh_gw6(dev, &rt->rt_gw6); in ip_neigh_for_gw()
425 neigh = ip_neigh_gw4(dev, ip_hdr(skb)->daddr); in ip_neigh_for_gw()
427 return neigh; in ip_neigh_for_gw()
A Dnetevent.h22 struct neighbour *neigh; member
A Datmclip.h42 struct neighbour *neigh; /* neighbour back-pointer */ member
/include/trace/events/
A 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/
A Detherdevice.h46 int eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh,
A Dnetdevice.h315 int (*cache)(const struct neighbour *neigh, struct hh_cache *hh, __be16 type);

Completed in 75 milliseconds