• Home
  • Raw
  • Download

Lines Matching refs:neigh

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()
993 neigh_release(neigh); in dn_route_output_slow()
994 neigh = NULL; in dn_route_output_slow()
998 if (dn_dev_islocal(neigh->dev, fl.fld_dst)) { in dn_route_output_slow()
1002 dev_out = neigh->dev; in dn_route_output_slow()
1026 neigh = neigh_clone(dn_db->router); in dn_route_output_slow()
1027 BUG_ON(neigh && neigh->dev != dev_out); in dn_route_output_slow()
1031 if (neigh) in dn_route_output_slow()
1032 gateway = ((struct dn_neigh *)neigh)->addr; in dn_route_output_slow()
1110 rt->u.dst.neighbour = neigh; in dn_route_output_slow()
1111 neigh = NULL; in dn_route_output_slow()
1128 if (neigh) in dn_route_output_slow()
1129 neigh_release(neigh); in dn_route_output_slow()
1211 struct neighbour *neigh = NULL; in dn_route_input_slow() local
1335 neigh = neigh_clone(dn_db->router); in dn_route_input_slow()
1336 if (neigh) { in dn_route_input_slow()
1337 gateway = ((struct dn_neigh *)neigh)->addr; in dn_route_input_slow()
1371 rt->u.dst.neighbour = neigh; in dn_route_input_slow()
1402 if (neigh) in dn_route_input_slow()
1403 neigh_release(neigh); in dn_route_input_slow()