face
struct face *next;
struct face *data;
static void plant_face (const char *name, struct face *entry)
static int find_face (const char *name, struct face **entry)
struct face *fp, **fpp;
struct face *ce;
ce = malloc(sizeof(struct face));
send_pkt(struct test_ctx *tcp, int pnum, int fdidx, const char *face)
err(1, "%s: %s: send(%d)", tcp->name, face, tcp->fds[fdidx]);
errx(1, "%s: %s: send(%d): short send", tcp->name, face,
recv_pkt_recvmsg(struct test_ctx *tcp, int fdidx, const char *face, void *buf,
err(1, "%s: %s: recvmsg(%d)", tcp->name, face, tcp->fds[fdidx]);
errx(1, "%s: %s: recvmsg(%d): short recv", tcp->name, face,
recv_pkt_recv(struct test_ctx *tcp, int fdidx, const char *face, void *buf,
err(1, "%s: %s: recv(%d)", tcp->name, face, tcp->fds[fdidx]);
errx(1, "%s: %s: recv(%d): short recv", tcp->name, face,
recv_pkt(struct test_ctx *tcp, int fdidx, const char *face, int tout)
err(1, "%s: %s: poll(%d)", tcp->name, face, tcp->fds[fdidx]);
errx(1, "%s: %s: poll(%d): unexpected result", tcp->name, face,
recv_pkt_recv(tcp, fdidx, face, &recv_buf, rlen,
recv_pkt_recvmsg(tcp, fdidx, face, &recv_buf, rlen,
face, tcp->fds[fdidx], recv_buf.pnum);