Home | History | Annotate | Download | only in libnetutils

Lines Matching refs:interface

37 /* interface length for dhcpcd daemon start (dhcpcd_<interface> as defined in init.rc file)
38 * or for filling up system properties dhcpcd.<interface>.ipaddress, dhcpcd.<interface>.dns1
44 * P2p interface names increase sequentially p2p-p2p0-1, p2p-p2p0-2.. after
47 * interface to be pre-defined in init.rc file.
51 void get_p2p_interface_replacement(const char *interface, char *p2p_interface) {
52 /* Use p2p for any interface starting with p2p. */
53 if (strncmp(interface, "p2p",3) == 0) {
56 strncpy(p2p_interface, interface, MAX_INTERFACE_LENGTH);
87 static int fill_ip_info(const char *interface,
99 /* Interface name after converting p2p0-p2p0-X to p2p to reuse system properties */
103 get_p2p_interface_replacement(interface, p2p_interface);
174 * configuring the interface.
179 * service dhcpcd_<interface> /system/bin/dhcpcd -ABKL -f dhcpcd.conf
181 int dhcp_do_request(const char *interface,
197 /* Interface name after converting p2p0-p2p0-X to p2p to reuse system properties */
200 get_p2p_interface_replacement(interface, p2p_interface);
216 p2p_interface, DHCP_CONFIG_PATH, prop_value, interface);
219 p2p_interface, DHCP_CONFIG_PATH, interface);
240 if (fill_ip_info(interface, ipaddr, gateway, prefixLength, dns,
254 int dhcp_stop(const char *interface)
264 get_p2p_interface_replacement(interface, p2p_interface);
288 int dhcp_release_lease(const char *interface)
297 get_p2p_interface_replacement(interface, p2p_interface);
321 * service iprenew_<interface> /system/bin/dhcpcd -n
324 int dhcp_do_request_renew(const char *interface,
341 get_p2p_interface_replacement(interface, p2p_interface);
352 p2p_interface, interface);
368 fill_ip_info(interface, ipaddr, gateway, prefixLength, dns,