Introduce a new function, lltable_get(), used to retrieve lltable pointer for the specified interface and family.
Use it to avoid all-iftable list traversal when adding or deleting ARP/ND records.
Paths
| Differential D33660 Authored by melifaro on Dec 26 2021, 12:39 PM.
Details Summary Introduce a new function, lltable_get(), used to retrieve lltable pointer for the specified interface and family. Use it to avoid all-iftable list traversal when adding or deleting ARP/ND records.
Diff Detail
Event TimelineHerald added subscribers: glebius, bz, ae, imp. · View Herald TranscriptDec 26 2021, 12:39 PM2021-12-26 12:39:42 (UTC+0) Harbormaster completed remote builds in B43593: Diff 100579.Dec 26 2021, 12:39 PM2021-12-26 12:39:47 (UTC+0) melifaro edited the summary of this revision. (Show Details)Dec 26 2021, 12:43 PM2021-12-26 12:43:37 (UTC+0) melifaro added a parent revision: D33658: Pre-calculate L2 prepends for routes with gateway and avoid arp/nd lookup. This revision was not accepted when it landed; it landed in state Needs Review.Dec 29 2021, 9:30 PM2021-12-29 21:30:55 (UTC+0) Closed by commit rGff3a85d32411: [lltable] Add per-family lltable getters. (authored by melifaro). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 100721 sys/net/if_llatbl.h
sys/net/if_llatbl.c
sys/netinet/in.c
sys/netinet6/in6.c
|