26 #ifndef PCC_COMMON_DEV_H_
27 #define PCC_COMMON_DEV_H_
33 #define __unused __attribute__((__unused__))
36 #define UDP_HDR_SIZE (8)
55 if (
unlikely(greater_num < smaller_num))
56 diff_res = UINT32_MAX - smaller_num + greater_num + 1;
58 diff_res = greater_num - smaller_num;
#define ALWAYS_INLINE
force inline wrapper
ALWAYS_INLINE uint32_t diff_with_wrap32(uint32_t greater_num, uint32_t smaller_num)