bosko lekovic
/
ETHtoCOM_10
nova verzija tcp+udp->serial com
Ethernet/EthernetSetup.h
- Committer:
- bosko001
- Date:
- 2020-04-22
- Revision:
- 9:893843262a1f
- Parent:
- 5:c9a908749d4c
- Child:
- 10:15f7fea18a2f
File content as of revision 9:893843262a1f:
#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 ); void ethRestart( void ); void ethCancel( void ); void ethRiseUp( void ); #endif