Searched refs:fcall (Results 1 - 4 of 4) sorted by relevance

/freebsd-13-stable/contrib/lib9p/
H A Dpack.c425 * Pack or unpack a request or response (fcall).
431 l9p_pufcall(struct l9p_message *msg, union l9p_fcall *fcall, argument
442 l9p_pu8(msg, &fcall->hdr.type);
443 r = l9p_pu16(msg, &fcall->hdr.tag);
450 * Note that the initial fcall is zeroed out, though, so
455 switch (fcall->hdr.type) {
458 l9p_pu32(msg, &fcall->version.msize);
459 r = l9p_pustring(msg, &fcall->version.version);
463 l9p_pu32(msg, &fcall->tauth.afid);
464 r = l9p_pustring(msg, &fcall
871 l9p_freefcall(union l9p_fcall *fcall) argument
[all...]
H A Dutils.c45 #include "fcall.h"
91 * This table should have entries for each enum value in fcall.h.
829 l9p_describe_fcall(union l9p_fcall *fcall, enum l9p_version version, argument
836 assert(fcall != NULL);
840 type = fcall->hdr.type;
854 fcall->hdr.tag);
857 fcall->hdr.tag);
863 sbuf_printf(sb, " version=\"%s\" msize=%d", fcall->version.version,
864 fcall->version.msize);
868 l9p_describe_fid(" afid=", fcall
[all...]
H A Dlib9p.h45 #include "fcall.h"
212 int l9p_pufcall(struct l9p_message *msg, union l9p_fcall *fcall,
242 void l9p_describe_fcall(union l9p_fcall *fcall, enum l9p_version version,
244 void l9p_freefcall(union l9p_fcall *fcall);
/freebsd-13-stable/contrib/lib9p/pytest/
H A Dprotocol.py97 receive an fcall value and a dictionary containing argument
99 depend on the fcall. For instance, a Tversion fcall needs three
104 >>> pkt = dotu.pack(fcall='Tversion', args=args)
111 size[4] fcall[1] tag[2] msize[4] version[s]
115 long, so we have size=9, fcall=100, tag=1, msize=1000, and the
130 >>> pkt = dotu.pack(fcall='Tversion', args=args)
134 The fcall can be supplied numerically:
136 >>> pkt2 = dotu.pack(fcall=td.Tversion, args=args)
140 Instead of providing an fcall yo
[all...]

Completed in 68 milliseconds