nova verzija tcp+udp->serial com

EthernetSetup.h

Committer:
bosko001
Date:
2020-04-11
Revision:
4:7abcf4543282
Parent:
Ethernet/EthernetSetup.h@ 2:45b351b4fc2a

File content as of revision 4:7abcf4543282:

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



#endif