]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/if.h
vrrpd: add initial macvlan support
[mirror_frr.git] / lib / if.h
index d26d4dd68b1de79378009d46120b594b0eb1f763..a98f907c5c4f22a0f4458e2789137dedc81e840d 100644 (file)
--- a/lib/if.h
+++ b/lib/if.h
@@ -482,6 +482,8 @@ extern struct connected *if_lookup_address(void *matchaddr, int family,
                                           vrf_id_t vrf_id);
 extern struct interface *if_lookup_prefix(struct prefix *prefix,
                                          vrf_id_t vrf_id);
+size_t if_lookup_by_hwaddr(const uint8_t *hw_addr, size_t addrsz,
+                          struct interface ***result, vrf_id_t vrf_id);
 
 /* These 3 functions are to be used when the ifname argument is terminated
    by a '\0' character: */