summaryrefslogtreecommitdiffstats
path: root/usr/kinit/ipconfig/bootp_proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/kinit/ipconfig/bootp_proto.h')
-rw-r--r--usr/kinit/ipconfig/bootp_proto.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/usr/kinit/ipconfig/bootp_proto.h b/usr/kinit/ipconfig/bootp_proto.h
new file mode 100644
index 0000000..60873ce
--- /dev/null
+++ b/usr/kinit/ipconfig/bootp_proto.h
@@ -0,0 +1,10 @@
+#ifndef IPCONFIG_BOOTP_PROTO_H
+#define IPCONFIG_BOOTP_PROTO_H
+
+int bootp_send_request(struct netdev *dev);
+int bootp_recv_reply(struct netdev *dev);
+int bootp_parse(struct netdev *dev, struct bootp_hdr *hdr, uint8_t * exts,
+ int extlen);
+int bootp_init_if(struct netdev *dev);
+
+#endif /* IPCONFIG_BOOTP_PROTO_H */