aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/gbos.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gbos.inc b/include/gbos.inc
index 049a4bc..937d083 100644
--- a/include/gbos.inc
+++ b/include/gbos.inc
@@ -152,6 +152,7 @@ DEF NET_RECV EQU 3 ; NR_SOCK, NR_BUF, NR_LEN(max) -> A=len or $FF(timeout);
DEF NET_CLOSE EQU 4 ; NR_SOCK
DEF NET_BIND EQU 5 ; NR_SOCK, NR_PORT -> bind local port (UDP)
DEF NET_POLL EQU 6 ; pump RX once (answer pings) -> A=0
+DEF NET_SETIP EQU 7 ; set our IPv4 address from NR_IP (DHCP)
; socket types
DEF SOCK_ICMP EQU 1
DEF SOCK_UDP EQU 2
@@ -252,5 +253,6 @@ DEF PROG_CHAT EQU 25
DEF PROG_NETD EQU 26
DEF PROG_PING EQU 27
DEF PROG_NSLOOKUP EQU 28
+DEF PROG_DHCP EQU 29
ENDC