Lines Matching full:ips
716 struct info_peer_summary * ips;
722 ips = (struct info_peer_summary *)prepare_pkt(srcadr, inter, inpkt,
724 for (pp = peer_list; pp != NULL && ips != NULL; pp = pp->p_link) {
733 ips->srcadr6 = SOCK_ADDR6(&pp->srcadr);
734 ips->v6_flag = 1;
736 ips->dstadr6 = SOCK_ADDR6(&pp->dstadr->sin);
738 ZERO(ips->dstadr6);
740 ips->srcadr = NSRCADR(&pp->srcadr);
742 ips->v6_flag = 0;
746 ips->dstadr = NSRCADR(&pp->dstadr->sin);
749 ips->dstadr = NSRCADR(&pp->dstadr->bcast);
751 ips->dstadr = NSRCADR(&pp->dstadr->sin);
752 if (!ips->dstadr)
753 ips->dstadr = NSRCADR(&pp->dstadr->bcast);
757 ips->dstadr = 0;
761 ips->srcport = NSRCPORT(&pp->srcadr);
762 ips->stratum = pp->stratum;
763 ips->hpoll = pp->hpoll;
764 ips->ppoll = pp->ppoll;
765 ips->reach = pp->reach;
766 ips->flags = 0;
768 ips->flags |= INFO_FLAG_SYSPEER;
770 ips->flags |= INFO_FLAG_CONFIG;
772 ips->flags |= INFO_FLAG_REFCLOCK;
774 ips->flags |= INFO_FLAG_PREFER;
776 ips->flags |= INFO_FLAG_BURST;
778 ips->flags |= INFO_FLAG_SEL_CANDIDATE;
780 ips->flags |= INFO_FLAG_SHORTLIST;
781 ips->hmode = pp->hmode;
782 ips->delay = HTONS_FP(DTOFP(pp->delay));
784 HTONL_FP(<mp, &ips->offset);
785 ips->dispersion = HTONS_FP(DTOUFP(SQRT(pp->disp)));
787 ips = (struct info_peer_summary *)more_pkt();