Home
last modified time | relevance | path

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

/systemd-251/src/network/
Dnetworkd-lldp-rx.c118 if (isempty(link->lldp_file)) in link_lldp_save()
122 (void) unlink(link->lldp_file); in link_lldp_save()
130 (void) unlink(link->lldp_file); in link_lldp_save()
136 r = fopen_temporary(link->lldp_file, &f, &temp_path); in link_lldp_save()
160 r = conservative_rename(temp_path, link->lldp_file); in link_lldp_save()
166 … log_link_error_errno(link, r, "Failed to save LLDP data to %s: %m", link->lldp_file); in link_lldp_save()
Dnetworkd-link.h167 char *lldp_file; member
Dnetworkd-link.c228 unlink_and_free(link->lldp_file); in link_free()
2454 …free_ char *ifname = NULL, *kind = NULL, *state_file = NULL, *lease_file = NULL, *lldp_file = NULL; in link_new() local
2496 if (asprintf(&lldp_file, "/run/systemd/netif/lldp/%d", ifindex) < 0) in link_new()
2517 .lldp_file = TAKE_PTR(lldp_file), in link_new()