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

/system/core/libnetutils/
H A Ddhcp_utils.c51 void get_p2p_interface_replacement(const char *interface, char *p2p_interface) { argument
54 strncpy(p2p_interface, "p2p", MAX_INTERFACE_LENGTH);
56 strncpy(p2p_interface, interface, MAX_INTERFACE_LENGTH);
100 char p2p_interface[MAX_INTERFACE_LENGTH]; local
102 get_p2p_interface_replacement(interface, p2p_interface);
104 snprintf(prop_name, sizeof(prop_name), "%s.%s.ipaddress", DHCP_PROP_NAME_PREFIX, p2p_interface);
107 snprintf(prop_name, sizeof(prop_name), "%s.%s.gateway", DHCP_PROP_NAME_PREFIX, p2p_interface);
110 snprintf(prop_name, sizeof(prop_name), "%s.%s.server", DHCP_PROP_NAME_PREFIX, p2p_interface);
119 snprintf(prop_name, sizeof(prop_name), "%s.%s.mask", DHCP_PROP_NAME_PREFIX, p2p_interface);
141 snprintf(prop_name, sizeof(prop_name), "%s.%s.dns1", DHCP_PROP_NAME_PREFIX, p2p_interface);
193 char p2p_interface[MAX_INTERFACE_LENGTH]; local
264 char p2p_interface[MAX_INTERFACE_LENGTH]; local
297 char p2p_interface[MAX_INTERFACE_LENGTH]; local
341 char p2p_interface[MAX_INTERFACE_LENGTH]; local
[all...]

Completed in 56 milliseconds