Home
last modified time | relevance | path

Searched refs:ifa (Results 1 – 1 of 1) sorted by relevance

/system/connectivity/shill/net/
Drtnl_message.cc37 struct ifaddrmsg ifa; member
189 if (hdr->hdr.nlmsg_len < NLMSG_LENGTH(sizeof(hdr->ifa))) { in DecodeAddress()
197 family_ = hdr->ifa.ifa_family; in DecodeAddress()
198 interface_index_ = hdr->ifa.ifa_index; in DecodeAddress()
199 set_address_status(AddressStatus(hdr->ifa.ifa_prefixlen, in DecodeAddress()
200 hdr->ifa.ifa_flags, in DecodeAddress()
201 hdr->ifa.ifa_scope)); in DecodeAddress()
452 hdr->hdr.nlmsg_len = NLMSG_LENGTH(sizeof(hdr->ifa)); in EncodeAddress()
453 hdr->ifa.ifa_family = family_; in EncodeAddress()
454 hdr->ifa.ifa_prefixlen = address_status_.prefix_len; in EncodeAddress()
[all …]