Lines Matching refs:ifa
37 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()
455 hdr->ifa.ifa_flags = address_status_.flags; in EncodeAddress()
456 hdr->ifa.ifa_scope = address_status_.scope; in EncodeAddress()
457 hdr->ifa.ifa_index = interface_index_; in EncodeAddress()