libIEC61850  0.8.0
Open-source IEC 61850 MMS/GOOSE server and client library
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Typedefs | Functions
ethernet.h File Reference
#include <stdint.h>

Go to the source code of this file.

Typedefs

typedef struct sEthernetSocket * EthernetSocket
 

Functions

void Ethernet_getInterfaceMACAddress (char *interfaceId, uint8_t *addr)
 
EthernetSocket Ethernet_createSocket (char *interfaceId, uint8_t *destAddress)
 
void Ethernet_destroySocket (EthernetSocket ethSocket)
 
void Ethernet_sendPacket (EthernetSocket ethSocket, uint8_t *buffer, int packetSize)
 
void Ethernet_setProtocolFilter (EthernetSocket ethSocket, uint16_t etherType)
 
int Ethernet_receivePacket (EthernetSocket self, uint8_t *buffer, int bufferSize)