BlinkenArea - GitList
Repositories
Blog
Wiki
mips_sys
Code
Commits
Branches
Tags
Search
Tree:
cc0f06d
Branches
Tags
master
mips_sys
fw
config.c
implementation of ethernet and ARP (not completely working yet, hangs on received ARP request)
Stefan Schuermans
commited
cc0f06d
at 2012-03-17 01:03:19
config.c
Blame
History
Raw
#include "config.h" #include "macros.h" #include "nethelp.h" // MAC address /* extern */ struct config_mac config_mac = { .mac = { 0x02, 0x4D, 0x49, 0x50, 0x53, 0x01 } }; // IP configuration /* extern */ struct config_ip config_ip = { .ip = { 192, 168, 0, 89 }, .mask = { 255, 255, 0, 0 }, .gw = { 192, 168, 0, 1 } };