Searched refs:rta (Results 1 – 1 of 1) sorted by relevance
27 struct rtattr *rta; in qrtr_set_address() local56 rta = (struct rtattr *)(((char *) &req) + req.nh.nlmsg_len); in qrtr_set_address()57 rta->rta_type = IFA_LOCAL; in qrtr_set_address()58 rta->rta_len = RTA_LENGTH(sizeof(addr)); in qrtr_set_address()59 memcpy(RTA_DATA(rta), &addr, sizeof(addr)); in qrtr_set_address()61 req.nh.nlmsg_len += rta->rta_len; in qrtr_set_address()