cloudFPGA (cF) API
1.0
The documentation of the source code of cloudFPGA (cF)
|
: Dynamic Host Configuration Protocol (DHCP) client. More...
#include <hls_stream.h>
#include "ap_int.h"
Go to the source code of this file.
Classes | |
struct | DhcpMetaRep |
struct | DhcpMetaReq |
struct | SocketAddr |
struct | UdpWord |
struct | UdpMeta |
Typedefs | |
typedef ap_uint< 16 > | UdpPLen |
typedef ap_uint< 16 > | UdpPort |
typedef bool | AxisAck |
typedef ap_uint< 1 > | SigOpn |
Enumerations | |
enum | DhcpOperationCode { DHCPDISCOVER = 0x01 , DHCPOFFER = 0x02 , DHCPREQUEST = 0x03 , DHCPACK = 0x05 } |
Functions | |
void | dhcp_client (ap_uint< 1 > &piMMIO_This_Enable, ap_uint< 48 > &piMMIO_This_MacAddress, ap_uint< 32 > &poTHIS_Nts_IpAddress, stream< AxisAck > &siUDMX_This_OpnAck, stream< UdpPort > &soTHIS_Udmx_OpnReq, stream< UdpWord > &siUDMX_This_Data, stream< UdpMeta > &siUDMX_This_Meta, stream< UdpWord > &soTHIS_Udmx_Data, stream< UdpMeta > &soTHIS_Udmx_Meta, stream< UdpPLen > &soTHIS_Udmx_PLen) |
Main process of the DHCP-client. More... | |
: Dynamic Host Configuration Protocol (DHCP) client.
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. Copyright (c) 2015, Xilinx, Inc.
All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
System: : cloudFPGA Component : Shell, Network Transport Stack (NTS) Language : Vivado HLS
Definition in file dhcp_client.hpp.
typedef bool AxisAck |
Generic Streaming Interfaces.
Definition at line 151 of file dhcp_client.hpp.
typedef ap_uint<1> SigOpn |
Other Constants and Definitions.
Definition at line 157 of file dhcp_client.hpp.
typedef ap_uint<16> UdpPLen |
Definition at line 142 of file dhcp_client.hpp.
typedef ap_uint<16> UdpPort |
Definition at line 144 of file dhcp_client.hpp.
enum DhcpOperationCode |
DHCP Specific Message Formats.
Enumerator | |
---|---|
DHCPDISCOVER | |
DHCPOFFER | |
DHCPREQUEST | |
DHCPACK |
Definition at line 86 of file dhcp_client.hpp.
void dhcp_client | ( | ap_uint< 1 > & | piMMIO_This_Enable, |
ap_uint< 48 > & | piMMIO_This_MacAddress, | ||
ap_uint< 32 > & | poTHIS_Nts_IpAddress, | ||
stream< AxisAck > & | siUDMX_This_OpnAck, | ||
stream< UdpPort > & | soTHIS_Udmx_OpnReq, | ||
stream< UdpWord > & | siUDMX_This_Data, | ||
stream< UdpMeta > & | siUDMX_This_Meta, | ||
stream< UdpWord > & | soTHIS_Udmx_Data, | ||
stream< UdpMeta > & | soTHIS_Udmx_Meta, | ||
stream< UdpPort > & | soTHIS_Udmx_PLen | ||
) |
Main process of the DHCP-client.
[in] | piMMIO_This_Enable | Enable signal from MMIO. |
[in] | piMMIO_This_MacAddress | MAC address from MMIO. |
[out] | poTHIS_Nts_IpAddress | IPv4 address from this DHCP. |
[in] | siUDMX_This_OpnAck | Open port acknowledgment from UDP-Mux. |
[out] | soTHIS_Udmx_OpnReq | Open port request to UDP-Mux. |
[in] | siUDMX_This_Data | Data path from the UDP-Mux. |
[in] | siUDMX_This_Meta | Metadata from the UDP-Mux. |
[out] | soTHIS_Udmx_Data | Data path to the UDP-Mux. |
[out] | soTHIS_Udmx_Meta | Metadata to the UDP-Mux. |
[out] | soTHIS_Udmx_PLen | Payload length to the UDP-Mux. |
Definition at line 474 of file dhcp_client.cpp.