USHRT_MAX Constant

limits.h

#define USHRT_MAX 0xFFFFU

Maximal value which can be stored in an unsigned short variable.