Searched defs:addresses (Results 1 - 3 of 3) sorted by relevance

/lxc/src/lxc/tools/
H A Dlxc_info.c92 -i, --ips shows the IP addresses\n\
346 char **addresses = c->get_ips(c, NULL, NULL, 0); local
347 if (addresses) {
350 while (addresses[i]) {
351 address = addresses[i];
/lxc/src/lua-lxc/
H A Dcore.c460 char **addresses; local
471 addresses = c->get_ips(c, iface, family, scope);
473 if (!addresses){
478 for (i = 0; addresses[i]; i++);
482 for (i = 0; addresses[i]; i++)
483 free(addresses[i]);
487 for (i = 0; addresses[i]; i++){
488 lua_pushstring(L, addresses[i]);
489 free(addresses[i]);
/lxc/src/lxc/
H A Dlxccontainer.c1871 char **addresses = NULL; local
1962 if(!add_to_array(&addresses, address, count))
1969 free(addresses[i]);
1970 free(addresses);
1971 addresses = NULL;
1978 if(addresses)
1979 addresses = (char **)lxc_append_null_to_array((void **)addresses, count);
1981 return addresses;
3181 ERROR("Error updating mac addresses");
[all...]

Completed in 18 milliseconds