Home
last modified time | relevance | path

Searched refs:address_item (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/qga/
H A Dcommands-posix.c1029 GuestIpAddress *address_item = NULL; in qmp_guest_network_get_interfaces() local
1070 address_item = g_malloc0(sizeof(*address_item)); in qmp_guest_network_get_interfaces()
1071 address_item->ip_address = g_strdup(addr4); in qmp_guest_network_get_interfaces()
1072 address_item->ip_address_type = GUEST_IP_ADDRESS_TYPE_IPV4; in qmp_guest_network_get_interfaces()
1078 address_item->prefix = ctpop32(((uint32_t *) p)[0]); in qmp_guest_network_get_interfaces()
1089 address_item = g_malloc0(sizeof(*address_item)); in qmp_guest_network_get_interfaces()
1090 address_item->ip_address = g_strdup(addr6); in qmp_guest_network_get_interfaces()
1091 address_item->ip_address_type = GUEST_IP_ADDRESS_TYPE_IPV6; in qmp_guest_network_get_interfaces()
1097 address_item->prefix = in qmp_guest_network_get_interfaces()
1105 if (!address_item) { in qmp_guest_network_get_interfaces()
[all …]
H A Dcommands-win32.c1631 GuestIpAddress *address_item = NULL; in qmp_guest_network_get_interfaces() local
1678 address_item = g_malloc0(sizeof(*address_item)); in qmp_guest_network_get_interfaces()
1680 QAPI_LIST_APPEND(tail_addr, address_item); in qmp_guest_network_get_interfaces()
1682 address_item->ip_address = addr_str; in qmp_guest_network_get_interfaces()
1683 address_item->prefix = guest_ip_prefix(ip_addr); in qmp_guest_network_get_interfaces()
1685 address_item->ip_address_type = GUEST_IP_ADDRESS_TYPE_IPV4; in qmp_guest_network_get_interfaces()
1687 address_item->ip_address_type = GUEST_IP_ADDRESS_TYPE_IPV6; in qmp_guest_network_get_interfaces()