Lines Matching refs:attr_data
106 rtattr* attr_data = nullptr; in DecodeInternal() local
112 if (!DecodeLink(hdr, mode, &attr_data, &attr_length)) in DecodeInternal()
118 if (!DecodeAddress(hdr, mode, &attr_data, &attr_length)) in DecodeInternal()
124 if (!DecodeRoute(hdr, mode, &attr_data, &attr_length)) in DecodeInternal()
129 if (!DecodeNdUserOption(hdr, mode, &attr_data, &attr_length)) in DecodeInternal()
135 if (!DecodeNeighbor(hdr, mode, &attr_data, &attr_length)) in DecodeInternal()
147 while (attr_data && RTA_OK(attr_data, attr_length)) { in DecodeInternal()
149 attr_data->rta_type, in DecodeInternal()
150 ByteString(reinterpret_cast<unsigned char*>(RTA_DATA(attr_data)), in DecodeInternal()
151 RTA_PAYLOAD(attr_data))); in DecodeInternal()
152 attr_data = RTA_NEXT(attr_data, attr_length); in DecodeInternal()
166 rtattr** attr_data, in DecodeLink() argument
173 *attr_data = IFLA_RTA(NLMSG_DATA(&hdr->hdr)); in DecodeLink()
187 rtattr** attr_data, in DecodeAddress() argument
193 *attr_data = IFA_RTA(NLMSG_DATA(&hdr->hdr)); in DecodeAddress()
207 rtattr** attr_data, in DecodeRoute() argument
213 *attr_data = RTM_RTA(NLMSG_DATA(&hdr->hdr)); in DecodeRoute()
230 rtattr** attr_data, in DecodeNdUserOption() argument
306 rtattr** attr_data, in DecodeNeighbor() argument
317 *attr_data = RTM_RTA(NLMSG_DATA(&hdr->hdr)); in DecodeNeighbor()
402 ByteString attr_data(attr->second); in Encode() local
403 attr_data.Resize(RTA_ALIGN(attr_data.GetLength())); in Encode()
404 attributes.Append(attr_data); in Encode()