Searched refs:iv (Results 1 - 14 of 14) sorted by relevance

/ast/src/cmd/dsslib/ip_t/
H A Divclose.c26 ivclose(Iv_t* iv) argument
28 if (!iv)
30 if (iv->meth->eventf && (*iv->meth->eventf)(iv, IV_CLOSE, 0) < 0)
32 free(iv);
H A Divopen.c28 Iv_t* iv; local
30 if (!disc || !meth || !(iv = newof(0, Iv_t, 1, 3 * size)))
32 iv->disc = disc;
33 iv->meth = meth;
34 iv->data = 0;
35 iv->unit = (unsigned char*)(iv + 1);
36 fvset(size, iv->unit, 1);
37 iv->r1 = iv
[all...]
H A Dtestiv.c23 #include <iv.h>
32 "[+NAME?testiv - iv ipv6 longest prefix match test harness]"
66 freef(Iv_t* iv, void* data) argument
81 Iv_t* iv; local
129 if (!(iv = ivopen(&ivdisc, ivmeth("nested"), size, 0)))
130 error(3, "cannot open nested iv table");
132 if (ivstr(iv, s, &v, prefix, prefix + iv->size))
145 memcpy(hop->prefix, prefix, iv->size + 1);
147 lo = fvplo(iv
[all...]
H A Div.h28 ** ivset(iv, lo, hi, data): specifies an interval [lo,hi]
30 ** ivget(iv, pt): find the data currently associated with "pt".
31 ** ivdel(iv, lo, hi): deletes the specified interval [lo,hi].
95 #define ivset(iv,lo,hi,dt) (*(iv)->meth->setf)((iv),(lo),(hi),(dt))
96 #define ivget(iv,pt) (*(iv)->meth->getf)((iv),(pt))
97 #define ivdel(iv,l
[all...]
H A Divfmt.c33 ivfmt(Iv_t* iv, const unsigned char* addr, int bits) argument
41 if (iv->size == 16)
43 n = (iv->size + (bits >= 0)) * 4 + 1;
47 for (i = 1; i < iv->size; i++)
49 if (bits >= 0 && bits <= iv->size * 8)
H A Div-flat.c40 Iv_t* iv; member in struct:Flat_s
55 int size = ((Flat_t*)disc)->iv->size;
71 ((Flat_t*)disc)->freef(((Flat_t*)disc)->iv, ((Ivseg_t*)obj)->data);
79 int size = ((Flat_t*)disc)->iv->size;
91 int size = ((Flat_t*)disc)->iv->size;
102 flatset(Iv_t* iv, unsigned char* lo, unsigned char* hi, void* data) argument
109 unsigned char* unmatched = iv->disc->unmatched;
110 int size = iv->size;
112 if (!iv || !(fl = (Flat_t*)iv
201 flatdel(Iv_t* iv, unsigned char* lo, unsigned char* hi) argument
207 flatget(Iv_t* iv, unsigned char* pt) argument
229 flatseg(Iv_t* iv, unsigned char* pt) argument
249 flatevent(Iv_t* iv, int type, void* data) argument
[all...]
H A Div-nested.c49 Iv_t* iv; /* original interval */ member in struct:Nest_s
60 int size = ((Nest_t*)disc)->iv->size;
75 ((Nest_t*)disc)->freef(((Nest_t*)disc)->iv, ((Itvl_t*)obj)->data);
85 int size = ((Nest_t*)disc)->iv->size;
122 static int nestset(Iv_t* iv, unsigned char* lo, unsigned char* hi, void* data) argument
127 int size = iv->size;
129 if (!iv || !(nst = (Nest_t*)iv->data))
151 static int nestdel(Iv_t* iv, unsigned char* lo, unsigned char* hi) argument
156 int size = iv
170 nest2flat(Iv_t* iv, Nest_t* nst) argument
186 nestget(Iv_t* iv, unsigned char* pt) argument
196 nestseg(Iv_t* iv, unsigned char* pt) argument
206 nestevent(Iv_t* iv, int type, void* data) argument
[all...]
H A Divstr.c32 ivstr(Iv_t* iv, const char* s, char** e, unsigned char* addr, unsigned char* bits) argument
39 if (iv->size == 16)
51 } while (c == '.' && i < iv->size);
67 while (i < iv->size)
H A DMakefile9 ip_t plugin=dss static :LIBRARY: iv.3 ptv.3 \
16 ivopen.c ivclose.c ivstr.c ivfmt.c ivmeth.c iv-flat.c iv-nested.c \
23 $(INCLUDEDIR) :INSTALLPROTO: bgp.h fv.h iv.h ivmethods.h pt.h ptv.h
25 iv :TEST: testiv \
26 iv-ip4-prefix.dat iv-ip4-addr.dat iv-ip4.out \
27 iv-ip6-prefix.dat iv
[all...]
H A Divlib.h38 #include <iv.h>
/ast/src/cmd/ss/
H A Dssd.c302 char* iv[3]; local
452 iv[0] = cmd;
453 iv[1] = data;
454 iv[2] = 0;
495 if (!(proc = procopen(iv[0], iv, NiL, NiL, PROC_READ|PROC_UID|PROC_GID)))
/ast/src/cmd/3d/
H A Dfs.c169 Msg_file_t iv[2]; local
466 iv[n] = fp->id;
467 *xp++ = (void*)iv;
/ast/src/cmd/mam/
H A Dshmam.awk1660 function rm_vpath(path, vpath, i, varr, parr,iv, j, k, arr, tmp)
1667 iv=split(vpath, varr, ":")
1669 for (i=1; i<=iv; i++) { #for each vpath path
/ast/src/cmd/INIT/
H A Dpackage.sh6661 *) $exec egrep -iv '^($||[\+\[]|cc[^-:]|kill |make.*(file system time|has been replaced)|so|[0123456789]+ error|uncrate |[0123456789]+ block|ar: creat|iffe: test: |conf: (check|generate|test)|[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_][abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789]*=|gsf@research|ar:.*warning|cpio:|ld:.*(duplicate symbol|to obtain more information)|[0123456789]*$|(checking|creating|touch) [/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_0123456789])| obsolete predefined symbol | is (almost always misused|dangerous|deprecated|not implemented)| trigraph| assigned to | cast .* different size| integer overflow .*<<| optimization may be attained | passed as |::__builtin|pragma.*prototyped|^creating.*\.a$|warning.*not optimized|exceeds size thresh|ld:.*preempts|is unchanged|with value >=|(-l|lib)\*|/(ast|sys)/(dir|limits|param|stropts)\.h.*redefined|usage|base registers|`\.\.\.` obsolete'"$i" $j |

Completed in 53 milliseconds