Lines Matching defs:flags

690 		ip->flags = 0;
691 if (pp->flags & FLAG_CONFIG)
692 ip->flags |= INFO_FLAG_CONFIG;
694 ip->flags |= INFO_FLAG_SYSPEER;
696 ip->flags |= INFO_FLAG_SEL_CANDIDATE;
698 ip->flags |= INFO_FLAG_SHORTLIST;
766 ips->flags = 0;
768 ips->flags |= INFO_FLAG_SYSPEER;
769 if (pp->flags & FLAG_CONFIG)
770 ips->flags |= INFO_FLAG_CONFIG;
771 if (pp->flags & FLAG_REFCLOCK)
772 ips->flags |= INFO_FLAG_REFCLOCK;
773 if (pp->flags & FLAG_PREFER)
774 ips->flags |= INFO_FLAG_PREFER;
775 if (pp->flags & FLAG_BURST)
776 ips->flags |= INFO_FLAG_BURST;
778 ips->flags |= INFO_FLAG_SEL_CANDIDATE;
780 ips->flags |= INFO_FLAG_SHORTLIST;
876 ip->flags = 0;
878 ip->flags |= INFO_FLAG_SYSPEER;
879 if (pp->flags & FLAG_CONFIG)
880 ip->flags |= INFO_FLAG_CONFIG;
881 if (pp->flags & FLAG_REFCLOCK)
882 ip->flags |= INFO_FLAG_REFCLOCK;
883 if (pp->flags & FLAG_PREFER)
884 ip->flags |= INFO_FLAG_PREFER;
885 if (pp->flags & FLAG_BURST)
886 ip->flags |= INFO_FLAG_BURST;
888 ip->flags |= INFO_FLAG_SEL_CANDIDATE;
890 ip->flags |= INFO_FLAG_SHORTLIST;
1024 ip->flags = 0;
1026 ip->flags |= INFO_FLAG_SYSPEER;
1027 if (pp->flags & FLAG_CONFIG)
1028 ip->flags |= INFO_FLAG_CONFIG;
1029 if (pp->flags & FLAG_REFCLOCK)
1030 ip->flags |= INFO_FLAG_REFCLOCK;
1031 if (pp->flags & FLAG_PREFER)
1032 ip->flags |= INFO_FLAG_PREFER;
1033 if (pp->flags & FLAG_BURST)
1034 ip->flags |= INFO_FLAG_BURST;
1035 if (pp->flags & FLAG_IBURST)
1036 ip->flags |= INFO_FLAG_IBURST;
1038 ip->flags |= INFO_FLAG_SEL_CANDIDATE;
1040 ip->flags |= INFO_FLAG_SHORTLIST;
1041 ip->flags = htons(ip->flags);
1104 is->flags = 0;
1106 is->flags |= INFO_FLAG_AUTHENTICATE;
1108 is->flags |= INFO_FLAG_BCLIENT;
1111 is->flags |= INFO_FLAG_CAL;
1114 is->flags |= INFO_FLAG_KERNEL;
1116 is->flags |= INFO_FLAG_MONITOR;
1118 is->flags |= INFO_FLAG_NTP;
1120 is->flags |= INFO_FLAG_PPS_SYNC;
1122 is->flags |= INFO_FLAG_FILEGEN;
1318 if (temp_cp.flags & CONF_FLAG_PREFER)
1320 if (temp_cp.flags & CONF_FLAG_BURST)
1322 if (temp_cp.flags & CONF_FLAG_IBURST)
1325 if (temp_cp.flags & CONF_FLAG_SKEY)
1460 } while (p && !(FLAG_CONFIG & p->flags));
1482 * set_sys_flag - set system flags
1496 * clr_sys_flag - clear system flags
1521 u_int32 flags;
1530 flags = ntohl(sf->flags);
1532 if (flags & ~(SYS_FLAG_BCLIENT | SYS_FLAG_PPS |
1535 msyslog(LOG_ERR, "setclr_flags: extra flags: %#x",
1536 flags & ~(SYS_FLAG_BCLIENT | SYS_FLAG_PPS |
1544 if (flags & SYS_FLAG_BCLIENT)
1546 if (flags & SYS_FLAG_PPS)
1548 if (flags & SYS_FLAG_NTP)
1550 if (flags & SYS_FLAG_KERNEL)
1552 if (flags & SYS_FLAG_MONITOR)
1554 if (flags & SYS_FLAG_FILEGEN)
1556 if (flags & SYS_FLAG_AUTH)
1558 if (flags & SYS_FLAG_CAL)
1733 * do_resaddflags - add flags to a restrict entry (or create one)
1748 * do_ressubflags - remove flags from a restrict entry
1807 * Do a check of the flags to make sure that only
1822 cr.flags = ntohs(cr.flags); /* XXX */
1826 if (~RES_ALLFLAGS & cr.flags)
1857 cr.flags = ntohs(cr.flags); /* XXX: size */
1872 cr.ippeerlimit, cr.flags, 0);
1895 * Module entry points and the flags they correspond with
1924 u_long flags;
1934 flags = ntohl(rflags->flags);
1936 if (flags & ~RESET_ALLFLAGS) {
1938 flags & ~RESET_ALLFLAGS);
1944 if (flags & rent->flag)
2204 it->flags = htonl((u_int32)tr->tr_flags);
2526 ic->flags = clock_stat.flags;
2612 clock_stat.flags = (u_char) (ntohl(cf->fudgeval_flags) & 0xf);
2729 ifs->flags = htonl(ep->flags);