cloudFPGA (cF) API
1.0
The documentation of the source code of cloudFPGA (cF)
|
: The HTTP parsing functions for the FMC. More...
#include <stdint.h>
#include "ap_int.h"
Go to the source code of this file.
Macros | |
#define | REQ_INVALID 0x01 |
#define | POST_CONFIG 0x02 |
#define | GET_STATUS 0x40 |
#define | PUT_RANK 0x08 |
#define | PUT_SIZE 0x10 |
#define | POST_ROUTING 0x20 |
#define | CUSTOM_API 0x80 |
#define | RequestType uint8_t |
Functions | |
int | writeString (char *s) |
int8_t | writeHttpStatus (int status, uint16_t content_length) |
int | request_len (ap_uint< 16 > offset, int maxLength) |
int | my_wordlen (char *s) |
int | my_atoi (char *str, int strlen) |
int | writeUnsignedLong (unsigned long num, uint8_t base) |
void | parseHttpInput (bool transferErr, ap_uint< 1 > wasAbort, bool invalidPayload, bool rx_done) |
Variables | |
uint8_t | reqType |
: The HTTP parsing functions for the FMC.
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.hpp.