diff options
author | dzwdz | 2022-08-27 11:36:42 +0200 |
---|---|---|
committer | dzwdz | 2022-08-27 11:36:42 +0200 |
commit | 418cb68ffe64e9359e2e991538ece442fafc0c94 (patch) | |
tree | 2763a1d094db200b960638907dcb295b4ac8736d /src/user/app/netstack/proto.h | |
parent | 0f51f64e9bdaeed74981150a7b29726610d00504 (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.h | 2 |
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; |