Searched refs:lldp_file (Results 1 - 3 of 3) sorted by relevance

/systemd/src/libsystemd-network/
H A Dsd-lldp.c451 int sd_lldp_save(sd_lldp *lldp, const char *lldp_file) { argument
464 assert(lldp_file);
466 r = fopen_temporary(lldp_file, &f, &temp_path);
578 if (rename(temp_path, lldp_file) < 0) {
589 return log_error_errno(r, "Failed to save lldp data %s: %m", lldp_file);
/systemd/src/network/
H A Dnetworkd-link.h115 char *lldp_file; member in struct:Link
H A Dnetworkd-link.c351 r = asprintf(&link->lldp_file, "/run/systemd/netif/lldp/%d",
406 free(link->lldp_file);
1243 r = sd_lldp_save(link->lldp, link->lldp_file);
2953 r = sd_lldp_save(link->lldp, link->lldp_file);
2959 link->lldp_file);
2961 unlink(link->lldp_file);

Completed in 638 milliseconds