diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-05-30 22:11:47 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-06-06 19:59:07 +0200 |
commit | 16fed825d60ca1efa57d0b9231842cda9aae7a68 (patch) | |
tree | f6ced70b32a666143b3852f2afafba90edcfa10a /src/basic/architecture.c | |
parent | e475d10c1be86f3c060cee86ddd6e1617608bdd8 (diff) |
sd-lldp: take triple timestamp when reading LLDP packets
It's a good idea to store away the recption time of LLDP packets in the
neighbor object, simply because the LLDP data only has a validity of a certain
amount of time.
Hence, let's record the timestamp when we receive the datagram and expose an
API for it. Also, automatically expire LLDP neighbors based on this new
timestamp.
Diffstat (limited to 'src/basic/architecture.c')
0 files changed, 0 insertions, 0 deletions