Home
last modified time | relevance | path

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

/linux-4.1.27/net/rose/
Drose_link.c34 static void rose_transmit_restart_confirmation(struct rose_neigh *neigh);
35 static void rose_transmit_restart_request(struct rose_neigh *neigh);
37 void rose_start_ftimer(struct rose_neigh *neigh) in rose_start_ftimer() argument
39 del_timer(&neigh->ftimer); in rose_start_ftimer()
41 neigh->ftimer.data = (unsigned long)neigh; in rose_start_ftimer()
42 neigh->ftimer.function = &rose_ftimer_expiry; in rose_start_ftimer()
43 neigh->ftimer.expires = in rose_start_ftimer()
46 add_timer(&neigh->ftimer); in rose_start_ftimer()
49 static void rose_start_t0timer(struct rose_neigh *neigh) in rose_start_t0timer() argument
51 del_timer(&neigh->t0timer); in rose_start_t0timer()
[all …]
Daf_rose.c165 void rose_kill_by_neigh(struct rose_neigh *neigh) in rose_kill_by_neigh() argument
173 if (rose->neighbour == neigh) { in rose_kill_by_neigh()
275 struct sock *rose_find_socket(unsigned int lci, struct rose_neigh *neigh) in rose_find_socket() argument
283 if (rose->lci == lci && rose->neighbour == neigh) in rose_find_socket()
295 unsigned int rose_new_lci(struct rose_neigh *neigh) in rose_new_lci() argument
299 if (neigh->dce_mode) { in rose_new_lci()
301 if (rose_find_socket(lci, neigh) == NULL && rose_route_free_lci(lci, neigh) == NULL) in rose_new_lci()
305 if (rose_find_socket(lci, neigh) == NULL && rose_route_free_lci(lci, neigh) == NULL) in rose_new_lci()
968 int rose_rx_call_request(struct sk_buff *skb, struct net_device *dev, struct rose_neigh *neigh, uns… in rose_rx_call_request() argument
986 rose_transmit_clear_request(neigh, lci, ROSE_INVALID_FACILITY, 76); in rose_rx_call_request()
[all …]
Drose_loopback.c35 int rose_loopback_queue(struct sk_buff *skb, struct rose_neigh *neigh) in rose_loopback_queue() argument
Drose_route.c661 struct rose_route *rose_route_free_lci(unsigned int lci, struct rose_neigh *neigh) in rose_route_free_lci() argument
666 if ((rose_route->neigh1 == neigh && rose_route->lci1 == lci) || in rose_route_free_lci()
667 (rose_route->neigh2 == neigh && rose_route->lci2 == lci)) in rose_route_free_lci()
/linux-4.1.27/net/decnet/
Ddn_neigh.c53 static int dn_neigh_output(struct neighbour *neigh, struct sk_buff *skb);
72 static bool dn_key_eq(const struct neighbour *neigh, const void *pkey) in dn_key_eq() argument
74 return neigh_key_eq16(neigh, pkey); in dn_key_eq()
110 static int dn_neigh_construct(struct neighbour *neigh) in dn_neigh_construct() argument
112 struct net_device *dev = neigh->dev; in dn_neigh_construct()
113 struct dn_neigh *dn = (struct dn_neigh *)neigh; in dn_neigh_construct()
130 __neigh_parms_put(neigh->parms); in dn_neigh_construct()
131 neigh->parms = neigh_parms_clone(parms); in dn_neigh_construct()
134 neigh->ops = &dn_neigh_ops; in dn_neigh_construct()
135 neigh->nud_state = NUD_NOARP; in dn_neigh_construct()
[all …]
Ddn_route.c975 struct neighbour *neigh = NULL; in dn_route_output_slow() local
1084 neigh = neigh_lookup_nodev(&dn_neigh_table, &init_net, &fld.daddr); in dn_route_output_slow()
1085 if (neigh) { in dn_route_output_slow()
1087 (neigh->dev->ifindex != oldflp->flowidn_oif)) || in dn_route_output_slow()
1089 (!dn_dev_islocal(neigh->dev, in dn_route_output_slow()
1091 neigh_release(neigh); in dn_route_output_slow()
1092 neigh = NULL; in dn_route_output_slow()
1096 if (dn_dev_islocal(neigh->dev, fld.daddr)) { in dn_route_output_slow()
1100 dev_out = neigh->dev; in dn_route_output_slow()
1124 neigh = neigh_clone(dn_db->router); in dn_route_output_slow()
[all …]
/linux-4.1.27/net/core/
Dneighbour.c56 static void neigh_update_notify(struct neighbour *neigh);
91 static int neigh_blackhole(struct neighbour *neigh, struct sk_buff *skb) in neigh_blackhole() argument
97 static void neigh_cleanup_and_release(struct neighbour *neigh) in neigh_cleanup_and_release() argument
99 if (neigh->parms->neigh_cleanup) in neigh_cleanup_and_release()
100 neigh->parms->neigh_cleanup(neigh); in neigh_cleanup_and_release()
102 __neigh_notify(neigh, RTM_DELNEIGH, 0); in neigh_cleanup_and_release()
103 neigh_release(neigh); in neigh_cleanup_and_release()
679 void neigh_destroy(struct neighbour *neigh) in neigh_destroy() argument
681 struct net_device *dev = neigh->dev; in neigh_destroy()
683 NEIGH_CACHE_STAT_INC(neigh->tbl, destroys); in neigh_destroy()
[all …]
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.c77 if (e->neigh) in neigh_replace()
78 neigh_release(e->neigh); in neigh_replace()
79 e->neigh = n; in neigh_replace()
105 memcpy(e->dmac, e->neigh->ha, sizeof(e->dmac)); in setup_l2e_send_pending()
134 neigh_event_send(e->neigh, NULL); in t3_l2t_send_slow()
159 if (!neigh_event_send(e->neigh, NULL)) { in t3_l2t_send_slow()
183 neigh_event_send(e->neigh, NULL); in t3_l2t_send_event()
209 neigh_event_send(e->neigh, NULL); in t3_l2t_send_event()
267 if (e->neigh) { in t3_l2e_free()
268 neigh_release(e->neigh); in t3_l2e_free()
[all …]
Dl2t.h64 struct neighbour *neigh; /* associated neighbour */ member
111 void t3_l2t_update(struct t3cdev *dev, struct neighbour *neigh);
Dcxgb3_offload.c66 static void cxgb_neigh_update(struct neighbour *neigh);
68 struct neighbour *neigh, const void *daddr);
488 static void dummy_neigh_update(struct t3cdev *dev, struct neighbour *neigh) in dummy_neigh_update() argument
972 cxgb_redirect(nr->old, nr->new, nr->neigh, in nb_callback()
974 cxgb_neigh_update(nr->neigh); in nb_callback()
1073 static void cxgb_neigh_update(struct neighbour *neigh) in cxgb_neigh_update() argument
1077 if (!neigh) in cxgb_neigh_update()
1079 dev = neigh->dev; in cxgb_neigh_update()
1084 t3_l2t_update(tdev, neigh); in cxgb_neigh_update()
1111 struct neighbour *neigh, in cxgb_redirect() argument
[all …]
Dt3cdev.h61 void (*neigh_update)(struct t3cdev *dev, struct neighbour *neigh);
/linux-4.1.27/drivers/infiniband/ulp/ipoib/
Dipoib_main.c442 struct ipoib_neigh *neigh, *tn; in path_rec_completion() local
477 list_for_each_entry_safe(neigh, tn, &path->neigh_list, list) { in path_rec_completion()
478 if (neigh->ah) { in path_rec_completion()
479 WARN_ON(neigh->ah != old_ah); in path_rec_completion()
487 ipoib_put_ah(neigh->ah); in path_rec_completion()
490 neigh->ah = path->ah; in path_rec_completion()
492 if (ipoib_cm_enabled(dev, neigh->daddr)) { in path_rec_completion()
493 if (!ipoib_cm_get(neigh)) in path_rec_completion()
494 ipoib_cm_set(neigh, ipoib_cm_create_tx(dev, in path_rec_completion()
496 neigh)); in path_rec_completion()
[all …]
Dipoib.h240 struct ipoib_neigh *neigh; member
441 void ipoib_neigh_dtor(struct ipoib_neigh *neigh);
442 static inline void ipoib_neigh_put(struct ipoib_neigh *neigh) in ipoib_neigh_put() argument
444 if (atomic_dec_and_test(&neigh->refcnt)) in ipoib_neigh_put()
445 ipoib_neigh_dtor(neigh); in ipoib_neigh_put()
450 void ipoib_neigh_free(struct ipoib_neigh *neigh);
577 static inline int ipoib_cm_up(struct ipoib_neigh *neigh) in ipoib_cm_up() argument
580 return test_bit(IPOIB_FLAG_OPER_UP, &neigh->cm->flags); in ipoib_cm_up()
583 static inline struct ipoib_cm_tx *ipoib_cm_get(struct ipoib_neigh *neigh) in ipoib_cm_get() argument
585 return neigh->cm; in ipoib_cm_get()
[all …]
Dipoib_cm.c812 struct ipoib_neigh *neigh; in ipoib_cm_handle_tx_wc() local
819 neigh = tx->neigh; in ipoib_cm_handle_tx_wc()
821 if (neigh) { in ipoib_cm_handle_tx_wc()
822 neigh->cm = NULL; in ipoib_cm_handle_tx_wc()
823 ipoib_neigh_free(neigh); in ipoib_cm_handle_tx_wc()
825 tx->neigh = NULL; in ipoib_cm_handle_tx_wc()
1002 if (p->neigh) in ipoib_cm_rep_handler()
1003 while ((skb = __skb_dequeue(&p->neigh->queue))) in ipoib_cm_rep_handler()
1225 struct ipoib_neigh *neigh; in ipoib_cm_tx_handler() local
1247 neigh = tx->neigh; in ipoib_cm_tx_handler()
[all …]
Dipoib_multicast.c730 struct ipoib_neigh *neigh; in ipoib_mcast_send() local
733 neigh = ipoib_neigh_get(dev, daddr); in ipoib_mcast_send()
735 if (!neigh) { in ipoib_mcast_send()
736 neigh = ipoib_neigh_alloc(daddr, dev); in ipoib_mcast_send()
737 if (neigh) { in ipoib_mcast_send()
739 neigh->ah = mcast->ah; in ipoib_mcast_send()
740 list_add_tail(&neigh->list, &mcast->neigh_list); in ipoib_mcast_send()
745 if (neigh) in ipoib_mcast_send()
746 ipoib_neigh_put(neigh); in ipoib_mcast_send()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.c131 if (e->neigh) in neigh_replace()
132 neigh_release(e->neigh); in neigh_replace()
133 e->neigh = n; in neigh_replace()
158 if (e->neigh && !(e->neigh->dev->flags & IFF_LOOPBACK)) in write_l2e()
159 memcpy(e->dmac, e->neigh->ha, sizeof(e->dmac)); in write_l2e()
209 e->state = (e->neigh->nud_state & NUD_STALE) ? in do_l2t_write_rpl()
238 neigh_event_send(e->neigh, NULL); in cxgb4_l2t_send()
257 !neigh_event_send(e->neigh, NULL)) { in cxgb4_l2t_send()
314 if (e->neigh) { in t4_l2e_free()
315 neigh_release(e->neigh); in t4_l2e_free()
[all …]
Dl2t.h62 struct neighbour *neigh; /* associated neighbour */ member
98 struct l2t_entry *cxgb4_l2t_get(struct l2t_data *d, struct neighbour *neigh,
103 void t4_l2t_update(struct adapter *adap, struct neighbour *neigh);
Dcxgb4_main.c2163 static void check_neigh_update(struct neighbour *neigh) in check_neigh_update() argument
2166 const struct net_device *netdev = neigh->dev; in check_neigh_update()
2172 t4_l2t_update(dev_get_drvdata(parent), neigh); in check_neigh_update()
/linux-4.1.27/net/ipv4/
Darp.c126 static int arp_constructor(struct neighbour *neigh);
127 static void arp_solicit(struct neighbour *neigh, struct sk_buff *skb);
128 static void arp_error_report(struct neighbour *neigh, struct sk_buff *skb);
217 static bool arp_key_eq(const struct neighbour *neigh, const void *pkey) in arp_key_eq() argument
219 return neigh_key_eq32(neigh, pkey); in arp_key_eq()
222 static int arp_constructor(struct neighbour *neigh) in arp_constructor() argument
224 __be32 addr = *(__be32 *)neigh->primary_key; in arp_constructor()
225 struct net_device *dev = neigh->dev; in arp_constructor()
236 neigh->type = inet_addr_type(dev_net(dev), addr); in arp_constructor()
239 __neigh_parms_put(neigh->parms); in arp_constructor()
[all …]
Dip_tunnel.c671 struct neighbour *neigh; in ip_tunnel_xmit() local
675 neigh = dst_neigh_lookup(skb_dst(skb), in ip_tunnel_xmit()
677 if (!neigh) in ip_tunnel_xmit()
680 addr6 = (const struct in6_addr *)&neigh->primary_key; in ip_tunnel_xmit()
694 neigh_release(neigh); in ip_tunnel_xmit()
Dip_output.c177 struct neighbour *neigh; in ip_finish_output2() local
202 neigh = __ipv4_neigh_lookup_noref(dev, nexthop); in ip_finish_output2()
203 if (unlikely(!neigh)) in ip_finish_output2()
204 neigh = __neigh_create(&arp_tbl, &nexthop, dev, false); in ip_finish_output2()
205 if (!IS_ERR(neigh)) { in ip_finish_output2()
206 int res = dst_neigh_output(dst, neigh, skb); in ip_finish_output2()
/linux-4.1.27/net/ipv6/
Dndisc.c87 static bool ndisc_key_eq(const struct neighbour *neigh, const void *pkey);
88 static int ndisc_constructor(struct neighbour *neigh);
89 static void ndisc_solicit(struct neighbour *neigh, struct sk_buff *skb);
90 static void ndisc_error_report(struct neighbour *neigh, struct sk_buff *skb);
305 static int ndisc_constructor(struct neighbour *neigh) in ndisc_constructor() argument
307 struct in6_addr *addr = (struct in6_addr *)&neigh->primary_key; in ndisc_constructor()
308 struct net_device *dev = neigh->dev; in ndisc_constructor()
319 __neigh_parms_put(neigh->parms); in ndisc_constructor()
320 neigh->parms = neigh_parms_clone(parms); in ndisc_constructor()
322 neigh->type = is_multicast ? RTN_MULTICAST : RTN_UNICAST; in ndisc_constructor()
[all …]
Droute.c505 struct neighbour *neigh; in rt6_probe() local
517 neigh = __ipv6_neigh_lookup_noref(rt->dst.dev, &rt->rt6i_gateway); in rt6_probe()
518 if (neigh) { in rt6_probe()
519 write_lock(&neigh->lock); in rt6_probe()
520 if (neigh->nud_state & NUD_VALID) in rt6_probe()
524 if (!neigh || in rt6_probe()
525 time_after(jiffies, neigh->updated + rt->rt6i_idev->cnf.rtr_probe_interval)) { in rt6_probe()
530 if (neigh && work) in rt6_probe()
531 __neigh_set_probe_once(neigh); in rt6_probe()
533 if (neigh) in rt6_probe()
[all …]
Dsit.c835 struct neighbour *neigh = NULL; in ipip6_tunnel_xmit() local
839 neigh = dst_neigh_lookup(skb_dst(skb), &iph6->daddr); in ipip6_tunnel_xmit()
841 if (!neigh) { in ipip6_tunnel_xmit()
846 addr6 = (const struct in6_addr *)&neigh->primary_key; in ipip6_tunnel_xmit()
855 neigh_release(neigh); in ipip6_tunnel_xmit()
864 struct neighbour *neigh = NULL; in ipip6_tunnel_xmit() local
868 neigh = dst_neigh_lookup(skb_dst(skb), &iph6->daddr); in ipip6_tunnel_xmit()
870 if (!neigh) { in ipip6_tunnel_xmit()
875 addr6 = (const struct in6_addr *)&neigh->primary_key; in ipip6_tunnel_xmit()
888 neigh_release(neigh); in ipip6_tunnel_xmit()
Dip6_output.c63 struct neighbour *neigh; in ip6_finish_output2() local
109 neigh = __ipv6_neigh_lookup_noref(dst->dev, nexthop); in ip6_finish_output2()
110 if (unlikely(!neigh)) in ip6_finish_output2()
111 neigh = __neigh_create(&nd_tbl, nexthop, dst->dev, false); in ip6_finish_output2()
112 if (!IS_ERR(neigh)) { in ip6_finish_output2()
113 ret = dst_neigh_output(dst, neigh, skb); in ip6_finish_output2()
Dip6_fib.c1709 struct neighbour *neigh; in fib6_age() local
1712 neigh = dst_neigh_lookup(&rt->dst, &rt->rt6i_gateway); in fib6_age()
1713 if (neigh) { in fib6_age()
1714 neigh_flags = neigh->flags; in fib6_age()
1715 neigh_release(neigh); in fib6_age()
Dip6_tunnel.c993 struct neighbour *neigh; in ip6_tnl_xmit2() local
999 neigh = dst_neigh_lookup(skb_dst(skb), in ip6_tnl_xmit2()
1001 if (!neigh) in ip6_tnl_xmit2()
1004 addr6 = (struct in6_addr *)&neigh->primary_key; in ip6_tnl_xmit2()
1011 neigh_release(neigh); in ip6_tnl_xmit2()
/linux-4.1.27/net/atm/
Dclip.c77 pr_debug("%p to entry %p (neigh %p)\n", clip_vcc, entry, entry->neigh); in link_vcc()
82 entry->neigh->used = jiffies; in link_vcc()
94 netif_tx_lock_bh(entry->neigh->dev); /* block clip_start_xmit() */ in unlink_clip_vcc()
95 entry->neigh->used = jiffies; in unlink_clip_vcc()
103 netif_wake_queue(entry->neigh->dev); in unlink_clip_vcc()
108 error = neigh_update(entry->neigh, NULL, NUD_NONE, in unlink_clip_vcc()
116 netif_tx_unlock_bh(entry->neigh->dev); in unlink_clip_vcc()
210 skb->dev = clip_vcc->entry ? clip_vcc->entry->neigh->dev : clip_devs; in clip_push()
265 static void clip_neigh_solicit(struct neighbour *neigh, struct sk_buff *skb) in clip_neigh_solicit() argument
267 __be32 *ip = (__be32 *) neigh->primary_key; in clip_neigh_solicit()
[all …]
Dproc.c175 dev = clip_vcc->entry ? clip_vcc->entry->neigh->dev : NULL; in pvc_info()
/linux-4.1.27/include/net/
Dneighbour.h314 void neigh_destroy(struct neighbour *neigh);
315 int __neigh_event_send(struct neighbour *neigh, struct sk_buff *skb);
316 int neigh_update(struct neighbour *neigh, const u8 *lladdr, u8 new, u32 flags);
317 void __neigh_set_probe_once(struct neighbour *neigh);
320 int neigh_resolve_output(struct neighbour *neigh, struct sk_buff *skb);
321 int neigh_connected_output(struct neighbour *neigh, struct sk_buff *skb);
322 int neigh_direct_output(struct neighbour *neigh, struct sk_buff *skb);
408 static inline void neigh_release(struct neighbour *neigh) in neigh_release() argument
410 if (atomic_dec_and_test(&neigh->refcnt)) in neigh_release()
411 neigh_destroy(neigh); in neigh_release()
[all …]
Dnetevent.h20 struct neighbour *neigh; member
Dndisc.h183 void ndisc_send_ns(struct net_device *dev, struct neighbour *neigh,
189 void ndisc_send_na(struct net_device *dev, struct neighbour *neigh,
Datmclip.h41 struct neighbour *neigh; /* neighbour back-pointer */ member
Daddrconf.h163 void (*ndisc_send_na)(struct net_device *dev, struct neighbour *neigh,
/linux-4.1.27/net/batman-adv/
Doriginator.c330 batadv_neigh_ifinfo_get(struct batadv_neigh_node *neigh, in batadv_neigh_ifinfo_get() argument
337 hlist_for_each_entry_rcu(tmp_neigh_ifinfo, &neigh->ifinfo_list, in batadv_neigh_ifinfo_get()
365 batadv_neigh_ifinfo_new(struct batadv_neigh_node *neigh, in batadv_neigh_ifinfo_new() argument
370 spin_lock_bh(&neigh->ifinfo_lock); in batadv_neigh_ifinfo_new()
372 neigh_ifinfo = batadv_neigh_ifinfo_get(neigh, if_outgoing); in batadv_neigh_ifinfo_new()
390 hlist_add_head_rcu(&neigh_ifinfo->list, &neigh->ifinfo_list); in batadv_neigh_ifinfo_new()
393 spin_unlock_bh(&neigh->ifinfo_lock); in batadv_neigh_ifinfo_new()
682 struct batadv_neigh_node *neigh) in batadv_purge_neigh_ifinfo() argument
688 spin_lock_bh(&neigh->ifinfo_lock); in batadv_purge_neigh_ifinfo()
692 &neigh->ifinfo_list, list) { in batadv_purge_neigh_ifinfo()
[all …]
Doriginator.h43 batadv_neigh_ifinfo_new(struct batadv_neigh_node *neigh,
46 batadv_neigh_ifinfo_get(struct batadv_neigh_node *neigh,
/linux-4.1.27/lib/
Dcpu_rmap.c100 int neigh; in cpu_rmap_copy_neigh() local
102 for_each_cpu(neigh, mask) { in cpu_rmap_copy_neigh()
104 rmap->near[neigh].dist <= dist) { in cpu_rmap_copy_neigh()
105 rmap->near[cpu].index = rmap->near[neigh].index; in cpu_rmap_copy_neigh()
/linux-4.1.27/net/bridge/
Dbr_netfilter.c311 struct neighbour *neigh; in br_nf_pre_routing_finish_bridge() local
318 neigh = dst_neigh_lookup_skb(dst, skb); in br_nf_pre_routing_finish_bridge()
319 if (neigh) { in br_nf_pre_routing_finish_bridge()
323 if (neigh->hh.hh_len) { in br_nf_pre_routing_finish_bridge()
324 neigh_hh_bridge(&neigh->hh, skb); in br_nf_pre_routing_finish_bridge()
339 ret = neigh->output(neigh, skb); in br_nf_pre_routing_finish_bridge()
341 neigh_release(neigh); in br_nf_pre_routing_finish_bridge()
/linux-4.1.27/net/ethernet/
Deth.c222 int eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh, __be16 type) in eth_header_cache() argument
225 const struct net_device *dev = neigh->dev; in eth_header_cache()
235 memcpy(eth->h_dest, neigh->ha, ETH_ALEN); in eth_header_cache()
/linux-4.1.27/drivers/infiniband/hw/nes/
Dnes.c226 struct neighbour *neigh = ptr; in nes_net_event() local
237 if (netdev == neigh->dev) { in nes_net_event()
242 if (neigh->nud_state & NUD_VALID) { in nes_net_event()
243 nes_manage_arp_cache(neigh->dev, neigh->ha, in nes_net_event()
244 ntohl(*(__be32 *)neigh->primary_key), NES_ARP_ADD); in nes_net_event()
246 nes_manage_arp_cache(neigh->dev, neigh->ha, in nes_net_event()
247 ntohl(*(__be32 *)neigh->primary_key), NES_ARP_DELETE); in nes_net_event()
Dnes_cm.c1519 struct neighbour *neigh; in nes_addr_resolve_neigh() local
1536 neigh = neigh_lookup(&arp_tbl, &rt->rt_gateway, netdev); in nes_addr_resolve_neigh()
1539 if (neigh) { in nes_addr_resolve_neigh()
1540 if (neigh->nud_state & NUD_VALID) { in nes_addr_resolve_neigh()
1543 neigh->ha, ntohl(rt->rt_gateway)); in nes_addr_resolve_neigh()
1546 if (ether_addr_equal(nesadapter->arp_table[arpindex].mac_addr, neigh->ha)) { in nes_addr_resolve_neigh()
1556 nes_manage_arp_cache(nesvnic->netdev, neigh->ha, in nes_addr_resolve_neigh()
1561 neigh_event_send(neigh, NULL); in nes_addr_resolve_neigh()
1567 if (neigh) in nes_addr_resolve_neigh()
1568 neigh_release(neigh); in nes_addr_resolve_neigh()
/linux-4.1.27/drivers/net/plip/
Dplip.c153 static int plip_hard_header_cache(const struct neighbour *neigh,
1027 static int plip_hard_header_cache(const struct neighbour *neigh, in plip_hard_header_cache() argument
1032 ret = eth_header_cache(neigh, hh, type); in plip_hard_header_cache()
1038 plip_rewrite_address (neigh->dev, eth); in plip_hard_header_cache()
/linux-4.1.27/drivers/infiniband/core/
Daddr.c526 struct neighbour *neigh = ctx; in netevent_callback() local
528 if (neigh->nud_state & NUD_VALID) { in netevent_callback()
/linux-4.1.27/include/linux/
Detherdevice.h39 int eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh,
Dnetdevice.h264 int (*cache)(const struct neighbour *neigh, struct hh_cache *hh, __be16 type);
/linux-4.1.27/drivers/firewire/
Dnet.c240 static int fwnet_header_cache(const struct neighbour *neigh, in fwnet_header_cache() argument
248 net = neigh->dev; in fwnet_header_cache()
251 memcpy(h->h_dest, neigh->ha, net->addr_len); in fwnet_header_cache()
/linux-4.1.27/drivers/infiniband/hw/cxgb4/
Dcm.c3666 struct neighbour *neigh; in rx_pkt() local
3721 neigh = dst_neigh_lookup_skb(dst, skb); in rx_pkt()
3723 if (!neigh) { in rx_pkt()
3729 if (neigh->dev->flags & IFF_LOOPBACK) { in rx_pkt()
3731 e = cxgb4_l2t_get(dev->rdev.lldi.l2t, neigh, in rx_pkt()
3737 pdev = get_real_dev(neigh->dev); in rx_pkt()
3738 e = cxgb4_l2t_get(dev->rdev.lldi.l2t, neigh, in rx_pkt()
3743 neigh_release(neigh); in rx_pkt()
/linux-4.1.27/drivers/isdn/i4l/
Disdn_net.c1954 static int isdn_header_cache(const struct neighbour *neigh, struct hh_cache *hh, in isdn_header_cache() argument
1957 const struct net_device *dev = neigh->dev; in isdn_header_cache()
1961 return eth_header_cache(neigh, hh, type); in isdn_header_cache()
/linux-4.1.27/Documentation/networking/
Ddecnet.txt57 interface then you won't see any entries in /proc/net/neigh for the local
Dip-sysctl.txt72 neigh/default/gc_thresh1 - INTEGER
77 neigh/default/gc_thresh2 - INTEGER
83 neigh/default/gc_thresh3 - INTEGER
89 neigh/default/unres_qlen_bytes - INTEGER
96 neigh/default/unres_qlen - INTEGER