]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - lib/ll_map.c
libnetlink: Add filter function to rtnl_neighdump_req
[mirror_iproute2.git] / lib / ll_map.c
index 32c8e4429fca19105061b1f7d954723f0679aa77..1ab8ef0758ac566072bea9882a0baa379ae5c2d0 100644 (file)
@@ -77,8 +77,7 @@ static struct ll_cache *ll_get_by_name(const char *name)
        return NULL;
 }
 
-int ll_remember_index(const struct sockaddr_nl *who,
-                     struct nlmsghdr *n, void *arg)
+int ll_remember_index(struct nlmsghdr *n, void *arg)
 {
        unsigned int h;
        const char *ifname;
@@ -144,7 +143,7 @@ const char *ll_idx_n2a(unsigned int idx)
        return buf;
 }
 
-unsigned int ll_idx_a2n(const char *name)
+static unsigned int ll_idx_a2n(const char *name)
 {
        unsigned int idx;