Lines Matching refs:nh_gw
182 nh->nh_gw != onh->nh_gw ||
266 nh->nh_gw == gw &&
358 n = neigh_lookup(&arp_tbl, &fi->fib_nh[0].nh_gw, fi->fib_dev);
409 nexthop_nh->nh_gw = nla ? nla_get_be32(nla) : 0;
436 (!cfg->fc_gw || cfg->fc_gw == fi->fib_nh->nh_gw))
462 if (nla && nla_get_be32(nla) != nh->nh_gw)
529 if (nh->nh_gw) {
537 if (inet_addr_type(net, nh->nh_gw) != RTN_UNICAST)
552 .daddr = nh->nh_gw,
764 if (cfg->fc_gw && fi->fib_nh->nh_gw != cfg->fc_gw)
777 nh->nh_gw = cfg->fc_gw;
800 if (nhs != 1 || nh->nh_gw)
982 if (fi->fib_nh->nh_gw)
983 NLA_PUT_BE32(skb, RTA_GATEWAY, fi->fib_nh->nh_gw);
1010 if (nh->nh_gw)
1011 NLA_PUT_BE32(skb, RTA_GATEWAY, nh->nh_gw);