/* configure the transmit IP frame checksum offload calculation and insertion  */
void enet_transmit_checksum_config(enet_descriptors_struct *desc, uint32_t checksum)
/* configure the transmit IP frame checksum offload calculation and insertion  */
void enet_transmit_checksum_config(enet_descriptors_struct *desc, uint32_t checksum)
{
    desc->status &= ~ENET_TDES0_CM;
    desc->status |= checksum;
}