Lines Matching refs:hw
82 AvahiHwInterface *hw;
95 if (!(hw = avahi_interface_monitor_get_hw_interface(m, ifinfomsg->ifi_index)))
102 if (!(hw = avahi_hw_interface_new(m, (AvahiIfIndex) ifinfomsg->ifi_index)))
106 hw->flags_ok =
122 avahi_free(hw->name);
123 hw->name = avahi_strndup(RTA_DATA(a), RTA_PAYLOAD(a));
130 hw->mtu = *((unsigned int*) RTA_DATA(a));
136 hw->mac_address_size = RTA_PAYLOAD(a);
137 if (hw->mac_address_size > AVAHI_MAC_ADDRESS_MAX)
138 hw->mac_address_size = AVAHI_MAC_ADDRESS_MAX;
140 memcpy(hw->mac_address, RTA_DATA(a), hw->mac_address_size);
154 if(strcmp(hw->name,"ppp0"))
156 avahi_hw_interface_check_relevant(hw);
161 avahi_hw_interface_update_rrs(hw, 0);
169 AvahiHwInterface *hw;
176 if (!(hw = avahi_interface_monitor_get_hw_interface(m, (AvahiIfIndex) ifinfomsg->ifi_index)))
180 if(strcmp(hw->name,"ppp0"))
181 avahi_hw_interface_free(hw, 0);