Home
last modified time | relevance | path

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

/external/avahi/avahi-core/
Diface-linux.c134 hw->mac_address_size = RTA_PAYLOAD(a); in netlink_callback()
135 if (hw->mac_address_size > AVAHI_MAC_ADDRESS_MAX) in netlink_callback()
136 hw->mac_address_size = AVAHI_MAC_ADDRESS_MAX; in netlink_callback()
138 memcpy(hw->mac_address, RTA_DATA(a), hw->mac_address_size); in netlink_callback()
Diface-pfroute.c92 hw->mac_address_size = sdl->sdl_alen; in rtm_info()
93 if (hw->mac_address_size > AVAHI_MAC_ADDRESS_MAX) in rtm_info()
94 hw->mac_address_size = AVAHI_MAC_ADDRESS_MAX; in rtm_info()
96 memcpy(hw->mac_address, sdl->sdl_data + sdl->sdl_nlen, hw->mac_address_size); in rtm_info()
Diface.h84 size_t mac_address_size; member
Diface.c139 avahi_format_mac_address(mac, sizeof(mac), hw->mac_address, hw->mac_address_size); in avahi_hw_interface_update_rrs()
391 hw->mac_address_size = 0; in avahi_hw_interface_new()