![]() |
Ultibo API
C/C++ API for Ultibo Core
|
#include <network.h>
Data Fields | |
| DEVICE | device |
| The Device entry for this Network. | |
| uint32_t | networkid |
| Unique Id of this Network in the Network table. | |
| uint32_t | networkstate |
| Network state (eg NETWORK_STATE_OPEN). | |
| uint32_t | networkstatus |
| Network status (eg NETWORK_STATUS_UP). | |
| network_device_open_proc | deviceopen |
| A Device specific DeviceOpen method implementing a standard Network device interface. | |
| network_device_close_proc | deviceclose |
| A Device specific DeviceClose method implementing a standard Network device interface. | |
| network_device_read_proc | deviceread |
| A Device specific DeviceRead method implementing a standard Network device interface. | |
| network_device_write_proc | devicewrite |
| A Device specific DeviceWrite method implementing a standard Network device interface. | |
| network_device_control_proc | devicecontrol |
| A Device specific DeviceControl method implementing a standard Network device interface. | |
| network_buffer_allocate_proc | bufferallocate |
| A Device specific BufferAllocate method implementing a standard Network device interface. | |
| network_buffer_release_proc | bufferrelease |
| A Device specific BufferRelease method implementing a standard Network device interface. | |
| network_buffer_receive_proc | bufferreceive |
| A Device specific BufferReceive method implementing a standard Network device interface. | |
| network_buffer_transmit_proc | buffertransmit |
| A Device specific BufferTransmit method implementing a standard Network device interface. | |
| MUTEX_HANDLE | lock |
| Network lock. | |
| NETWORK_BUFFER | buffer |
| Network receive buffer. | |
| SEMAPHORE_HANDLE | transmitwait |
| Transmit complete semaphore. | |
| BUFFER_HANDLE | receivebuffer |
| Buffer for receive packets. | |
| BUFFER_HANDLE | transmitbuffer |
| Buffer for transmit packets. | |
| NETWORK_QUEUE | receivequeue |
| Queue for receive packets. | |
| NETWORK_QUEUE | transmitqueue |
| Queue for transmit packets (If applicable). | |
| uint64_t | receivebytes |
| uint64_t | receivecount |
| uint64_t | receiveerrors |
| uint64_t | transmitbytes |
| uint64_t | transmitcount |
| uint64_t | transmiterrors |
| uint64_t | statuscount |
| uint64_t | statuserrors |
| uint64_t | bufferoverruns |
| uint64_t | bufferunavailable |
| NETWORK_DEVICE * | prev |
| Previous entry in Network table. | |
| NETWORK_DEVICE * | next |
| Next entry in Network table. | |
| DEVICE device |
The Device entry for this Network.
| uint32_t networkid |
Unique Id of this Network in the Network table.
| uint32_t networkstate |
Network state (eg NETWORK_STATE_OPEN).
| uint32_t networkstatus |
Network status (eg NETWORK_STATUS_UP).
| network_device_open_proc deviceopen |
A Device specific DeviceOpen method implementing a standard Network device interface.
| network_device_close_proc deviceclose |
A Device specific DeviceClose method implementing a standard Network device interface.
| network_device_read_proc deviceread |
A Device specific DeviceRead method implementing a standard Network device interface.
| network_device_write_proc devicewrite |
A Device specific DeviceWrite method implementing a standard Network device interface.
| network_device_control_proc devicecontrol |
A Device specific DeviceControl method implementing a standard Network device interface.
| network_buffer_allocate_proc bufferallocate |
A Device specific BufferAllocate method implementing a standard Network device interface.
| network_buffer_release_proc bufferrelease |
A Device specific BufferRelease method implementing a standard Network device interface.
| network_buffer_receive_proc bufferreceive |
A Device specific BufferReceive method implementing a standard Network device interface.
| network_buffer_transmit_proc buffertransmit |
A Device specific BufferTransmit method implementing a standard Network device interface.
| MUTEX_HANDLE lock |
Network lock.
| NETWORK_BUFFER buffer |
Network receive buffer.
| SEMAPHORE_HANDLE transmitwait |
Transmit complete semaphore.
| BUFFER_HANDLE receivebuffer |
Buffer for receive packets.
| BUFFER_HANDLE transmitbuffer |
Buffer for transmit packets.
| NETWORK_QUEUE receivequeue |
Queue for receive packets.
| NETWORK_QUEUE transmitqueue |
Queue for transmit packets (If applicable).
| uint64_t receivebytes |
| uint64_t receivecount |
| uint64_t receiveerrors |
| uint64_t transmitbytes |
| uint64_t transmitcount |
| uint64_t transmiterrors |
| uint64_t statuscount |
| uint64_t statuserrors |
| uint64_t bufferoverruns |
| uint64_t bufferunavailable |
| NETWORK_DEVICE* prev |
Previous entry in Network table.
| NETWORK_DEVICE* next |
Next entry in Network table.