Home | History | Annotate | Download | only in routed

Lines Matching defs:pref

102 #define PREF(p, ifp) ((n_long)(p) <= (n_long)((ifp)->int_metric		\
487 drp->dr_pref = PREF(drp->dr_recv_pref, ifp);
577 n_long pref, /* signed and in network order */
608 pref = UNSIGN_PREF(ntohl(pref));
610 if (pref == 0 || life < MinMaxAdvertiseInterval) {
611 pref = 0;
635 || (pref > drp->dr_pref
661 new_drp->dr_recv_pref = pref;
663 new_drp->dr_pref = PREF(pref,ifp);
804 n_long pref;
819 pref = UNSIGN_PREF(ifp->int_rdisc_pref);
820 u.ad.icmp_ad_info[0].icmp_ad_pref = htonl(SIGN_PREF(PREF(pref, ifp)));