Skip to content

Add support for ARP/ND Timestamps when retriving neighbors#1039

Merged
aboch merged 1 commit intovishvananda:mainfrom
jlamanna:add-neighbor-times
Mar 26, 2025
Merged

Add support for ARP/ND Timestamps when retriving neighbors#1039
aboch merged 1 commit intovishvananda:mainfrom
jlamanna:add-neighbor-times

Conversation

@jlamanna
Copy link
Copy Markdown
Contributor

On Linux, Netlink provides NDA_CACHEINFO which carries timestamps about when ARP/ND was updated, used, and confirmed.

struct nda_cacheinfo {
    __u32         ndm_confirmed;
    __u32         ndm_used;
    __u32         ndm_updated;
    __u32         ndm_refcnt;
};

Expose these fields in the Neigh type

On Linux, Netlink provides NDA_CACHEINFO which carries timestamps about
when ARP/ND was updated, used, and confirmed.

Expose these fields in the Neigh type
@aboch
Copy link
Copy Markdown
Collaborator

aboch commented Mar 26, 2025

LGTM

@aboch aboch merged commit 7740709 into vishvananda:main Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants