Searched refs:ift (Results 1 – 7 of 7) sorted by relevance
| /freebsd/lib/libc/net/ |
| H A D | getifaddrs.c | 94 struct ifaddrs *ifa, *ift; in getifaddrs() local 213 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 …]
|
| H A D | getifmaddrs.c | 65 struct ifmaddrs *ifa, *ift; in getifmaddrs() local 124 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()
|
| /freebsd/lib/libifconfig/ |
| H A D | libifconfig.c | 154 struct ifaddrs *ift; in ifconfig_foreach_ifaddr() local 156 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()
|
| /freebsd/usr.bin/netstat/ |
| H A D | if.c | 695 struct iftot ift[2], *new, *old; in sidewaysintpr() local 699 new = &ift[0]; in sidewaysintpr() 700 old = &ift[1]; in sidewaysintpr() 777 if (new == &ift[0]) { in sidewaysintpr() 778 new = &ift[1]; in sidewaysintpr() 779 old = &ift[0]; in sidewaysintpr() 781 new = &ift[0]; in sidewaysintpr() 782 old = &ift[1]; in sidewaysintpr()
|
| /freebsd/sbin/ifconfig/ |
| H A D | ifconfig.c | 1828 struct ifaddrs *ift; in status() local 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->ifa_addr->sa_family) in status() 1869 args->afp->af_status(ctx, ift); in status()
|
| /freebsd/contrib/wpa/src/drivers/ |
| H A D | driver_nl80211_capa.c | 193 int ift = nla_type(nl_mode); in wiphy_info_iface_comb_process() local 194 if (ift == NL80211_IFTYPE_P2P_GO || in wiphy_info_iface_comb_process() 195 ift == NL80211_IFTYPE_P2P_CLIENT) in wiphy_info_iface_comb_process() 197 if (ift == NL80211_IFTYPE_STATION) in wiphy_info_iface_comb_process() 199 if (ift == NL80211_IFTYPE_NAN) in wiphy_info_iface_comb_process() 201 if (ift == NL80211_IFTYPE_NAN_DATA) in wiphy_info_iface_comb_process()
|
| /freebsd/usr.sbin/acpi/acpidump/ |
| H A D | acpi.c | 1492 static const char *spcr_interface_type(int ift) in spcr_interface_type() argument 1519 if (ift >= (int)nitems(if_names) || if_names[ift] == NULL) in spcr_interface_type() 1521 return (if_names[ift]); in spcr_interface_type() 1524 static const char *spcr_interrupt_type(int ift) in spcr_interrupt_type() argument 1529 if ((ift & (b)) != 0) { \ in spcr_interrupt_type()
|