Lines Matching refs:rinfo
759 struct route_info *rinfo = (struct route_info *) opt; in rt6_route_rcv() local
770 if (rinfo->length > 3) { in rt6_route_rcv()
772 } else if (rinfo->prefix_len > 128) { in rt6_route_rcv()
774 } else if (rinfo->prefix_len > 64) { in rt6_route_rcv()
775 if (rinfo->length < 2) { in rt6_route_rcv()
778 } else if (rinfo->prefix_len > 0) { in rt6_route_rcv()
779 if (rinfo->length < 1) { in rt6_route_rcv()
784 pref = rinfo->route_pref; in rt6_route_rcv()
788 lifetime = addrconf_timeout_fixup(ntohl(rinfo->lifetime), HZ); in rt6_route_rcv()
790 if (rinfo->length == 3) in rt6_route_rcv()
791 prefix = (struct in6_addr *)rinfo->prefix; in rt6_route_rcv()
795 (struct in6_addr *)rinfo->prefix, in rt6_route_rcv()
796 rinfo->prefix_len); in rt6_route_rcv()
800 if (rinfo->prefix_len == 0) in rt6_route_rcv()
803 rt = rt6_get_route_info(net, prefix, rinfo->prefix_len, in rt6_route_rcv()
812 rt = rt6_add_route_info(net, prefix, rinfo->prefix_len, gwaddr, dev->ifindex, in rt6_route_rcv()