Lines Matching refs:rinfo
943 struct route_info *rinfo = (struct route_info *) opt; in rt6_route_rcv() local
954 if (rinfo->length > 3) { in rt6_route_rcv()
956 } else if (rinfo->prefix_len > 128) { in rt6_route_rcv()
958 } else if (rinfo->prefix_len > 64) { in rt6_route_rcv()
959 if (rinfo->length < 2) { in rt6_route_rcv()
962 } else if (rinfo->prefix_len > 0) { in rt6_route_rcv()
963 if (rinfo->length < 1) { in rt6_route_rcv()
968 pref = rinfo->route_pref; in rt6_route_rcv()
972 lifetime = addrconf_timeout_fixup(ntohl(rinfo->lifetime), HZ); in rt6_route_rcv()
974 if (rinfo->length == 3) in rt6_route_rcv()
975 prefix = (struct in6_addr *)rinfo->prefix; in rt6_route_rcv()
979 (struct in6_addr *)rinfo->prefix, in rt6_route_rcv()
980 rinfo->prefix_len); in rt6_route_rcv()
984 if (rinfo->prefix_len == 0) in rt6_route_rcv()
987 rt = rt6_get_route_info(net, prefix, rinfo->prefix_len, in rt6_route_rcv()
996 rt = rt6_add_route_info(net, prefix, rinfo->prefix_len, gwaddr, in rt6_route_rcv()