Home
last modified time | relevance | path

Searched refs:HAVE_OPT (Results 1 – 17 of 17) sorted by relevance

/freebsd-11-stable/contrib/ntp/ntpd/
HDcmd_args.c46 if (HAVE_OPT( IPV4 )) in getCmdOpts()
48 else if (HAVE_OPT( IPV6 )) in getCmdOpts()
53 } else if (HAVE_OPT( IPV4 ) && !ipv4_works) in getCmdOpts()
55 else if (HAVE_OPT( IPV6 ) && !ipv6_works) in getCmdOpts()
58 if (HAVE_OPT( AUTHREQ )) in getCmdOpts()
60 else if (HAVE_OPT( AUTHNOREQ )) in getCmdOpts()
63 if (HAVE_OPT( BCASTSYNC )) in getCmdOpts()
66 if (HAVE_OPT( CONFIGFILE )) { in getCmdOpts()
73 if (HAVE_OPT( DRIFTFILE )) in getCmdOpts()
76 if (HAVE_OPT( PANICGATE )) in getCmdOpts()
[all …]
HDntpd.c847 if (HAVE_OPT(NOFORK) || HAVE_OPT(QUIT)
851 || HAVE_OPT(SAVECONFIGQUIT))
856 if (HAVE_OPT(LOGFILE)) {
864 if (HAVE_OPT(SAVECONFIGQUIT))
904 if (uid && !HAVE_OPT( SAVECONFIGQUIT )) {
916 if (HAVE_OPT( MODIFYMMTIMER ))
924 if (HAVE_OPT( MDNS )) {
929 if (HAVE_OPT( NOVIRTUALIPS ))
935 if (HAVE_OPT( INTERFACE )) {
950 if (HAVE_OPT( NICE ))
[all …]
HDntpd-opts.h120 #define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n))) macro
HDntp_config.c3085 if (HAVE_OPT( SAVECONFIGQUIT )) { in config_rlimit()
3250 && (HAVE_OPT( NOVIRTUALIPS ) || HAVE_OPT( INTERFACE ))) { in config_nic_rules()
5051 if (HAVE_OPT( SAVECONFIGQUIT )) { in save_and_apply_config_tree()
5461 if (HAVE_OPT( SAVECONFIGQUIT )) { in ntp_rlimit()
HDntp_io.c497 if (already_opened || HAVE_OPT( SAVECONFIGQUIT )) in io_open_sockets()
/freebsd-11-stable/contrib/ntp/util/
HDntp-keygen.c386 if (HAVE_OPT( MD5KEY )) in main()
389 if (HAVE_OPT( PASSWORD )) in main()
392 if (HAVE_OPT( EXPORT_PASSWD )) in main()
395 if (HAVE_OPT( HOST_KEY )) in main()
398 if (HAVE_OPT( SIGN_KEY )) in main()
401 if (HAVE_OPT( GQ_PARAMS )) in main()
404 if (HAVE_OPT( IFFKEY )) in main()
407 if (HAVE_OPT( MV_PARAMS )) { in main()
411 if (HAVE_OPT( MV_KEYS )) { in main()
416 if (HAVE_OPT( IMBITS )) in main()
[all …]
HDntp-keygen-opts.h108 #define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n))) macro
/freebsd-11-stable/contrib/ntp/ntpsnmpd/
HDntpsnmpd.c57 if (!HAVE_OPT(NOFORK)) in main()
60 if (!HAVE_OPT(SYSLOG)) in main()
HDntpsnmpd-opts.h90 #define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n))) macro
/freebsd-11-stable/contrib/ntp/sntp/
HDmain.c171 if (HAVE_OPT(LOGFILE)) in sntp_main()
176 if (0 == argc && !HAVE_OPT(BROADCAST) && !HAVE_OPT(CONCURRENT)) { in sntp_main()
199 if (HAVE_OPT(IPV4)) in sntp_main()
201 else if (HAVE_OPT(IPV6)) in sntp_main()
255 if (HAVE_OPT(BROADCAST)) { in sntp_main()
265 if (HAVE_OPT(CONCURRENT)) { in sntp_main()
316 SET_PORT(&name, (HAVE_OPT(USERESERVEDPORT) ? 123 : 0)); in open_sockets()
351 SET_PORT(&name, (HAVE_OPT(USERESERVEDPORT) ? 123 : 0)); in open_sockets()
932 (time_derived && !HAVE_OPT(WAIT))) { in check_exit_conditions()
HDnetworking.c119 is_authentic = (HAVE_OPT(AUTHENTICATION)) ? 0 : -1; in process_pkt()
HDsntp-opts.h105 #define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n))) macro
/freebsd-11-stable/contrib/ntp/ntpdc/
HDntpdc.c314 if (HAVE_OPT(IPV4)) in ntpdcmain()
316 else if (HAVE_OPT(IPV6)) in ntpdcmain()
321 if (HAVE_OPT(COMMAND)) { in ntpdcmain()
332 if (HAVE_OPT(INTERACTIVE)) { in ntpdcmain()
336 if (HAVE_OPT(NUMERIC)) { in ntpdcmain()
340 if (HAVE_OPT(LISTPEERS)) { in ntpdcmain()
344 if (HAVE_OPT(PEERS)) { in ntpdcmain()
348 if (HAVE_OPT(SHOWPEERS)) { in ntpdcmain()
HDntpdc-opts.h97 #define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n))) macro
/freebsd-11-stable/contrib/ntp/ntpq/
HDntpq-opts.h98 #define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n))) macro
HDntpq.c571 if (HAVE_OPT(IPV4)) in ntpqmain()
573 else if (HAVE_OPT(IPV6)) in ntpqmain()
578 if (HAVE_OPT(INTERACTIVE)) in ntpqmain()
581 if (HAVE_OPT(NUMERIC)) in ntpqmain()
584 if (HAVE_OPT(WIDE)) in ntpqmain()
587 old_rv = HAVE_OPT(OLD_RV); in ntpqmain()
/freebsd-11-stable/contrib/ntp/
HDCommitLog214172 Remove some confusing #ifdef's and replace "iffsw" with "HAVE_OPT(ID_KEY)".