Searched refs:rm_vn_mode (Results 1 – 2 of 2) sorted by relevance
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ntp.c | 119 show_mode(ntpp->rm_vn_mode & NTPMODEMASK)); in interpret_ntp() 317 (char *)(uintptr_t)ntpp->rm_vn_mode - dlc_header, 1), in interpret_ntp() 318 "Version = %hu", INFO_VERSION(ntpp->rm_vn_mode)); in interpret_ntp() 320 (char *)(uintptr_t)ntpp->rm_vn_mode - dlc_header, 1), in interpret_ntp() 321 "Mode = %hu (%s)", INFO_MODE(ntpp->rm_vn_mode), in interpret_ntp() 322 show_mode(INFO_MODE(ntpp->rm_vn_mode))); in interpret_ntp() 324 (char *)(uintptr_t)ntpp->rm_vn_mode - dlc_header, 1), in interpret_ntp() 325 "Flags = 0x%02hx", ntpp->rm_vn_mode); in interpret_ntp() 327 (char *)(uintptr_t)ntpp->rm_vn_mode - dlc_header, 1), in interpret_ntp() 329 getflag(ntpp->rm_vn_mode, RESP_BIT, "response", in interpret_ntp() [all …]
|
H A D | ntp.h | 507 uchar_t rm_vn_mode; /* response, more, version, mode */ member 518 #define INFO_VERSION(rm_vn_mode) ((uchar_t)(((rm_vn_mode)>>3) & 0x7)) argument 519 #define INFO_MODE(rm_vn_mode) ((rm_vn_mode) & 0x7) argument
|