Searched refs:pcTftpSession (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/Devices/Network/slirp/
H A Dtftp.c132 DECLINLINE(int) tftpSecurityFilenameCheck(PNATState pData, PCTFTPSESSION pcTftpSession) argument
136 AssertPtrReturn(pcTftpSession, VERR_INVALID_PARAMETER);
137 cbSessionFilename = RTStrNLen((const char *)pcTftpSession->pszFilename, TFTP_FILENAME_MAX);
138 if ( !RTStrNCmp((const char*)pcTftpSession->pszFilename, "../", 3)
139 || (pcTftpSession->pszFilename[cbSessionFilename - 1] == '/')
140 || RTStrStr((const char *)pcTftpSession->pszFilename, "/../"))
224 DECLINLINE(int) tftpIsSupportedTransferMode(PCTFTPSESSION pcTftpSession) argument
226 AssertPtrReturn(pcTftpSession, 0);
227 return (pcTftpSession->enmTftpFmt == TFTPFMT_OCTET);
485 PTFTPSESSION pcTftpSession,
484 tftpReadDataBlock(PNATState pData, PTFTPSESSION pcTftpSession, uint8_t *pu8Data, int *pcbReadData) argument
[all...]

Completed in 51 milliseconds