ca04d9908fb6ec70151d194aab9b134b3550d901
Stefan Schuermans implementation of ethernet...

Stefan Schuermans authored 12 years ago

1) #include "config.h"
2) #include "macros.h"
3) #include "nethelp.h"
4) 
Stefan Schuermans implement DHCP (not yet bug...

Stefan Schuermans authored 12 years ago

5) /// MAC address
Stefan Schuermans implementation of ethernet...

Stefan Schuermans authored 12 years ago

6) /* extern */ struct config_mac config_mac = {
7)   .mac = { 0x02, 0x4D, 0x49, 0x50, 0x53, 0x01 }
8) };
9) 
Stefan Schuermans implement DHCP (not yet bug...

Stefan Schuermans authored 12 years ago

10) /**
11)  * @brief IP configuration
12)  *
13)  * fill with meaningful data for static configuration
14)  * or fill with zeros for DHCP
15)  */
Stefan Schuermans implementation of ethernet...

Stefan Schuermans authored 12 years ago

16) /* extern */ struct config_ip config_ip = {
Stefan Schuermans implement DHCP (not yet bug...

Stefan Schuermans authored 12 years ago

17) #if 0
Stefan Schuermans implementation of ethernet...

Stefan Schuermans authored 12 years ago

18)   .ip = { 192, 168, 0, 89 },
Stefan Schuermans fix subnet mask

Stefan Schuermans authored 12 years ago

19)   .mask = { 255, 255, 255, 0 },
Stefan Schuermans implementation of ethernet...

Stefan Schuermans authored 12 years ago

20)   .gw = { 192, 168, 0, 1 }
Stefan Schuermans implement DHCP (not yet bug...

Stefan Schuermans authored 12 years ago

21) #else
22)   .ip = { 0, 0, 0, 0 },
23)   .mask = { 0, 0, 0, 0 },
24)   .gw = { 0, 0, 0, 0 }
25) #endif