40#ifndef RAW_SOCKET_SUPPORT
41 #define RAW_SOCKET_SUPPORT DISABLED
42#elif (RAW_SOCKET_SUPPORT != ENABLED && RAW_SOCKET_SUPPORT != DISABLED)
43 #error RAW_SOCKET_SUPPORT parameter is not valid
47#ifndef RAW_SOCKET_RX_QUEUE_SIZE
48 #define RAW_SOCKET_RX_QUEUE_SIZE 4
49#elif (RAW_SOCKET_RX_QUEUE_SIZE < 1)
50 #error RAW_SOCKET_RX_QUEUE_SIZE parameter is not valid
59error_t rawSocketProcessIpPacket(NetInterface *interface,
61 const NetRxAncillary *ancillary);
63void rawSocketProcessEthPacket(NetInterface *interface,
const uint8_t *data,
64 size_t length,
const NetRxAncillary *ancillary);
78void rawSocketUpdateEvents(Socket *socket);
error_t
Error codes.
Definition error.h:43
IPv4 and IPv6 common routines.
Structure describing a buffer that spans multiple chunks.
Definition net_mem.h:89
Message and ancillary data.
Definition socket.h:228