Searched refs:new_rta (Results 1 – 2 of 2) sorted by relevance
487 struct rtattr *new_rta, *sub_rta; in rtattr_append_attribute() local501 new_rta = realloc(*rta, message_length); in rtattr_append_attribute()502 if (!new_rta) in rtattr_append_attribute()504 *rta = new_rta; in rtattr_append_attribute()
1054 struct rtattr *new_rta; in append_nexthop_one() local1062 new_rta = realloc(*rta, RTA_ALIGN((*rta)->rta_len) + RTA_SPACE(sizeof(struct rtnexthop))); in append_nexthop_one()1063 if (!new_rta) in append_nexthop_one()1065 *rta = new_rta; in append_nexthop_one()