Searched defs:li_vn_mode (Results 1 - 2 of 2) sorted by relevance

/freebsd-head/contrib/ntp/include/
H A Dntp_control.h15 u_char li_vn_mode; /* leap, version, mode */ member in struct:ntp_control
H A Dntp.h546 u_char li_vn_mode; /* peer leap indicator */ member in struct:pkt
591 * Stuff for extracting things from li_vn_mode
593 #define PKT_MODE(li_vn_mode) ((u_char)((li_vn_mode) & 0x7))
594 #define PKT_VERSION(li_vn_mode) ((u_char)(((li_vn_mode) >> 3) & 0x7))
595 #define PKT_LEAP(li_vn_mode) ((u_char)(((li_vn_mode) >> 6) & 0x3))
598 * Stuff for putting things back into li_vn_mode in packets and vn_mode

Completed in 75 milliseconds