bosko lekovic
/
EthToCom_11
nova proba
Ethernet/EthernetSetup.h
- Committer:
- Bosko Lekovic
- Date:
- 2020-05-17
- Revision:
- 18:5ee53205451a
- Parent:
- 10:15f7fea18a2f
- Child:
- 21:2232f5a34eb4
File content as of revision 18:5ee53205451a:
#ifndef ETHERNETSETUP_H #define ETHERNETSETUP_H #include "EthernetInterface.h" #include "clubbing.h" struct S_EthernetAddress { char ip[16]; char mask[16]; char gate[16]; // int port; }; // //struct S_EthernetAddress_Remote //{ // char ip[16]; // int port; //}; struct S_net { struct S_EthernetAddress *ps_ea; EthernetInterface *p_eth; }; EthernetInterface * ethernet_setup( void ); int getEthernetStatus( void ); void ethRestart( void ); void ethCancel( void ); int ethRiseUp( void ); #endif