Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/ntp/ntpd/
Dcmd_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 …]
Dntpd.c872 if (HAVE_OPT(NOFORK) || HAVE_OPT(QUIT)
876 || HAVE_OPT(SAVECONFIGQUIT))
881 if (HAVE_OPT(LOGFILE)) {
889 if (HAVE_OPT(SAVECONFIGQUIT))
933 if (uid && !HAVE_OPT( SAVECONFIGQUIT )
950 if (HAVE_OPT( MODIFYMMTIMER ))
958 if (HAVE_OPT( MDNS )) {
963 if (HAVE_OPT( NOVIRTUALIPS ))
969 if (HAVE_OPT( INTERFACE )) {
984 if (HAVE_OPT( NICE ))
[all …]
Dntpd-opts.h128 #define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n))) macro
Dntp_config.c3160 if (HAVE_OPT( SAVECONFIGQUIT )) { in config_rlimit()
3325 && (HAVE_OPT( NOVIRTUALIPS ) || HAVE_OPT( INTERFACE ))) { in config_nic_rules()
5213 if (HAVE_OPT( SAVECONFIGQUIT )) { in save_and_apply_config_tree()
5623 if (HAVE_OPT( SAVECONFIGQUIT )) { in ntp_rlimit()
Dntp_io.c497 if (already_opened || HAVE_OPT( SAVECONFIGQUIT )) in io_open_sockets()
/freebsd-12-stable/contrib/ntp/util/
Dntp-keygen.c390 if (HAVE_OPT( MD5KEY )) in main()
393 if (HAVE_OPT( PASSWORD )) in main()
396 if (HAVE_OPT( EXPORT_PASSWD )) in main()
399 if (HAVE_OPT( HOST_KEY )) in main()
402 if (HAVE_OPT( SIGN_KEY )) in main()
405 if (HAVE_OPT( GQ_PARAMS )) in main()
408 if (HAVE_OPT( IFFKEY )) in main()
411 if (HAVE_OPT( MV_PARAMS )) { in main()
415 if (HAVE_OPT( MV_KEYS )) { in main()
420 if (HAVE_OPT( IMBITS )) in main()
[all …]
Dntp-keygen-opts.h116 #define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n))) macro
/freebsd-12-stable/contrib/ntp/ntpsnmpd/
Dntpsnmpd.c57 if (!HAVE_OPT(NOFORK)) in main()
60 if (!HAVE_OPT(SYSLOG)) in main()
Dntpsnmpd-opts.h98 #define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n))) macro
/freebsd-12-stable/contrib/ntp/sntp/
Dmain.c172 if (HAVE_OPT(LOGFILE)) in sntp_main()
177 if (0 == argc && !HAVE_OPT(BROADCAST) && !HAVE_OPT(CONCURRENT)) { in sntp_main()
200 if (HAVE_OPT(IPV4)) in sntp_main()
202 else if (HAVE_OPT(IPV6)) in sntp_main()
256 if (HAVE_OPT(BROADCAST)) { in sntp_main()
266 if (HAVE_OPT(CONCURRENT)) { in sntp_main()
317 SET_PORT(&name, (HAVE_OPT(USERESERVEDPORT) ? 123 : 0)); in open_sockets()
352 SET_PORT(&name, (HAVE_OPT(USERESERVEDPORT) ? 123 : 0)); in open_sockets()
933 (time_derived && !HAVE_OPT(WAIT))) { in check_exit_conditions()
Dnetworking.c119 is_authentic = (HAVE_OPT(AUTHENTICATION)) ? 0 : -1; in process_pkt()
Dsntp-opts.h113 #define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n))) macro
/freebsd-12-stable/contrib/ntp/ntpdc/
Dntpdc.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()
Dntpdc-opts.h106 #define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n))) macro
/freebsd-12-stable/contrib/ntp/ntpq/
Dntpq-opts.h107 #define HAVE_OPT(n) (! UNUSED_OPT(& DESC(n))) macro
Dntpq.c580 if (HAVE_OPT(IPV4)) in ntpqmain()
582 else if (HAVE_OPT(IPV6)) in ntpqmain()
587 if (HAVE_OPT(INTERACTIVE)) in ntpqmain()
590 if (HAVE_OPT(NUMERIC)) in ntpqmain()
593 if (HAVE_OPT(WIDE)) in ntpqmain()
596 old_rv = HAVE_OPT(OLD_RV); in ntpqmain()
/freebsd-12-stable/contrib/ntp/
DCommitLog220307 Remove some confusing #ifdef's and replace "iffsw" with "HAVE_OPT(ID_KEY)".