/src/usr.sbin/rpcbind/ |
rpcbind.c | 111 static struct sockaddr **bound_sa; variable in typeref:struct:sockaddr ** 740 * bound_sa will have a list of the addresses that the program binds 742 * struct sockaddr * and stores them in bound_sa. 752 bound_sa = calloc(nhosts, sizeof(*bound_sa)); 753 if (bound_sa == NULL) 760 bound_sa[i] = malloc(res->ai_addrlen); 761 if (bound_sa[i] == NULL) 763 memcpy(bound_sa[i], res->ai_addr, res->ai_addrlen); 771 * in bound_sa, we return true. If not, we return false [all...] |
rpcbind.c | 111 static struct sockaddr **bound_sa; variable in typeref:struct:sockaddr ** 740 * bound_sa will have a list of the addresses that the program binds 742 * struct sockaddr * and stores them in bound_sa. 752 bound_sa = calloc(nhosts, sizeof(*bound_sa)); 753 if (bound_sa == NULL) 760 bound_sa[i] = malloc(res->ai_addrlen); 761 if (bound_sa[i] == NULL) 763 memcpy(bound_sa[i], res->ai_addr, res->ai_addrlen); 771 * in bound_sa, we return true. If not, we return false [all...] |
rpcbind.c | 111 static struct sockaddr **bound_sa; variable in typeref:struct:sockaddr ** 740 * bound_sa will have a list of the addresses that the program binds 742 * struct sockaddr * and stores them in bound_sa. 752 bound_sa = calloc(nhosts, sizeof(*bound_sa)); 753 if (bound_sa == NULL) 760 bound_sa[i] = malloc(res->ai_addrlen); 761 if (bound_sa[i] == NULL) 763 memcpy(bound_sa[i], res->ai_addr, res->ai_addrlen); 771 * in bound_sa, we return true. If not, we return false [all...] |