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

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

Completed in 213 milliseconds