Searched refs:ift (Results 1 – 8 of 8) sorted by relevance
94 struct ifaddrs *ifa, *ift; in getifaddrs() local213 ift = ifa; in getifaddrs()232 cif = ift; in getifaddrs()233 ift->ifa_name = names; in getifaddrs()234 ift->ifa_flags = (int)ifm->ifm_flags; in getifaddrs()239 ift->ifa_addr = (struct sockaddr *)(void *)data; in getifaddrs()246 ift->ifa_data = data = (void *)ALIGN(data); in getifaddrs()250 ift = (ift->ifa_next = ift + 1); in getifaddrs()260 ift->ifa_name = cif->ifa_name; in getifaddrs()261 ift->ifa_flags = cif->ifa_flags; in getifaddrs()[all …]
65 struct ifmaddrs *ifa, *ift; in getifmaddrs() local124 ift = ifa; in getifmaddrs()146 ift->ifma_lladdr = in getifmaddrs()153 ift->ifma_name = in getifmaddrs()160 ift->ifma_addr = in getifmaddrs()172 ift->ifma_next = ift + 1; in getifmaddrs()173 ift = ift->ifma_next; in getifmaddrs()180 if (ift > ifa) { in getifmaddrs()181 ift--; in getifmaddrs()182 ift->ifma_next = NULL; in getifmaddrs()
154 struct ifaddrs *ift; in ifconfig_foreach_ifaddr() local156 for (ift = ifa; in ifconfig_foreach_ifaddr()157 ift != NULL && in ifconfig_foreach_ifaddr()158 ift->ifa_addr != NULL && in ifconfig_foreach_ifaddr()159 strcmp(ift->ifa_name, ifa->ifa_name) == 0; in ifconfig_foreach_ifaddr()160 ift = ift->ifa_next) { in ifconfig_foreach_ifaddr()161 cb(h, ift, udata); in ifconfig_foreach_ifaddr()
679 struct iftot ift[2], *new, *old; in sidewaysintpr() local683 new = &ift[0]; in sidewaysintpr()684 old = &ift[1]; in sidewaysintpr()761 if (new == &ift[0]) { in sidewaysintpr()762 new = &ift[1]; in sidewaysintpr()763 old = &ift[0]; in sidewaysintpr()765 new = &ift[0]; in sidewaysintpr()766 old = &ift[1]; in sidewaysintpr()
1828 struct ifaddrs *ift; in status() 1858 for (ift = ifa; ift != NULL; ift = ift->ifa_next) { in status() 1859 if (ift->ifa_addr == NULL) in status() 1861 if (strcmp(ifa->ifa_name, ift->ifa_name) != 0) in status() 1865 p = af_getbyfamily(ift->ifa_addr->sa_family); in status() 1867 p->af_status(ctx, ift); in status() 1868 } else if (args->afp->af_af == ift in status() 1822 struct ifaddrs *ift; status() local [all...]
1468 static const char *spcr_interface_type(int ift) in spcr_interface_type() argument1495 if (ift >= (int)nitems(if_names) || if_names[ift] == NULL) in spcr_interface_type()1497 return (if_names[ift]); in spcr_interface_type()1500 static const char *spcr_interrupt_type(int ift) in spcr_interrupt_type() argument1505 if ((ift & (b)) != 0) { \ in spcr_interrupt_type()
181 int ift = nla_type(nl_mode); in wiphy_info_iface_comb_process() local182 if (ift == NL80211_IFTYPE_P2P_GO || in wiphy_info_iface_comb_process()183 ift == NL80211_IFTYPE_P2P_CLIENT) in wiphy_info_iface_comb_process()185 if (ift == NL80211_IFTYPE_STATION) in wiphy_info_iface_comb_process()