Lines Matching refs:rinfo
932 struct route_info *rinfo = (struct route_info *) opt;
943 if (rinfo->length > 3) {
945 } else if (rinfo->prefix_len > 128) {
947 } else if (rinfo->prefix_len > 64) {
948 if (rinfo->length < 2) {
951 } else if (rinfo->prefix_len > 0) {
952 if (rinfo->length < 1) {
957 pref = rinfo->route_pref;
961 lifetime = addrconf_timeout_fixup(ntohl(rinfo->lifetime), HZ);
963 if (rinfo->length == 3)
964 prefix = (struct in6_addr *)rinfo->prefix;
968 (struct in6_addr *)rinfo->prefix,
969 rinfo->prefix_len);
973 if (rinfo->prefix_len == 0)
976 rt = rt6_get_route_info(net, prefix, rinfo->prefix_len,
985 rt = rt6_add_route_info(net, prefix, rinfo->prefix_len, gwaddr,