cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
http.cpp File Reference

: More...

#include <stdint.h>
#include "ap_int.h"
#include "ap_utils.h"
#include <assert.h>
#include "fmc.hpp"
#include "http.hpp"
Include dependency graph for http.cpp:

Go to the source code of this file.

Functions

int my_strlen (char *s)
 
int my_wordlen (char *s)
 
int writeString (char *s)
 
void strrev (char *str)
 
int writeUnsignedLong (unsigned long num, uint8_t base)
 
void my_itoa (unsigned long num, char *arr, unsigned char base)
 
int my_atoi (char *str, int strlen)
 
int8_t writeHttpStatus (int status, uint16_t content_length)
 
int my_strcmp (char *tmp1, volatile uint8_t tmp2[4096], int max_length)
 
int request_len (ap_uint< 16 > offset, int maxLength)
 
int8_t extract_path (bool rx_done)
 
void parseHttpInput (bool transferErr, ap_uint< 1 > wasAbort, bool invalidPayload, bool rx_done)
 

Variables

uint8_t reqType = 0x01
 

Detailed Description

:

Copyright 2016 – 2021 IBM Corporation

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

System: : cloudFPGA Component : Shell, FPGA Management Core (FMC) Language : Vivado HLS

Definition in file http.cpp.