summaryrefslogtreecommitdiff
path: root/libmisc/include
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-21 19:58:50 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-21 19:58:50 -0600
commitbc70ded6e8535f004b2c9f5f7a471fa548c33fab (patch)
treedbeef9f9a0856803885177d637c7cd9e41090303 /libmisc/include
parenta27d33b74d77ccb3d9dd9d68f4a9e2d5deed54e0 (diff)
wip dhcp
Diffstat (limited to 'libmisc/include')
-rw-r--r--libmisc/include/libmisc/net.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmisc/include/libmisc/net.h b/libmisc/include/libmisc/net.h
index bb5999b..a733cce 100644
--- a/libmisc/include/libmisc/net.h
+++ b/libmisc/include/libmisc/net.h
@@ -15,6 +15,8 @@ struct net_ip4_addr {
unsigned char octets[4];
};
+static const struct net_ip4_addr net_ip4_broadcast_addr = {{255, 255, 255, 255}};
+
struct net_eth_addr {
unsigned char octets[6];
};