D | hv_kvp_daemon.c | 561 char *if_name = NULL; in kvp_get_if_name() local 591 if_name = strdup(entry->d_name); in kvp_get_if_name() 600 return if_name; in kvp_get_if_name() 607 static char *kvp_if_name_to_mac(char *if_name) in kvp_if_name_to_mac() argument 617 if_name, "/address"); in kvp_if_name_to_mac() 669 static void kvp_get_ipconfig_info(char *if_name, in kvp_get_ipconfig_info() argument 680 sprintf(cmd, "%s %s", "ip route show dev", if_name); in kvp_get_ipconfig_info() 692 sprintf(cmd, "%s %s", "ip -f inet6 route show dev", if_name); in kvp_get_ipconfig_info() 734 sprintf(cmd, KVP_SCRIPTS_PATH "%s %s", "hv_get_dhcp_info", if_name); in kvp_get_ipconfig_info() 803 kvp_get_ip_info(int family, char *if_name, int op, in kvp_get_ip_info() argument [all …]
|