Ultibo API
C/C++ API for Ultibo Core
Loading...
Searching...
No Matches
_NETWORK_DEVICE Struct Reference

#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_DEVICEprev
 Previous entry in Network table.
NETWORK_DEVICEnext
 Next entry in Network table.

Field Documentation

◆ device

DEVICE device

The Device entry for this Network.

◆ networkid

uint32_t networkid

Unique Id of this Network in the Network table.

◆ networkstate

uint32_t networkstate

Network state (eg NETWORK_STATE_OPEN).

◆ networkstatus

uint32_t networkstatus

Network status (eg NETWORK_STATUS_UP).

◆ deviceopen

A Device specific DeviceOpen method implementing a standard Network device interface.

◆ deviceclose

A Device specific DeviceClose method implementing a standard Network device interface.

◆ deviceread

A Device specific DeviceRead method implementing a standard Network device interface.

◆ devicewrite

A Device specific DeviceWrite method implementing a standard Network device interface.

◆ devicecontrol

A Device specific DeviceControl method implementing a standard Network device interface.

◆ bufferallocate

A Device specific BufferAllocate method implementing a standard Network device interface.

◆ bufferrelease

A Device specific BufferRelease method implementing a standard Network device interface.

◆ bufferreceive

A Device specific BufferReceive method implementing a standard Network device interface.

◆ buffertransmit

A Device specific BufferTransmit method implementing a standard Network device interface.

◆ lock

Network lock.

◆ buffer

Network receive buffer.

◆ transmitwait

SEMAPHORE_HANDLE transmitwait

Transmit complete semaphore.

◆ receivebuffer

BUFFER_HANDLE receivebuffer

Buffer for receive packets.

◆ transmitbuffer

BUFFER_HANDLE transmitbuffer

Buffer for transmit packets.

◆ receivequeue

NETWORK_QUEUE receivequeue

Queue for receive packets.

◆ transmitqueue

NETWORK_QUEUE transmitqueue

Queue for transmit packets (If applicable).

◆ receivebytes

uint64_t receivebytes

◆ receivecount

uint64_t receivecount

◆ receiveerrors

uint64_t receiveerrors

◆ transmitbytes

uint64_t transmitbytes

◆ transmitcount

uint64_t transmitcount

◆ transmiterrors

uint64_t transmiterrors

◆ statuscount

uint64_t statuscount

◆ statuserrors

uint64_t statuserrors

◆ bufferoverruns

uint64_t bufferoverruns

◆ bufferunavailable

uint64_t bufferunavailable

◆ prev

Previous entry in Network table.

◆ next

Next entry in Network table.


The documentation for this struct was generated from the following file: