sitara_depot/components/free_rtos/ethernet_ip/eth_ip_checksum.h

24 lines
405 B
C
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* eth_ip_checksum.h
*
* Created on: 14 мар. 2023 г.
* Author: sychev
*/
#ifndef FREE_RTOS_ETHERNET_IP_ETH_IP_CHECKSUM_H_
#define FREE_RTOS_ETHERNET_IP_ETH_IP_CHECKSUM_H_
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
uint16_t eth_ip_calcChecksum(uint16_t * const data, uint32_t length);
#ifdef __cplusplus
}
#endif
#endif /* FREE_RTOS_ETHERNET_IP_ETH_IP_CHECKSUM_H_ */