Searched refs:p2p_interface (Results 1 – 1 of 1) sorted by relevance
/system/core/libnetutils/ |
D | dhcp_utils.c | 51 void get_p2p_interface_replacement(const char *interface, char *p2p_interface) { in get_p2p_interface_replacement() argument 54 strncpy(p2p_interface, "p2p", MAX_INTERFACE_LENGTH); in get_p2p_interface_replacement() 56 strncpy(p2p_interface, interface, MAX_INTERFACE_LENGTH); in get_p2p_interface_replacement() 100 char p2p_interface[MAX_INTERFACE_LENGTH]; in fill_ip_info() local 103 get_p2p_interface_replacement(interface, p2p_interface); in fill_ip_info() 105 snprintf(prop_name, sizeof(prop_name), "%s.%s.ipaddress", DHCP_PROP_NAME_PREFIX, p2p_interface); in fill_ip_info() 108 snprintf(prop_name, sizeof(prop_name), "%s.%s.gateway", DHCP_PROP_NAME_PREFIX, p2p_interface); in fill_ip_info() 111 snprintf(prop_name, sizeof(prop_name), "%s.%s.server", DHCP_PROP_NAME_PREFIX, p2p_interface); in fill_ip_info() 120 snprintf(prop_name, sizeof(prop_name), "%s.%s.mask", DHCP_PROP_NAME_PREFIX, p2p_interface); in fill_ip_info() 144 … snprintf(prop_name, sizeof(prop_name), "%s.%s.dns%d", DHCP_PROP_NAME_PREFIX, p2p_interface, x+1); in fill_ip_info() [all …]
|