/net/rose/ |
D | rose_link.c | 34 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 …]
|
D | af_rose.c | 167 void rose_kill_by_neigh(struct rose_neigh *neigh) in rose_kill_by_neigh() argument 176 if (rose->neighbour == neigh) { in rose_kill_by_neigh() 280 struct sock *rose_find_socket(unsigned int lci, struct rose_neigh *neigh) in rose_find_socket() argument 289 if (rose->lci == lci && rose->neighbour == neigh) in rose_find_socket() 301 unsigned int rose_new_lci(struct rose_neigh *neigh) in rose_new_lci() argument 305 if (neigh->dce_mode) { in rose_new_lci() 307 if (rose_find_socket(lci, neigh) == NULL && rose_route_free_lci(lci, neigh) == NULL) in rose_new_lci() 311 if (rose_find_socket(lci, neigh) == NULL && rose_route_free_lci(lci, neigh) == NULL) in rose_new_lci() 982 int rose_rx_call_request(struct sk_buff *skb, struct net_device *dev, struct rose_neigh *neigh, uns… in rose_rx_call_request() argument 1000 rose_transmit_clear_request(neigh, lci, ROSE_INVALID_FACILITY, 76); in rose_rx_call_request() [all …]
|
D | rose_loopback.c | 34 int rose_loopback_queue(struct sk_buff *skb, struct rose_neigh *neigh) in rose_loopback_queue() argument
|
D | rose_route.c | 652 struct rose_route *rose_route_free_lci(unsigned int lci, struct rose_neigh *neigh) in rose_route_free_lci() argument 657 if ((rose_route->neigh1 == neigh && rose_route->lci1 == lci) || in rose_route_free_lci() 658 (rose_route->neigh2 == neigh && rose_route->lci2 == lci)) in rose_route_free_lci()
|
/net/decnet/ |
D | dn_neigh.c | 129 static int dn_neigh_construct(struct neighbour *neigh) in dn_neigh_construct() argument 131 struct net_device *dev = neigh->dev; in dn_neigh_construct() 132 struct dn_neigh *dn = (struct dn_neigh *)neigh; in dn_neigh_construct() 149 __neigh_parms_put(neigh->parms); in dn_neigh_construct() 150 neigh->parms = neigh_parms_clone(parms); in dn_neigh_construct() 153 neigh->ops = &dn_long_ops; in dn_neigh_construct() 155 neigh->ops = &dn_short_ops; in dn_neigh_construct() 159 neigh->ops = &dn_phase3_ops; in dn_neigh_construct() 161 neigh->nud_state = NUD_NOARP; in dn_neigh_construct() 162 neigh->output = neigh->ops->connected_output; in dn_neigh_construct() [all …]
|
D | dn_route.c | 689 struct neighbour *neigh; in dn_output() local 693 if ((neigh = dst->neighbour) == NULL) in dn_output() 710 return NF_HOOK(PF_DECnet, NF_DN_LOCAL_OUT, skb, NULL, dev, neigh->output); in dn_output() 727 struct neighbour *neigh = dst->neighbour; in dn_forward() local 759 return NF_HOOK(PF_DECnet, NF_DN_FORWARD, skb, dev, skb->dev, neigh->output); in dn_forward() 878 struct neighbour *neigh = NULL; in dn_route_output_slow() local 986 neigh = neigh_lookup_nodev(&dn_neigh_table, &init_net, &fl.fld_dst); in dn_route_output_slow() 987 if (neigh) { in dn_route_output_slow() 989 (neigh->dev->ifindex != oldflp->oif)) || in dn_route_output_slow() 991 (!dn_dev_islocal(neigh->dev, in dn_route_output_slow() [all …]
|
/net/core/ |
D | neighbour.c | 60 static void neigh_update_notify(struct neighbour *neigh); 107 static void neigh_cleanup_and_release(struct neighbour *neigh) in neigh_cleanup_and_release() argument 109 if (neigh->parms->neigh_cleanup) in neigh_cleanup_and_release() 110 neigh->parms->neigh_cleanup(neigh); in neigh_cleanup_and_release() 112 __neigh_notify(neigh, RTM_DELNEIGH, 0); in neigh_cleanup_and_release() 113 neigh_release(neigh); in neigh_cleanup_and_release() 622 void neigh_destroy(struct neighbour *neigh) in neigh_destroy() argument 626 NEIGH_CACHE_STAT_INC(neigh->tbl, destroys); in neigh_destroy() 628 if (!neigh->dead) { in neigh_destroy() 630 "Destroying alive neighbour %p\n", neigh); in neigh_destroy() [all …]
|
D | dst.c | 215 struct neighbour *neigh; in dst_destroy() local 221 neigh = dst->neighbour; in dst_destroy() 229 if (neigh) { in dst_destroy() 231 neigh_release(neigh); in dst_destroy()
|
/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); 229 static int arp_constructor(struct neighbour *neigh) in arp_constructor() argument 231 __be32 addr = *(__be32*)neigh->primary_key; in arp_constructor() 232 struct net_device *dev = neigh->dev; in arp_constructor() 243 neigh->type = inet_addr_type(dev_net(dev), addr); in arp_constructor() 246 __neigh_parms_put(neigh->parms); in arp_constructor() 247 neigh->parms = neigh_parms_clone(parms); in arp_constructor() 251 neigh->nud_state = NUD_NOARP; in arp_constructor() [all …]
|
D | ip_gre.c | 656 struct neighbour *neigh = skb->dst->neighbour; in ipgre_tunnel_xmit() local 658 if (neigh == NULL) in ipgre_tunnel_xmit() 661 addr6 = (struct in6_addr *)&neigh->primary_key; in ipgre_tunnel_xmit()
|
/net/ipv6/ |
D | ndisc.c | 94 static int ndisc_constructor(struct neighbour *neigh); 95 static void ndisc_solicit(struct neighbour *neigh, struct sk_buff *skb); 96 static void ndisc_error_report(struct neighbour *neigh, struct sk_buff *skb); 364 static int ndisc_constructor(struct neighbour *neigh) in ndisc_constructor() argument 366 struct in6_addr *addr = (struct in6_addr*)&neigh->primary_key; in ndisc_constructor() 367 struct net_device *dev = neigh->dev; in ndisc_constructor() 380 __neigh_parms_put(neigh->parms); in ndisc_constructor() 381 neigh->parms = neigh_parms_clone(parms); in ndisc_constructor() 384 neigh->type = is_multicast ? RTN_MULTICAST : RTN_UNICAST; in ndisc_constructor() 386 neigh->nud_state = NUD_NOARP; in ndisc_constructor() [all …]
|
D | route.c | 286 struct neighbour *neigh = rt ? rt->rt6i_nexthop : NULL; in rt6_probe() local 295 if (!neigh || (neigh->nud_state & NUD_VALID)) in rt6_probe() 297 read_lock_bh(&neigh->lock); in rt6_probe() 298 if (!(neigh->nud_state & NUD_VALID) && in rt6_probe() 299 time_after(jiffies, neigh->updated + rt->rt6i_idev->cnf.rtr_probe_interval)) { in rt6_probe() 303 neigh->updated = jiffies; in rt6_probe() 304 read_unlock_bh(&neigh->lock); in rt6_probe() 306 target = (struct in6_addr *)&neigh->primary_key; in rt6_probe() 310 read_unlock_bh(&neigh->lock); in rt6_probe() 335 struct neighbour *neigh = rt->rt6i_nexthop; in rt6_check_neigh() local [all …]
|
D | sit.c | 564 struct neighbour *neigh = NULL; in ipip6_tunnel_xmit() local 567 neigh = skb->dst->neighbour; in ipip6_tunnel_xmit() 569 if (neigh == NULL) { in ipip6_tunnel_xmit() 575 addr6 = (struct in6_addr*)&neigh->primary_key; in ipip6_tunnel_xmit() 589 struct neighbour *neigh = NULL; in ipip6_tunnel_xmit() local 592 neigh = skb->dst->neighbour; in ipip6_tunnel_xmit() 594 if (neigh == NULL) { in ipip6_tunnel_xmit() 600 addr6 = (struct in6_addr*)&neigh->primary_key; in ipip6_tunnel_xmit()
|
/net/atm/ |
D | clip.c | 75 entry->neigh); in link_vcc() 80 entry->neigh->used = jiffies; in link_vcc() 92 netif_tx_lock_bh(entry->neigh->dev); /* block clip_start_xmit() */ in unlink_clip_vcc() 93 entry->neigh->used = jiffies; in unlink_clip_vcc() 101 netif_wake_queue(entry->neigh->dev); in unlink_clip_vcc() 106 error = neigh_update(entry->neigh, NULL, NUD_NONE, in unlink_clip_vcc() 116 netif_tx_unlock_bh(entry->neigh->dev); in unlink_clip_vcc() 201 skb->dev = clip_vcc->entry ? clip_vcc->entry->neigh->dev : clip_devs; in clip_push() 256 static void clip_neigh_solicit(struct neighbour *neigh, struct sk_buff *skb) in clip_neigh_solicit() argument 258 pr_debug("clip_neigh_solicit (neigh %p, skb %p)\n", neigh, skb); in clip_neigh_solicit() [all …]
|
D | proc.c | 171 dev = clip_vcc->entry ? clip_vcc->entry->neigh->dev : NULL; in pvc_info()
|
/net/ethernet/ |
D | eth.c | 239 int eth_header_cache(const struct neighbour *neigh, struct hh_cache *hh) in eth_header_cache() argument 243 const struct net_device *dev = neigh->dev; in eth_header_cache() 253 memcpy(eth->h_dest, neigh->ha, ETH_ALEN); in eth_header_cache()
|