• Home
  • Raw
  • Download

Lines Matching refs:daddr

126 					     const void *daddr);
319 return ((fl1->daddr ^ fl2->daddr) | in compare_keys()
873 const void *daddr) in dn_dst_neigh_lookup() argument
875 return __neigh_lookup_errno(&dn_neigh_table, daddr, dst->dev); in dn_dst_neigh_lookup()
922 static __le16 dnet_select_source(const struct net_device *dev, __le16 daddr, int scope) in dnet_select_source() argument
937 if (!daddr) { in dnet_select_source()
941 ret = dn_match_addr(daddr, ifa->ifa_local); in dnet_select_source()
957 static inline __le16 dn_fib_rules_map_destination(__le16 daddr, struct dn_fib_res *res) in dn_fib_rules_map_destination() argument
960 return (daddr&~mask)|res->fi->fib_nh->nh_gw; in dn_fib_rules_map_destination()
966 .daddr = oldflp->daddr, in dn_route_output_slow()
986 " iif=%d oif=%d\n", le16_to_cpu(oldflp->daddr), in dn_route_output_slow()
1020 oldflp->daddr && in dn_route_output_slow()
1021 !dn_dev_islocal(dev, oldflp->daddr)) in dn_route_output_slow()
1036 if (!fld.daddr) { in dn_route_output_slow()
1037 fld.daddr = fld.saddr; in dn_route_output_slow()
1047 if (!fld.daddr) { in dn_route_output_slow()
1048 fld.daddr = in dn_route_output_slow()
1051 if (!fld.daddr) in dn_route_output_slow()
1063 le16_to_cpu(fld.daddr), le16_to_cpu(fld.saddr), in dn_route_output_slow()
1087 neigh = neigh_lookup_nodev(&dn_neigh_table, &init_net, &fld.daddr); in dn_route_output_slow()
1099 if (dn_dev_islocal(neigh->dev, fld.daddr)) { in dn_route_output_slow()
1121 if (dn_dev_islocal(dev_out, fld.daddr)) { in dn_route_output_slow()
1137 gateway = fld.daddr; in dn_route_output_slow()
1156 fld.saddr = fld.daddr; in dn_route_output_slow()
1198 rt->fld.daddr = oldflp->daddr; in dn_route_output_slow()
1204 rt->rt_daddr = fld.daddr; in dn_route_output_slow()
1205 rt->rt_gateway = gateway ? gateway : fld.daddr; in dn_route_output_slow()
1208 rt->rt_dst_map = fld.daddr; in dn_route_output_slow()
1225 hash = dn_hash(rt->fld.saddr, rt->fld.daddr); in dn_route_output_slow()
1258 unsigned int hash = dn_hash(flp->saddr, flp->daddr); in __dn_route_output_key()
1265 if ((flp->daddr == rt->fld.daddr) && in __dn_route_output_key()
1327 .daddr = cb->dst, in dn_route_input_slow()
1384 fld.daddr = dn_fib_rules_map_destination(fld.daddr, &res); in dn_route_input_slow()
1393 gateway = fld.daddr; in dn_route_input_slow()
1429 fld.daddr = cb->src; in dn_route_input_slow()
1462 rt->rt_daddr = fld.daddr; in dn_route_input_slow()
1463 rt->rt_gateway = fld.daddr; in dn_route_input_slow()
1468 rt->rt_dst_map = fld.daddr; in dn_route_input_slow()
1472 rt->fld.daddr = cb->dst; in dn_route_input_slow()
1501 hash = dn_hash(rt->fld.saddr, rt->fld.daddr); in dn_route_input_slow()
1542 (rt->fld.daddr == cb->dst) && in dn_route_input()
1675 fld.daddr = nla_get_le16(tb[RTA_DST]); in dn_cache_getroute()
1690 cb->dst = fld.daddr; in dn_cache_getroute()