summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2008-08-20 03:14:48 +0000
committerkmacy <kmacy@FreeBSD.org>2008-08-20 03:14:48 +0000
commit01940f4e651c7f9086a04458e21966b4a28b7bfc (patch)
treed8c5d72e74a1e8afc6f621130a37ed49ec2a9e8c /sys/net
parent19743e2df19fe0edb8b3298806bbaf01f5b875aa (diff)
downloadFreeBSD-src-01940f4e651c7f9086a04458e21966b4a28b7bfc.zip
FreeBSD-src-01940f4e651c7f9086a04458e21966b4a28b7bfc.tar.gz
Fix build
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_var.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h
index 2e3dc0d..588dead 100644
--- a/sys/net/if_var.h
+++ b/sys/net/if_var.h
@@ -646,6 +646,8 @@ struct ifindex_entry {
};
struct ifnet *ifnet_byindex(u_short idx);
+void ifnet_setbyindex(u_short idx, struct ifnet *ifp);
+
/*
* Given the index, ifaddr_byindex() returns the one and only
* link-level ifaddr for the interface. You are not supposed to use
OpenPOWER on IntegriCloud