WKern
Loading...
Searching...
No Matches
addr.c
Go to the documentation of this file.
1#include <types/nums.h>
8typedef struct {
9 u8 ip[4];
13
15 .ip = {10, 0, 2, 15},
16 .netmasK = {255, 255, 255, 0},
17 .gateway = {10, 0, 2, 2},
18};
19
20static u8 macaddr[6] = {0x52, 0x54, 0x00, 0x12, 0x34, 0x56};
21
net_config_t net_config
Definition addr.c:14
unsigned char u8
8-Bit Unsigned Int
Definition nums.h:32
u8 ip[4]
Definition addr.c:9
u8 gateway[4]
Definition addr.c:11
u8 netmasK[4]
Definition addr.c:10