Home
last modified time | relevance | path

Searched refs:ift (Results 1 – 8 of 8) sorted by relevance

/freebsd/lib/libc/net/
H A Dgetifaddrs.c94 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 Dgetifmaddrs.c65 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 Dlibifconfig.c154 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 Dif.c659 struct iftot ift[2], *new, *old; in sidewaysintpr() local
663 new = &ift[0]; in sidewaysintpr()
664 old = &ift[1]; in sidewaysintpr()
726 if (new == &ift[0]) { in sidewaysintpr()
727 new = &ift[1]; in sidewaysintpr()
728 old = &ift[0]; in sidewaysintpr()
730 new = &ift[0]; in sidewaysintpr()
731 old = &ift[1]; in sidewaysintpr()
/freebsd/sbin/ifconfig/
H A Difconfig.c1820 struct ifaddrs *ift; in status() local
1850 for (ift = ifa; ift != NULL; ift = ift->ifa_next) { in status()
1851 if (ift->ifa_addr == NULL) in status()
1853 if (strcmp(ifa->ifa_name, ift->ifa_name) != 0) in status()
1857 p = af_getbyfamily(ift->ifa_addr->sa_family); in status()
1859 p->af_status(ctx, ift); in status()
1860 } else if (args->afp->af_af == ift->ifa_addr->sa_family) in status()
1861 args->afp->af_status(ctx, ift); in status()
/freebsd/usr.sbin/acpi/acpidump/
H A Dacpi.c1287 static const char *spcr_interface_type(int ift) in spcr_interface_type() argument
1314 if (ift >= (int)nitems(if_names) || if_names[ift] == NULL) in spcr_interface_type()
1316 return (if_names[ift]); in spcr_interface_type()
1319 static const char *spcr_interrupt_type(int ift) in spcr_interrupt_type() argument
1324 if ((ift & (b)) != 0) { \ in spcr_interrupt_type()
/freebsd/contrib/wpa/src/drivers/
H A Ddriver_nl80211_capa.c181 int ift = nla_type(nl_mode); in wiphy_info_iface_comb_process() local
182 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()
/freebsd/usr.bin/vgrind/
H A Dvgrindefs.src44 fi file for formal fortran global if iff ift\