Lines Matching refs:rtnh_len
634 if (nh->rtnh_len > len) in print_route()
645 if (nh->rtnh_len > sizeof(*nh)) { in print_route()
646 parse_rtattr(tb, RTA_MAX, RTNH_DATA(nh), nh->rtnh_len - sizeof(*nh)); in print_route()
705 len -= NLMSG_ALIGN(nh->rtnh_len); in print_route()
763 rtnh->rtnh_len += sizeof(struct rtattr) + addr.bytelen; in parse_one_nh()
766 rtnh->rtnh_len += RTA_SPACE(addr.bytelen+2); in parse_one_nh()
790 rtnh->rtnh_len += sizeof(struct rtattr) + 4; in parse_one_nh()
795 rtnh->rtnh_len += rta->rta_len - len; in parse_one_nh()
805 rtnh->rtnh_len += sizeof(struct rtattr) + addr.bytelen; in parse_one_nh()
835 rtnh->rtnh_len = sizeof(*rtnh); in parse_nexthops()
836 rta->rta_len += rtnh->rtnh_len; in parse_nexthops()