summaryrefslogtreecommitdiff
path: root/src/user/app/netstack/proto.h
diff options
context:
space:
mode:
authordzwdz2022-08-27 11:36:42 +0200
committerdzwdz2022-08-27 11:36:42 +0200
commit418cb68ffe64e9359e2e991538ece442fafc0c94 (patch)
tree2763a1d094db200b960638907dcb295b4ac8736d /src/user/app/netstack/proto.h
parent0f51f64e9bdaeed74981150a7b29726610d00504 (diff)
user/netstack: IP gateway, make networking work without a second vm
Diffstat (limited to 'src/user/app/netstack/proto.h')
-rw-r--r--src/user/app/netstack/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user/app/netstack/proto.h b/src/user/app/netstack/proto.h
index 72a4fca..4d881ca 100644
--- a/src/user/app/netstack/proto.h
+++ b/src/user/app/netstack/proto.h
@@ -8,7 +8,7 @@ static const mac_t MAC_BROADCAST = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF};
extern struct net_state {
mac_t mac;
- uint32_t ip;
+ uint32_t ip, gateway;
handle_t raw_h;
} state;