More DHCPD work

This commit is contained in:
logicog
2026-03-09 22:06:57 +01:00
parent 57e7d7dd2a
commit 5e1ea935a7
2 changed files with 194 additions and 73 deletions
+5 -1
View File
@@ -3,7 +3,7 @@
#include "uipopt.h"
#include <stdint.h>
#define DHCPD_MAX_CLIENTS 10
#define DHCPD_MAX_CLIENTS 20
#define DHCPD_START_IP 100
#define DHCP_SERVER_PORT 67
@@ -16,6 +16,10 @@
#define DHCP_LEASING 4
#define DHCP_SERVER 5
#define CSTATE_NONE 0
#define CSTATE_OFFERED 1
#define CSTATE_LEASED 2
void dhcp_start(void) __banked;
void dhcp_stop(void) __banked;
void dhcp_callback(void) __banked;