In vpp/src/vnet/ip-neighbor/ip_neighbor.api, I don't see any API to find the ip-neighbor entry to serve the purpose below. So, first the doc at the link below should change because the API does not exist.
Second, I changed, ip_neighbor_get_mac() as follows and now I have an API to help me get the next-hop mac-address if I have the next-hop IP address and link-type. Unless, I missed something, should we consider the code changes below? https://gerrit.fd.io/r/c/vpp/+/32014 Thanks, Hemant From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of hemant via lists.fd.io Sent: Thursday, April 15, 2021 4:33 PM To: vpp-dev@lists.fd.io Subject: [vpp-dev] dst mac-address look up? I read this link: https://fdio-vpp.readthedocs.io/en/latest/gettingstarted/developers/fib20/ar pentries.html At the end of the page, I see text that says "key for which is {interface, next-hop, link-type}." I have the data for the above key, but what API do I use to find destination mac-address? Hemant
smime.p7s
Description: S/MIME cryptographic signature
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19231): https://lists.fd.io/g/vpp-dev/message/19231 Mute This Topic: https://lists.fd.io/mt/82127329/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-