aboutsummaryrefslogtreecommitdiff
path: root/libexec/bootpd/lookup.h
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/bootpd/lookup.h')
-rw-r--r--libexec/bootpd/lookup.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libexec/bootpd/lookup.h b/libexec/bootpd/lookup.h
new file mode 100644
index 000000000000..3b1890967351
--- /dev/null
+++ b/libexec/bootpd/lookup.h
@@ -0,0 +1,7 @@
+/* lookup.h */
+
+#include "bptypes.h" /* for int32, u_int32 */
+
+extern u_char *lookup_hwa(char *hostname, int htype);
+extern int lookup_ipa(char *hostname, u_int32 *addr);
+extern int lookup_netmask(u_int32 addr, u_int32 *mask);