/linux-4.4.14/net/rose/ |
D | rose_link.c | 33 static void rose_transmit_restart_confirmation(struct rose_neigh *neigh); 34 static void rose_transmit_restart_request(struct rose_neigh *neigh); 36 void rose_start_ftimer(struct rose_neigh *neigh) in rose_start_ftimer() argument 38 del_timer(&neigh->ftimer); in rose_start_ftimer() 40 neigh->ftimer.data = (unsigned long)neigh; in rose_start_ftimer() 41 neigh->ftimer.function = &rose_ftimer_expiry; in rose_start_ftimer() 42 neigh->ftimer.expires = in rose_start_ftimer() 45 add_timer(&neigh->ftimer); in rose_start_ftimer() 48 static void rose_start_t0timer(struct rose_neigh *neigh) in rose_start_t0timer() argument 50 del_timer(&neigh->t0timer); in rose_start_t0timer() [all …]
|
D | af_rose.c | 165 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() 276 struct sock *rose_find_socket(unsigned int lci, struct rose_neigh *neigh) in rose_find_socket() argument 284 if (rose->lci == lci && rose->neighbour == neigh) in rose_find_socket() 296 unsigned int rose_new_lci(struct rose_neigh *neigh) in rose_new_lci() argument 300 if (neigh->dce_mode) { in rose_new_lci() 302 if (rose_find_socket(lci, neigh) == NULL && rose_route_free_lci(lci, neigh) == NULL) in rose_new_lci() 306 if (rose_find_socket(lci, neigh) == NULL && rose_route_free_lci(lci, neigh) == NULL) in rose_new_lci() 969 int rose_rx_call_request(struct sk_buff *skb, struct net_device *dev, struct rose_neigh *neigh, uns… in rose_rx_call_request() argument 987 rose_transmit_clear_request(neigh, lci, ROSE_INVALID_FACILITY, 76); in rose_rx_call_request() [all …]
|
D | rose_loopback.c | 35 int rose_loopback_queue(struct sk_buff *skb, struct rose_neigh *neigh) in rose_loopback_queue() argument
|
D | rose_route.c | 660 struct rose_route *rose_route_free_lci(unsigned int lci, struct rose_neigh *neigh) in rose_route_free_lci() argument 665 if ((rose_route->neigh1 == neigh && rose_route->lci1 == lci) || in rose_route_free_lci() 666 (rose_route->neigh2 == neigh && rose_route->lci2 == lci)) in rose_route_free_lci()
|
/linux-4.4.14/net/decnet/ |
D | dn_neigh.c | 53 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 …]
|
D | dn_route.c | 973 struct neighbour *neigh = NULL; in dn_route_output_slow() local 1085 neigh = neigh_lookup_nodev(&dn_neigh_table, &init_net, &fld.daddr); in dn_route_output_slow() 1086 if (neigh) { in dn_route_output_slow() 1088 (neigh->dev->ifindex != oldflp->flowidn_oif)) || in dn_route_output_slow() 1090 (!dn_dev_islocal(neigh->dev, in dn_route_output_slow() 1092 neigh_release(neigh); in dn_route_output_slow() 1093 neigh = NULL; in dn_route_output_slow() 1097 if (dn_dev_islocal(neigh->dev, fld.daddr)) { in dn_route_output_slow() 1101 dev_out = neigh->dev; in dn_route_output_slow() 1127 neigh = neigh_clone(dn_db->router); in dn_route_output_slow() [all …]
|
/linux-4.4.14/net/core/ |
D | neighbour.c | 56 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() 683 void neigh_destroy(struct neighbour *neigh) in neigh_destroy() argument 685 struct net_device *dev = neigh->dev; in neigh_destroy() 687 NEIGH_CACHE_STAT_INC(neigh->tbl, destroys); in neigh_destroy() [all …]
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/ |
D | l2t.c | 77 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 …]
|
D | l2t.h | 64 struct neighbour *neigh; /* associated neighbour */ member 111 void t3_l2t_update(struct t3cdev *dev, struct neighbour *neigh);
|
D | cxgb3_offload.c | 66 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 …]
|
D | t3cdev.h | 61 void (*neigh_update)(struct t3cdev *dev, struct neighbour *neigh);
|
/linux-4.4.14/drivers/infiniband/ulp/ipoib/ |
D | ipoib_main.c | 670 struct ipoib_neigh *neigh, *tn; in path_rec_completion() local 705 list_for_each_entry_safe(neigh, tn, &path->neigh_list, list) { in path_rec_completion() 706 if (neigh->ah) { in path_rec_completion() 707 WARN_ON(neigh->ah != old_ah); in path_rec_completion() 715 ipoib_put_ah(neigh->ah); in path_rec_completion() 718 neigh->ah = path->ah; in path_rec_completion() 720 if (ipoib_cm_enabled(dev, neigh->daddr)) { in path_rec_completion() 721 if (!ipoib_cm_get(neigh)) in path_rec_completion() 722 ipoib_cm_set(neigh, ipoib_cm_create_tx(dev, in path_rec_completion() 724 neigh)); in path_rec_completion() [all …]
|
D | ipoib.h | 240 struct ipoib_neigh *neigh; member 440 void ipoib_neigh_dtor(struct ipoib_neigh *neigh); 441 static inline void ipoib_neigh_put(struct ipoib_neigh *neigh) in ipoib_neigh_put() argument 443 if (atomic_dec_and_test(&neigh->refcnt)) in ipoib_neigh_put() 444 ipoib_neigh_dtor(neigh); in ipoib_neigh_put() 449 void ipoib_neigh_free(struct ipoib_neigh *neigh); 606 static inline int ipoib_cm_up(struct ipoib_neigh *neigh) in ipoib_cm_up() argument 609 return test_bit(IPOIB_FLAG_OPER_UP, &neigh->cm->flags); in ipoib_cm_up() 612 static inline struct ipoib_cm_tx *ipoib_cm_get(struct ipoib_neigh *neigh) in ipoib_cm_get() argument 614 return neigh->cm; in ipoib_cm_get() [all …]
|
D | ipoib_cm.c | 806 struct ipoib_neigh *neigh; in ipoib_cm_handle_tx_wc() local 813 neigh = tx->neigh; in ipoib_cm_handle_tx_wc() 815 if (neigh) { in ipoib_cm_handle_tx_wc() 816 neigh->cm = NULL; in ipoib_cm_handle_tx_wc() 817 ipoib_neigh_free(neigh); in ipoib_cm_handle_tx_wc() 819 tx->neigh = NULL; in ipoib_cm_handle_tx_wc() 996 if (p->neigh) in ipoib_cm_rep_handler() 997 while ((skb = __skb_dequeue(&p->neigh->queue))) in ipoib_cm_rep_handler() 1221 struct ipoib_neigh *neigh; in ipoib_cm_tx_handler() local 1243 neigh = tx->neigh; in ipoib_cm_tx_handler() [all …]
|
D | ipoib_multicast.c | 766 struct ipoib_neigh *neigh; in ipoib_mcast_send() local 769 neigh = ipoib_neigh_get(dev, daddr); in ipoib_mcast_send() 771 if (!neigh) { in ipoib_mcast_send() 772 neigh = ipoib_neigh_alloc(daddr, dev); in ipoib_mcast_send() 773 if (neigh) { in ipoib_mcast_send() 775 neigh->ah = mcast->ah; in ipoib_mcast_send() 776 list_add_tail(&neigh->list, &mcast->neigh_list); in ipoib_mcast_send() 781 if (neigh) in ipoib_mcast_send() 782 ipoib_neigh_put(neigh); in ipoib_mcast_send()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | l2t.c | 131 if (e->neigh) in neigh_replace() 132 neigh_release(e->neigh); in neigh_replace() 133 e->neigh = n; in neigh_replace() 160 if (e->neigh && !(e->neigh->dev->flags & IFF_LOOPBACK)) in write_l2e() 161 memcpy(e->dmac, e->neigh->ha, sizeof(e->dmac)); in write_l2e() 212 e->state = (e->neigh->nud_state & NUD_STALE) ? in do_l2t_write_rpl() 241 neigh_event_send(e->neigh, NULL); in cxgb4_l2t_send() 260 !neigh_event_send(e->neigh, NULL)) { in cxgb4_l2t_send() 317 if (e->neigh) { in t4_l2e_free() 318 neigh_release(e->neigh); in t4_l2e_free() [all …]
|
D | l2t.h | 76 struct neighbour *neigh; /* associated neighbour */ member 112 struct l2t_entry *cxgb4_l2t_get(struct l2t_data *d, struct neighbour *neigh, 117 void t4_l2t_update(struct adapter *adap, struct neighbour *neigh);
|
D | cxgb4_main.c | 2202 static void check_neigh_update(struct neighbour *neigh) in check_neigh_update() argument 2205 const struct net_device *netdev = neigh->dev; in check_neigh_update() 2211 t4_l2t_update(dev_get_drvdata(parent), neigh); in check_neigh_update()
|
/linux-4.4.14/net/ipv4/ |
D | arp.c | 128 static int arp_constructor(struct neighbour *neigh); 129 static void arp_solicit(struct neighbour *neigh, struct sk_buff *skb); 130 static void arp_error_report(struct neighbour *neigh, struct sk_buff *skb); 219 static bool arp_key_eq(const struct neighbour *neigh, const void *pkey) in arp_key_eq() argument 221 return neigh_key_eq32(neigh, pkey); in arp_key_eq() 224 static int arp_constructor(struct neighbour *neigh) in arp_constructor() argument 226 __be32 addr = *(__be32 *)neigh->primary_key; in arp_constructor() 227 struct net_device *dev = neigh->dev; in arp_constructor() 238 neigh->type = inet_addr_type_dev_table(dev_net(dev), dev, addr); in arp_constructor() 241 __neigh_parms_put(neigh->parms); in arp_constructor() [all …]
|
D | ip_tunnel.c | 684 struct neighbour *neigh; in ip_tunnel_xmit() local 688 neigh = dst_neigh_lookup(skb_dst(skb), in ip_tunnel_xmit() 690 if (!neigh) in ip_tunnel_xmit() 693 addr6 = (const struct in6_addr *)&neigh->primary_key; in ip_tunnel_xmit() 707 neigh_release(neigh); in ip_tunnel_xmit()
|
D | ip_output.c | 181 struct neighbour *neigh; in ip_finish_output2() local 206 neigh = __ipv4_neigh_lookup_noref(dev, nexthop); in ip_finish_output2() 207 if (unlikely(!neigh)) in ip_finish_output2() 208 neigh = __neigh_create(&arp_tbl, &nexthop, dev, false); in ip_finish_output2() 209 if (!IS_ERR(neigh)) { in ip_finish_output2() 210 int res = dst_neigh_output(dst, neigh, skb); in ip_finish_output2()
|
/linux-4.4.14/net/ipv6/ |
D | ndisc.c | 88 static bool ndisc_key_eq(const struct neighbour *neigh, const void *pkey); 89 static int ndisc_constructor(struct neighbour *neigh); 90 static void ndisc_solicit(struct neighbour *neigh, struct sk_buff *skb); 91 static void ndisc_error_report(struct neighbour *neigh, struct sk_buff *skb); 307 static int ndisc_constructor(struct neighbour *neigh) in ndisc_constructor() argument 309 struct in6_addr *addr = (struct in6_addr *)&neigh->primary_key; in ndisc_constructor() 310 struct net_device *dev = neigh->dev; in ndisc_constructor() 321 __neigh_parms_put(neigh->parms); in ndisc_constructor() 322 neigh->parms = neigh_parms_clone(parms); in ndisc_constructor() 324 neigh->type = is_multicast ? RTN_MULTICAST : RTN_UNICAST; in ndisc_constructor() [all …]
|
D | route.c | 534 struct neighbour *neigh; in rt6_probe() local 546 neigh = __ipv6_neigh_lookup_noref(rt->dst.dev, &rt->rt6i_gateway); in rt6_probe() 547 if (neigh) { in rt6_probe() 548 if (neigh->nud_state & NUD_VALID) in rt6_probe() 552 write_lock(&neigh->lock); in rt6_probe() 553 if (!(neigh->nud_state & NUD_VALID) && in rt6_probe() 555 neigh->updated + in rt6_probe() 559 __neigh_set_probe_once(neigh); in rt6_probe() 561 write_unlock(&neigh->lock); in rt6_probe() 599 struct neighbour *neigh; in rt6_check_neigh() local [all …]
|
D | sit.c | 835 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()
|
D | ip6_output.c | 64 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()
|
D | ip6_fib.c | 1758 struct neighbour *neigh; in fib6_age() local 1761 neigh = dst_neigh_lookup(&rt->dst, &rt->rt6i_gateway); in fib6_age() 1762 if (neigh) { in fib6_age() 1763 neigh_flags = neigh->flags; in fib6_age() 1764 neigh_release(neigh); in fib6_age()
|
D | ip6_tunnel.c | 1052 struct neighbour *neigh; in ip6_tnl_xmit2() local 1058 neigh = dst_neigh_lookup(skb_dst(skb), in ip6_tnl_xmit2() 1060 if (!neigh) in ip6_tnl_xmit2() 1063 addr6 = (struct in6_addr *)&neigh->primary_key; in ip6_tnl_xmit2() 1070 neigh_release(neigh); in ip6_tnl_xmit2()
|
/linux-4.4.14/net/atm/ |
D | clip.c | 77 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 …]
|
D | proc.c | 175 dev = clip_vcc->entry ? clip_vcc->entry->neigh->dev : NULL; in pvc_info()
|
/linux-4.4.14/include/net/ |
D | neighbour.h | 315 void neigh_destroy(struct neighbour *neigh); 316 int __neigh_event_send(struct neighbour *neigh, struct sk_buff *skb); 317 int neigh_update(struct neighbour *neigh, const u8 *lladdr, u8 new, u32 flags); 318 void __neigh_set_probe_once(struct neighbour *neigh); 321 int neigh_resolve_output(struct neighbour *neigh, struct sk_buff *skb); 322 int neigh_connected_output(struct neighbour *neigh, struct sk_buff *skb); 323 int neigh_direct_output(struct neighbour *neigh, struct sk_buff *skb); 409 static inline void neigh_release(struct neighbour *neigh) in neigh_release() argument 411 if (atomic_dec_and_test(&neigh->refcnt)) in neigh_release() 412 neigh_destroy(neigh); in neigh_release() [all …]
|
D | netevent.h | 20 struct neighbour *neigh; member
|
D | atmclip.h | 41 struct neighbour *neigh; /* neighbour back-pointer */ member
|
/linux-4.4.14/net/batman-adv/ |
D | originator.c | 351 batadv_neigh_ifinfo_get(struct batadv_neigh_node *neigh, in batadv_neigh_ifinfo_get() argument 358 hlist_for_each_entry_rcu(tmp_neigh_ifinfo, &neigh->ifinfo_list, in batadv_neigh_ifinfo_get() 386 batadv_neigh_ifinfo_new(struct batadv_neigh_node *neigh, in batadv_neigh_ifinfo_new() argument 391 spin_lock_bh(&neigh->ifinfo_lock); in batadv_neigh_ifinfo_new() 393 neigh_ifinfo = batadv_neigh_ifinfo_get(neigh, if_outgoing); in batadv_neigh_ifinfo_new() 411 hlist_add_head_rcu(&neigh_ifinfo->list, &neigh->ifinfo_list); in batadv_neigh_ifinfo_new() 414 spin_unlock_bh(&neigh->ifinfo_lock); in batadv_neigh_ifinfo_new() 721 struct batadv_neigh_node *neigh) in batadv_purge_neigh_ifinfo() argument 727 spin_lock_bh(&neigh->ifinfo_lock); in batadv_purge_neigh_ifinfo() 731 &neigh->ifinfo_list, list) { in batadv_purge_neigh_ifinfo() [all …]
|
D | originator.h | 52 batadv_neigh_ifinfo_new(struct batadv_neigh_node *neigh, 55 batadv_neigh_ifinfo_get(struct batadv_neigh_node *neigh,
|
D | types.h | 1168 void (*bat_neigh_free)(struct batadv_neigh_node *neigh);
|
/linux-4.4.14/lib/ |
D | cpu_rmap.c | 100 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.4.14/drivers/net/ |
D | vrf.c | 409 struct neighbour *neigh; in vrf_finish_output6() local 418 neigh = __ipv6_neigh_lookup_noref(dst->dev, nexthop); in vrf_finish_output6() 419 if (unlikely(!neigh)) in vrf_finish_output6() 420 neigh = __neigh_create(&nd_tbl, nexthop, dst->dev, false); in vrf_finish_output6() 421 if (!IS_ERR(neigh)) { in vrf_finish_output6() 422 ret = dst_neigh_output(dst, neigh, skb); in vrf_finish_output6() 520 struct neighbour *neigh; in vrf_finish_output() local 543 neigh = __ipv4_neigh_lookup_noref(dev, nexthop); in vrf_finish_output() 544 if (unlikely(!neigh)) in vrf_finish_output() 545 neigh = __neigh_create(&arp_tbl, &nexthop, dev, false); in vrf_finish_output() [all …]
|
/linux-4.4.14/net/bridge/ |
D | br_netfilter_hooks.c | 258 struct neighbour *neigh; in br_nf_pre_routing_finish_bridge() local 265 neigh = dst_neigh_lookup_skb(dst, skb); in br_nf_pre_routing_finish_bridge() 266 if (neigh) { in br_nf_pre_routing_finish_bridge() 270 if (neigh->hh.hh_len) { in br_nf_pre_routing_finish_bridge() 271 neigh_hh_bridge(&neigh->hh, skb); in br_nf_pre_routing_finish_bridge() 286 ret = neigh->output(neigh, skb); in br_nf_pre_routing_finish_bridge() 288 neigh_release(neigh); in br_nf_pre_routing_finish_bridge()
|
/linux-4.4.14/net/ethernet/ |
D | eth.c | 224 int eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh, __be16 type) in eth_header_cache() argument 227 const struct net_device *dev = neigh->dev; in eth_header_cache() 237 memcpy(eth->h_dest, neigh->ha, ETH_ALEN); in eth_header_cache()
|
/linux-4.4.14/drivers/infiniband/hw/nes/ |
D | nes.c | 226 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()
|
D | nes_cm.c | 1519 struct neighbour *neigh; in nes_addr_resolve_neigh() local 1537 neigh = dst_neigh_lookup(&rt->dst, &dst_ipaddr); in nes_addr_resolve_neigh() 1540 if (neigh) { in nes_addr_resolve_neigh() 1541 if (neigh->nud_state & NUD_VALID) { in nes_addr_resolve_neigh() 1544 neigh->ha, ntohl(rt->rt_gateway)); in nes_addr_resolve_neigh() 1547 if (ether_addr_equal(nesadapter->arp_table[arpindex].mac_addr, neigh->ha)) { in nes_addr_resolve_neigh() 1557 nes_manage_arp_cache(nesvnic->netdev, neigh->ha, in nes_addr_resolve_neigh() 1562 neigh_event_send(neigh, NULL); in nes_addr_resolve_neigh() 1568 if (neigh) in nes_addr_resolve_neigh() 1569 neigh_release(neigh); in nes_addr_resolve_neigh()
|
/linux-4.4.14/drivers/net/plip/ |
D | plip.c | 153 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.4.14/drivers/infiniband/core/ |
D | addr.c | 528 struct neighbour *neigh = ctx; in netevent_callback() local 530 if (neigh->nud_state & NUD_VALID) { in netevent_callback()
|
/linux-4.4.14/include/linux/ |
D | etherdevice.h | 39 int eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh,
|
D | netdevice.h | 264 int (*cache)(const struct neighbour *neigh, struct hh_cache *hh, __be16 type);
|
/linux-4.4.14/Documentation/networking/ |
D | vrf.txt | 195 $ ip [-6] neigh show master VRF-NAME 198 $ ip neigh show master vrf-red 202 $ ip -6 neigh show master vrf-red
|
D | decnet.txt | 57 interface then you won't see any entries in /proc/net/neigh for the local
|
D | ip-sysctl.txt | 72 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
|
/linux-4.4.14/drivers/firewire/ |
D | net.c | 240 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.4.14/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 3794 struct neighbour *neigh; in rx_pkt() local 3862 neigh = dst_neigh_lookup_skb(dst, skb); in rx_pkt() 3864 if (!neigh) { in rx_pkt() 3870 if (neigh->dev->flags & IFF_LOOPBACK) { in rx_pkt() 3872 e = cxgb4_l2t_get(dev->rdev.lldi.l2t, neigh, in rx_pkt() 3878 pdev = get_real_dev(neigh->dev); in rx_pkt() 3879 e = cxgb4_l2t_get(dev->rdev.lldi.l2t, neigh, in rx_pkt() 3884 neigh_release(neigh); in rx_pkt()
|
/linux-4.4.14/drivers/isdn/i4l/ |
D | isdn_net.c | 1954 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()
|