Searched refs:ptv (Results 1 - 3 of 3) sorted by relevance

/ast/src/cmd/dsslib/ip_t/
H A Dtestptv.c23 #include <ptv.h>
32 "[+NAME?testptv - ptv ipv6 longest prefix match test harness]"
57 Ptv_t* ptv; local
90 if (!(ptv = ptvopen(&ptvdisc, 16)))
91 error(3, "cannot open ptv table");
98 sfprintf(sfstderr, "insert %s %s\n", fmtip6(ptvmin(ptv->size, ptv->r[0], prefix, prefix[IP6BITS]), prefix[IP6BITS]), fmtip6(ptvmax(ptv->size, ptv->r[1], prefix, prefix[IP6BITS]), prefix[IP6BITS]));
99 if (!ptvinsert(ptv, ptvmi
[all...]
H A Dip_t.c36 #include <ptv.h>
777 Ptv_t* ptv; local
787 if (!(ptv = ptvopen(ptdisc, 16)))
792 if (!ptvinsert(ptv, ptvmin(ptv->size, ptv->r[0], pp, pp[IP6BITS]), ptvmax(ptv->size, ptv->r[1], pp, pp[IP6BITS])))
794 ptvclose(ptv);
802 if (!ptvinsert(ptv, ptvmi
834 Ptv_t* ptv; member in struct:Prefix_match_s
[all...]
H A DMakefile9 ip_t plugin=dss static :LIBRARY: iv.3 ptv.3 \
23 $(INCLUDEDIR) :INSTALLPROTO: bgp.h fv.h iv.h ivmethods.h pt.h ptv.h

Completed in 14 milliseconds