Download FreeRTOS
 

Quality RTOS & Embedded Software

LIBRARIES
WHAT'S NEW
Simplifying Authenticated Cloud Connectivity for Any Device.
Designing an energy efficient and cloud-connected IoT solution with CoAP.
Introducing FreeRTOS Kernel version 11.0.0:
FreeRTOS Roadmap and Code Contribution process.
OPC-UA over TSN with FreeRTOS.

FreeRTOS_MatchingEndpoint()

[Ethernet Driver Porting API]

FreeRTOS_Routing.h
NetworkEndPoint_t * FreeRTOS_MatchingEndpoint( const NetworkInterface_t * pxNetworkInterface,
                                               const uint8_t * pucEthernetBuffer );

FreeRTOS_MatchingEndpoint() is used to find out the best matching end-point given an incoming Ethernet packet.

Parameters:

pxInterface
The interface on which the packet was received.

pucEthernetBuffer
The Ethernet packet that was just received.

Returns:
The end-point that should handle the incoming Ethernet packet.

Example usage:
Examples are provided on the Porting FreeRTOS to a Different Microcontroller page. Search for FreeRTOS_MatchingEndpoint() on that page to find example source code.

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.