CDI SDK
SDK for transporting chunks of data reliably and with low latency using a polled mode network driver.
Loading...
Searching...
No Matches
adapter_efa_probe_rx.h
Go to the documentation of this file.
1// -------------------------------------------------------------------------------------------
2// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
3// This file is part of the AWS CDI-SDK, licensed under the BSD 2-Clause "Simplified" License.
4// License details at: https://github.com/aws/aws-cdi-sdk/blob/mainline/LICENSE
5// -------------------------------------------------------------------------------------------
6
13#ifndef CDI_ADAPTER_EFA_PROBE_RX_H__
14#define CDI_ADAPTER_EFA_PROBE_RX_H__
15
16#include <stdbool.h>
17#include <stdint.h>
18
19#include "adapter_api.h"
20
21//*********************************************************************************************************************
22//***************************************** START OF DEFINITIONS AND TYPES ********************************************
23//*********************************************************************************************************************
24
27
28//*********************************************************************************************************************
29//******************************************* START OF PUBLIC FUNCTIONS ***********************************************
30//*********************************************************************************************************************
31
41void ProbeRxEfaMessageFromEndpoint(void* param_ptr, Packet* packet_ptr, EndpointMessageType message_type);
42
51void ProbeRxControlMessageFromEndpoint(void* param_ptr, Packet* packet_ptr);
52
65bool ProbeRxControlProcessPacket(ProbeEndpointState* probe_ptr, const CdiDecodedProbeHeader* probe_hdr_ptr,
66 const struct sockaddr_in* source_address_ptr, uint64_t* wait_timeout_ms_ptr);
67
77
78#endif // CDI_ADAPTER_EFA_PROBE_RX_H__
The declarations in this header file correspond to the definitions in adapter.c.
EndpointMessageType
Definition adapter_api.h:93
uint64_t ProbeRxControlProcessProbeState(ProbeEndpointState *probe_ptr)
Definition adapter_efa_probe_rx.c:327
bool ProbeRxControlProcessPacket(ProbeEndpointState *probe_ptr, const CdiDecodedProbeHeader *probe_hdr_ptr, const struct sockaddr_in *source_address_ptr, uint64_t *wait_timeout_ms_ptr)
Definition adapter_efa_probe_rx.c:244
void ProbeRxEfaMessageFromEndpoint(void *param_ptr, Packet *packet_ptr, EndpointMessageType message_type)
Definition adapter_efa_probe_rx.c:142
void ProbeRxControlMessageFromEndpoint(void *param_ptr, Packet *packet_ptr)
Definition adapter_efa_probe_rx.c:165
Union of decoded probe headers. Use to reserve memory that can be used to hold any type of decoded CD...
Definition protocol.h:173
Union of raw probe headers. Use to reserve memory that can be used to hold any type of raw probe head...
Definition protocol.h:224
Definition adapter_api.h:42
This defines a structure that contains all of the state information for the sending side of a single ...
Definition adapter_efa_probe.h:121