Lines Matching refs:rinfo
520 struct route_info *rinfo = (struct route_info *) opt; in rt6_route_rcv() local
531 if (rinfo->length > 3) { in rt6_route_rcv()
533 } else if (rinfo->prefix_len > 128) { in rt6_route_rcv()
535 } else if (rinfo->prefix_len > 64) { in rt6_route_rcv()
536 if (rinfo->length < 2) { in rt6_route_rcv()
539 } else if (rinfo->prefix_len > 0) { in rt6_route_rcv()
540 if (rinfo->length < 1) { in rt6_route_rcv()
545 pref = rinfo->route_pref; in rt6_route_rcv()
549 lifetime = addrconf_timeout_fixup(ntohl(rinfo->lifetime), HZ); in rt6_route_rcv()
551 if (rinfo->length == 3) in rt6_route_rcv()
552 prefix = (struct in6_addr *)rinfo->prefix; in rt6_route_rcv()
556 (struct in6_addr *)rinfo->prefix, in rt6_route_rcv()
557 rinfo->prefix_len); in rt6_route_rcv()
561 rt = rt6_get_route_info(net, prefix, rinfo->prefix_len, gwaddr, in rt6_route_rcv()
570 rt = rt6_add_route_info(net, prefix, rinfo->prefix_len, gwaddr, dev->ifindex, in rt6_route_rcv()