Searched defs:iv (Results 1 - 9 of 9) 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 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 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 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-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...]
/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/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)))

Completed in 23 milliseconds