Searched refs:ifap (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/libsocket/inet/
H A Dgetifaddrs.c41 * address that is UP. If successful, store the list in *ifap and
44 * The storage returned in *ifap is allocated dynamically and can
48 getifaddrs(struct ifaddrs **ifap) argument
54 if (ifap == NULL) {
58 *ifap = NULL;
59 err = getallifaddrs(AF_UNSPEC, ifap, LIFC_ENABLED);
61 for (curr = *ifap; curr != NULL; curr = curr->ifa_next) {
92 getallifaddrs(sa_family_t af, struct ifaddrs **ifap, int64_t flags) argument
126 *ifap = NULL;
155 *ifap
[all...]
/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_if.c56 struct ifaddrs *ifap; local
60 for (ifap = ifa; ifap != NULL; ifap = ifap->ifa_next) {
61 (void) strlcpy(cifname, ifap->ifa_name, sizeof (cifname));
69 (ifap->ifa_flags & IFF_UP)) {
254 struct ifaddrs *ifap; local
278 for (ifap = ifa; ifap !
[all...]
H A Dipadm_addr.c353 struct ifaddrs *ifap, *ifa; local
375 for (ifap = ifa; ifap != NULL; ifap = ifap->ifa_next) {
378 (void) strlcpy(cifname, ifap->ifa_name, sizeof (cifname));
387 sockaddrunspec(ifap->ifa_addr) &&
388 !(ifap->ifa_flags & IFF_DHCPRUNNING))
403 if ((cifaddr->ifa_name = strdup(ifap->ifa_name)) == NULL)
405 cifaddr->ifa_flags = ifap
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dconditions.c487 struct ifaddrs *ifap, *ifa; local
539 for (ifap = ifa; ifap != NULL; ifap = ifap->ifa_next) {
540 if (ifap->ifa_addr->sa_family != family)
542 if (check_ipaddr(family, ifap, &wa) == 1)
/illumos-gate/usr/src/cmd/lms/tools/
H A DATNetworkTool.cpp115 struct ifaddrs *ifap; local
162 if (0 != getifaddrs(&ifap)) {
168 for (struct ifaddrs *ifa = ifap; ifa; ifa = ifa->ifa_next) {
195 freeifaddrs(ifap);
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_proc.c1301 struct ifaddrs *ifap, *cifap; local
1304 error = getifaddrs(&ifap);
1311 for (cifap = ifap; cifap != NULL; cifap = cifap->ifa_next) {
1361 freeifaddrs(ifap);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dmain.c2532 struct ifaddrs *ifap; local
2550 ifap = &ainfop->ia_ifa;
2551 if (ifap->ifa_addr->sa_family != AF_INET6 ||
2554 sin6 = (struct sockaddr_in6 *)ifap->ifa_addr;
2571 if (ifap->ifa_flags & IFF_NOLINKLOCAL)
2574 strrchr(ifap->ifa_name, ':') == NULL) {

Completed in 84 milliseconds