Go to the source code of this file.
Functions | |
void | TimeSync_addWord (uint8_t *src, uint32_t word) |
Add a word to the packet stream. More... | |
void | TimeSync_addHalfWord (volatile uint8_t *src, uint16_t halfWord) |
Add a half word to the packet stream. More... | |
uint32_t | TimeSync_calcChecksum (uint8_t *packet, uint16_t len) |
Compute checksum used in IP/UDP packets for a given stream. More... | |
void | TimeSync_calcIPChecksum (uint8_t *packet) |
Compute checksum for IP Header and modify in place. More... | |
void | TimeSync_convEndianess (volatile void *src, volatile void *dst, uint8_t numBytes) |
Convert specified number of bytes in source from big endian bytes to little endian and vice versa. Assumption : More... | |
void | TimeSync_convEnd6to8 (volatile void *src, void *dst) |
Takes in a 6 byte reverse byte endian source and puts it in an 64 bit double word with correct endianness. This function is specific to PTP Assumption : More... | |