types.h 175 Bytes
Newer Older
Tomasz Wlostowski's avatar
Tomasz Wlostowski committed
1 2 3 4 5 6
#ifndef __TYPES_H
#define __TYPES_H

#include <inttypes.h> 

struct hw_timestamp {
7
  uint8_t valid;
Tomasz Wlostowski's avatar
Tomasz Wlostowski committed
8
  int ahead;
9
  uint64_t sec;
Tomasz Wlostowski's avatar
Tomasz Wlostowski committed
10 11 12 13
  uint32_t nsec;
  uint32_t phase;
};

14
#endif