nova verzija tcp+udp->serial com

Ethernet/EthernetSetup.h

Committer:
bosko001
Date:
2020-07-10
Revision:
26:c14d034d7459
Parent:
21:2232f5a34eb4

File content as of revision 26:c14d034d7459:

#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;
};


bool ethernet_setup( void );

int getEthernetStatus( void );

void ethCancel( void );


#endif