![]() |
Network Component
Version 7.5.0
MDK Middleware for IPv4 and IPv6 Networking
|
Events generated by the Network - TFTP Server functions. More...
Functions | |
__STATIC_INLINE void | EvrNetTFTPs_InitServer (uint32_t num_sessions, uint16_t port, uint8_t firewall_en) |
Event on TFTP server initialize (Op) More... | |
__STATIC_INLINE void | EvrNetTFTPs_ShowRootFolder (const char *root_folder, uint32_t length) |
Event on TFTP server display root folder (Op) More... | |
__STATIC_INLINE void | EvrNetTFTPs_GetSocketFailed (uint8_t session) |
Event on TFTP server failed to allocate UDP socket (Error) More... | |
__STATIC_INLINE void | EvrNetTFTPs_SetRootPath (const char *path, uint32_t length) |
Event on TFTP server netTFTPs_SetRootPath (API) More... | |
__STATIC_INLINE void | EvrNetTFTPs_StartService (uint16_t port) |
Event on TFTP server start service (Op) More... | |
__STATIC_INLINE void | EvrNetTFTPs_StopService (void) |
Event on TFTP server stop service (Op) More... | |
__STATIC_INLINE void | EvrNetTFTPs_TimeoutExpiredAbort (uint8_t session) |
Event on TFTP server session timeout expired, abort transfer (Error) More... | |
__STATIC_INLINE void | EvrNetTFTPs_SendBlock (uint8_t session, uint32_t block_nr, uint32_t length) |
Event on TFTP server send block (Op) More... | |
__STATIC_INLINE void | EvrNetTFTPs_ReceiveFrame (int32_t socket, uint32_t length) |
Event on TFTP server receive frame (Op) More... | |
__STATIC_INLINE void | EvrNetTFTPs_FrameTooShort (uint32_t length, uint32_t min_length) |
Event on TFTP server received frame too short (Error) More... | |
__STATIC_INLINE void | EvrNetTFTPs_UserAccessDeniedIp4 (const void *net_addr) |
Event on TFTP server user denied access for IPv4 client (Error) More... | |
__STATIC_INLINE void | EvrNetTFTPs_UserAccessDeniedIp6 (const void *net_addr) |
Event on TFTP server user denied access for IPv6 client (Error) More... | |
__STATIC_INLINE void | EvrNetTFTPs_AccessDeniedNoResources (void) |
Event on TFTP server denied client access on out of resources (Error) More... | |
__STATIC_INLINE void | EvrNetTFTPs_ShowClientAddressIp4 (const void *net_addr) |
Event on TFTP server display client IPv4 address and port number (Op) More... | |
__STATIC_INLINE void | EvrNetTFTPs_ShowClientAddressIp6 (const void *net_addr) |
Event on TFTP server display client IPv6 address and port number (Op) More... | |
__STATIC_INLINE void | EvrNetTFTPs_OperationRequest (uint8_t session, uint16_t tftp_opcode) |
Event on TFTP server process operation request (Op) More... | |
__STATIC_INLINE void | EvrNetTFTPs_SessionRestart (uint8_t session) |
Event on TFTP server session restart, maybe our response was lost (Op) More... | |
__STATIC_INLINE void | EvrNetTFTPs_InvalidTransferId (uint8_t session) |
Event on TFTP server invalid transfer id (TID) detected (Error) More... | |
__STATIC_INLINE void | EvrNetTFTPs_ErrorCodeReceived (uint8_t session, uint16_t error_code) |
Event on TFTP server error code received from the client (Error) More... | |
__STATIC_INLINE void | EvrNetTFTPs_IllegalOpcodeReceived (uint8_t session, uint16_t tftp_opcode) |
Event on TFTP server illegal operation code received from the client (Error) More... | |
__STATIC_INLINE void | EvrNetTFTPs_FileRequested (const char *fname, uint32_t length) |
Event on TFTP server received file request from the client (Op) More... | |
__STATIC_INLINE void | EvrNetTFTPs_TransferBlockSize (uint8_t session, uint16_t block_size) |
Event on TFTP server display transfer block size (Op) More... | |
__STATIC_INLINE void | EvrNetTFTPs_TransferModeNotBinary (uint8_t session) |
Event on TFTP server transfer mode not set to binary (Error) More... | |
__STATIC_INLINE void | EvrNetTFTPs_LocalFileNotFound (uint8_t session) |
Event on TFTP server error, requested file not found on server (Error) More... | |
__STATIC_INLINE void | EvrNetTFTPs_LocalFileCreateFailed (uint8_t session) |
Event on TFTP server local file create failed (Error) More... | |
__STATIC_INLINE void | EvrNetTFTPs_ReceiveDataFrame (uint8_t session, uint32_t length) |
Event on TFTP server receive data frame (Op) More... | |
__STATIC_INLINE void | EvrNetTFTPs_DataFrameTooShort (uint8_t session, uint32_t length, uint32_t min_length) |
Event on TFTP server received data frame too short (Error) More... | |
__STATIC_INLINE void | EvrNetTFTPs_DuplicateBlockReceived (uint8_t session, uint32_t block_nr) |
Event on TFTP server duplicate block received (Op) More... | |
__STATIC_INLINE void | EvrNetTFTPs_TooManyRetries (uint8_t session) |
Event on TFTP server too many retransmissions (Error) More... | |
__STATIC_INLINE void | EvrNetTFTPs_BlockReceived (uint8_t session, uint32_t block_nr) |
Event on TFTP server data block received (Op) More... | |
__STATIC_INLINE void | EvrNetTFTPs_InvalidBlockReceived (uint8_t session, uint32_t block_nr) |
Event on TFTP server invalid block received (Error) More... | |
__STATIC_INLINE void | EvrNetTFTPs_WriteErrorDiskFull (uint8_t session, uint32_t length) |
Event on TFTP server write local disk failed, disk full (Error) More... | |
__STATIC_INLINE void | EvrNetTFTPs_BlockAckReceived (uint8_t session, uint32_t block_nr) |
Event on TFTP server block acknowledge received (Op) More... | |
__STATIC_INLINE void | EvrNetTFTPs_BlockRetransmit (uint8_t session, uint32_t block_nr) |
Event on TFTP server block retransmit (Op) More... | |
__STATIC_INLINE void | EvrNetTFTPs_InvalidBlockAck (uint8_t session, uint32_t block_nr) |
Event on TFTP server invalid block acknowledge received (Error) More... | |
__STATIC_INLINE void | EvrNetTFTPs_ShowRequestMode (const uint8_t *mode, uint32_t length) |
Event on TFTP server display received request mode parameter (Op) More... | |
__STATIC_INLINE void | EvrNetTFTPs_SendOptionAck (uint8_t session, uint32_t block_size) |
Event on TFTP server send option acknowledgment (Op) More... | |
__STATIC_INLINE void | EvrNetTFTPs_SendBlockAck (uint8_t session, uint16_t block_nr) |
Event on TFTP server send block acknowledgment (Op) More... | |
__STATIC_INLINE void | EvrNetTFTPs_SendError (uint8_t session, uint16_t error_nr) |
Event on TFTP server send error code (Op) More... | |
__STATIC_INLINE void | EvrNetTFTPs_AbortSession (uint8_t session) |
Event on TFTP server abnormal session close on error (Op) More... | |
__STATIC_INLINE void | EvrNetTFTPs_CloseSession (uint8_t session) |
Event on TFTP server normal session close (Op) More... | |
Events generated by the Network - TFTP Server functions.
__STATIC_INLINE void EvrNetTFTPs_AbortSession | ( | uint8_t | session | ) |
Event on TFTP server abnormal session close on error (Op)
session | session number |
__STATIC_INLINE void EvrNetTFTPs_AccessDeniedNoResources | ( | void | ) |
Event on TFTP server denied client access on out of resources (Error)
__STATIC_INLINE void EvrNetTFTPs_BlockAckReceived | ( | uint8_t | session, |
uint32_t | block_nr | ||
) |
Event on TFTP server block acknowledge received (Op)
session | session number |
block_nr | block number |
__STATIC_INLINE void EvrNetTFTPs_BlockReceived | ( | uint8_t | session, |
uint32_t | block_nr | ||
) |
Event on TFTP server data block received (Op)
session | session number |
block_nr | block number |
__STATIC_INLINE void EvrNetTFTPs_BlockRetransmit | ( | uint8_t | session, |
uint32_t | block_nr | ||
) |
Event on TFTP server block retransmit (Op)
session | session number |
block_nr | block number |
__STATIC_INLINE void EvrNetTFTPs_CloseSession | ( | uint8_t | session | ) |
Event on TFTP server normal session close (Op)
session | session number |
__STATIC_INLINE void EvrNetTFTPs_DataFrameTooShort | ( | uint8_t | session, |
uint32_t | length, | ||
uint32_t | min_length | ||
) |
Event on TFTP server received data frame too short (Error)
session | session number |
length | frame length in bytes |
min_length | minimum length of the frame |
__STATIC_INLINE void EvrNetTFTPs_DuplicateBlockReceived | ( | uint8_t | session, |
uint32_t | block_nr | ||
) |
Event on TFTP server duplicate block received (Op)
session | session number |
block_nr | block number |
__STATIC_INLINE void EvrNetTFTPs_ErrorCodeReceived | ( | uint8_t | session, |
uint16_t | error_code | ||
) |
Event on TFTP server error code received from the client (Error)
session | session number |
error_code | TFTP error code
|
__STATIC_INLINE void EvrNetTFTPs_FileRequested | ( | const char * | fname, |
uint32_t | length | ||
) |
Event on TFTP server received file request from the client (Op)
fname | name of the requested file |
length | length of the fname string |
__STATIC_INLINE void EvrNetTFTPs_FrameTooShort | ( | uint32_t | length, |
uint32_t | min_length | ||
) |
Event on TFTP server received frame too short (Error)
length | frame length in bytes |
min_length | minimum length of the frame |
__STATIC_INLINE void EvrNetTFTPs_GetSocketFailed | ( | uint8_t | session | ) |
Event on TFTP server failed to allocate UDP socket (Error)
session | session number (0= control session) |
__STATIC_INLINE void EvrNetTFTPs_IllegalOpcodeReceived | ( | uint8_t | session, |
uint16_t | tftp_opcode | ||
) |
Event on TFTP server illegal operation code received from the client (Error)
session | session number |
tftp_opcode | TFTP operation code
|
__STATIC_INLINE void EvrNetTFTPs_InitServer | ( | uint32_t | num_sessions, |
uint16_t | port, | ||
uint8_t | firewall_en | ||
) |
Event on TFTP server initialize (Op)
num_sessions | number of available TFTP sessions |
port | listening port number |
firewall_en | firewall support enable
|
__STATIC_INLINE void EvrNetTFTPs_InvalidBlockAck | ( | uint8_t | session, |
uint32_t | block_nr | ||
) |
Event on TFTP server invalid block acknowledge received (Error)
session | session number |
block_nr | block number |
__STATIC_INLINE void EvrNetTFTPs_InvalidBlockReceived | ( | uint8_t | session, |
uint32_t | block_nr | ||
) |
Event on TFTP server invalid block received (Error)
session | session number |
block_nr | block number |
__STATIC_INLINE void EvrNetTFTPs_InvalidTransferId | ( | uint8_t | session | ) |
Event on TFTP server invalid transfer id (TID) detected (Error)
session | session number |
__STATIC_INLINE void EvrNetTFTPs_LocalFileCreateFailed | ( | uint8_t | session | ) |
Event on TFTP server local file create failed (Error)
session | session number |
__STATIC_INLINE void EvrNetTFTPs_LocalFileNotFound | ( | uint8_t | session | ) |
Event on TFTP server error, requested file not found on server (Error)
session | session number |
__STATIC_INLINE void EvrNetTFTPs_OperationRequest | ( | uint8_t | session, |
uint16_t | tftp_opcode | ||
) |
Event on TFTP server process operation request (Op)
session | session number |
tftp_opcode | TFTP operation code
|
__STATIC_INLINE void EvrNetTFTPs_ReceiveDataFrame | ( | uint8_t | session, |
uint32_t | length | ||
) |
Event on TFTP server receive data frame (Op)
session | session number |
length | frame length in bytes |
__STATIC_INLINE void EvrNetTFTPs_ReceiveFrame | ( | int32_t | socket, |
uint32_t | length | ||
) |
Event on TFTP server receive frame (Op)
socket | assigned UDP socket |
length | frame length in bytes |
__STATIC_INLINE void EvrNetTFTPs_SendBlock | ( | uint8_t | session, |
uint32_t | block_nr, | ||
uint32_t | length | ||
) |
Event on TFTP server send block (Op)
session | session number |
block_nr | block number |
length | length of a block |
__STATIC_INLINE void EvrNetTFTPs_SendBlockAck | ( | uint8_t | session, |
uint16_t | block_nr | ||
) |
Event on TFTP server send block acknowledgment (Op)
session | session number |
block_nr | block number |
__STATIC_INLINE void EvrNetTFTPs_SendError | ( | uint8_t | session, |
uint16_t | error_nr | ||
) |
Event on TFTP server send error code (Op)
session | session number |
error_nr | TFTP error number
|
__STATIC_INLINE void EvrNetTFTPs_SendOptionAck | ( | uint8_t | session, |
uint32_t | block_size | ||
) |
Event on TFTP server send option acknowledgment (Op)
session | session number |
block_size | block size |
__STATIC_INLINE void EvrNetTFTPs_SessionRestart | ( | uint8_t | session | ) |
Event on TFTP server session restart, maybe our response was lost (Op)
session | session number |
__STATIC_INLINE void EvrNetTFTPs_SetRootPath | ( | const char * | path, |
uint32_t | length | ||
) |
Event on TFTP server netTFTPs_SetRootPath (API)
path | path to server root folder |
length | length of the path string |
__STATIC_INLINE void EvrNetTFTPs_ShowClientAddressIp4 | ( | const void * | net_addr | ) |
Event on TFTP server display client IPv4 address and port number (Op)
net_addr | pointer to NET_ADDR4 address structure (8 bytes) |
__STATIC_INLINE void EvrNetTFTPs_ShowClientAddressIp6 | ( | const void * | net_addr | ) |
Event on TFTP server display client IPv6 address and port number (Op)
net_addr | pointer to NET_ADDR address structure (20 bytes) |
__STATIC_INLINE void EvrNetTFTPs_ShowRequestMode | ( | const uint8_t * | mode, |
uint32_t | length | ||
) |
Event on TFTP server display received request mode parameter (Op)
mode | mode parameter in text format |
length | length of the mode string |
__STATIC_INLINE void EvrNetTFTPs_ShowRootFolder | ( | const char * | root_folder, |
uint32_t | length | ||
) |
Event on TFTP server display root folder (Op)
root_folder | path to server root folder |
length | length of the root_folder string |
__STATIC_INLINE void EvrNetTFTPs_StartService | ( | uint16_t | port | ) |
Event on TFTP server start service (Op)
port | listening port number |
__STATIC_INLINE void EvrNetTFTPs_StopService | ( | void | ) |
Event on TFTP server stop service (Op)
__STATIC_INLINE void EvrNetTFTPs_TimeoutExpiredAbort | ( | uint8_t | session | ) |
Event on TFTP server session timeout expired, abort transfer (Error)
session | session number |
__STATIC_INLINE void EvrNetTFTPs_TooManyRetries | ( | uint8_t | session | ) |
Event on TFTP server too many retransmissions (Error)
session | session number |
__STATIC_INLINE void EvrNetTFTPs_TransferBlockSize | ( | uint8_t | session, |
uint16_t | block_size | ||
) |
Event on TFTP server display transfer block size (Op)
session | session number |
block_size | size of transfer block |
__STATIC_INLINE void EvrNetTFTPs_TransferModeNotBinary | ( | uint8_t | session | ) |
Event on TFTP server transfer mode not set to binary (Error)
session | session number |
__STATIC_INLINE void EvrNetTFTPs_UserAccessDeniedIp4 | ( | const void * | net_addr | ) |
Event on TFTP server user denied access for IPv4 client (Error)
net_addr | pointer to NET_ADDR4 address structure (8 bytes) |
__STATIC_INLINE void EvrNetTFTPs_UserAccessDeniedIp6 | ( | const void * | net_addr | ) |
Event on TFTP server user denied access for IPv6 client (Error)
net_addr | pointer to NET_ADDR address structure (20 bytes) |
__STATIC_INLINE void EvrNetTFTPs_WriteErrorDiskFull | ( | uint8_t | session, |
uint32_t | length | ||
) |
Event on TFTP server write local disk failed, disk full (Error)
session | session number |
length | block data length |