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.