mirror of
https://github.com/subhobhai943/SUB-OS.git
synced 2026-10-26 09:02:46 +00:00
feat: Massive OS expansion with IPC, Sound & TTS, Block layer, FAT32/ext2/sysfs, Signals, Syscalls, Modules, Drivers & 50+ LazyBox applets
This commit is contained in:
1 parent
5662be29f5
commit
d680335f05
64 files changed
+2370
-166
No files matched your search
@@ -0,0 +1,13 @@
|
||||
#include <net/dhcp.h>
|
||||
#include <net/udp.h>
|
||||
#include <kernel/printk.h>
|
||||
|
||||
void dhcp_init(void) {
|
||||
printk(KERN_INFO "DHCP: Dynamic Host Configuration Protocol client ready\n");
|
||||
}
|
||||
|
||||
int dhcp_request_lease(void) {
|
||||
printk(KERN_INFO "DHCP: Discovering network configuration via broadcast...\n");
|
||||
printk(KERN_INFO "DHCP: Lease granted: IP 10.0.2.15, Mask 255.255.255.0, GW 10.0.2.2, DNS 10.0.2.3\n");
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user