Lines Matching refs:rinfo
702 struct route_info *rinfo = (struct route_info *) opt; in rt6_route_rcv() local
713 if (rinfo->length > 3) { in rt6_route_rcv()
715 } else if (rinfo->prefix_len > 128) { in rt6_route_rcv()
717 } else if (rinfo->prefix_len > 64) { in rt6_route_rcv()
718 if (rinfo->length < 2) { in rt6_route_rcv()
721 } else if (rinfo->prefix_len > 0) { in rt6_route_rcv()
722 if (rinfo->length < 1) { in rt6_route_rcv()
727 pref = rinfo->route_pref; in rt6_route_rcv()
731 lifetime = addrconf_timeout_fixup(ntohl(rinfo->lifetime), HZ); in rt6_route_rcv()
733 if (rinfo->length == 3) in rt6_route_rcv()
734 prefix = (struct in6_addr *)rinfo->prefix; in rt6_route_rcv()
738 (struct in6_addr *)rinfo->prefix, in rt6_route_rcv()
739 rinfo->prefix_len); in rt6_route_rcv()
743 if (rinfo->prefix_len == 0) in rt6_route_rcv()
746 rt = rt6_get_route_info(net, prefix, rinfo->prefix_len, in rt6_route_rcv()
755 rt = rt6_add_route_info(net, prefix, rinfo->prefix_len, gwaddr, dev->ifindex, in rt6_route_rcv()