Searched refs:nmfile (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/tools/hv/ |
D | hv_kvp_daemon.c | 1244 FILE *ifcfg_file, *nmfile; in kvp_set_ip_info() local 1340 nmfile = fopen(nm_filename, "w"); in kvp_set_ip_info() 1342 if (!nmfile) { in kvp_set_ip_info() 1367 error = fprintf(nmfile, "\n[connection]\n"); in kvp_set_ip_info() 1371 error = kvp_write_file(nmfile, "interface-name", "", if_name); in kvp_set_ip_info() 1375 error = fprintf(nmfile, "\n[ethernet]\n"); in kvp_set_ip_info() 1379 error = kvp_write_file(nmfile, "mac-address", "", mac_addr); in kvp_set_ip_info() 1425 error = fprintf(nmfile, "\n[ipv6]\n"); in kvp_set_ip_info() 1430 error = fprintf(nmfile, "\n[ipv4]\n"); in kvp_set_ip_info() 1440 error = kvp_write_file(nmfile, "method", "", "auto"); in kvp_set_ip_info() [all …]
|