nmreq_option
void nmreq_push_option(struct nmreq_header *, struct nmreq_option *);
void nmreq_remove_option(struct nmreq_header *, struct nmreq_option *);
struct nmreq_option *nmreq_find_option(struct nmreq_header *, uint32_t);
for ((o_) = (struct nmreq_option *)((uintptr_t)((h_)->nr_options));\
(o_) = (struct nmreq_option *)((uintptr_t)((o_)->nro_next)))
struct nmreq_option *o;
struct nmreq_option *
struct nmreq_option *o = NULL;
nmreq_remove_option(struct nmreq_header *h, struct nmreq_option *o)
struct nmreq_option **nmo;
for (nmo = (struct nmreq_option **)&h->nr_options; *nmo != NULL;
nmo = (struct nmreq_option **)&(*nmo)->nro_next) {
struct nmreq_option *o, *next;
for (o = (struct nmreq_option *)(uintptr_t)h->nr_options; o != NULL;
next = (struct nmreq_option *)(uintptr_t)o->nro_next;
nmreq_push_option(struct nmreq_header *h, struct nmreq_option *o)
struct nmreq_option *opt;
struct nmreq_option *opt;
size_t rv = sizeof(struct nmreq_option);
return rv - sizeof(struct nmreq_option);
struct nmreq_option **next, *src, **opt_tab, *opt;
next = (struct nmreq_option **)&hdr->nr_options;
opt_tab = (struct nmreq_option **)p;
struct nmreq_option *nsrc;
opt = (struct nmreq_option *)(ptrs + 1);
nsrc = (struct nmreq_option *)opt->nro_next;
next = (struct nmreq_option **)&opt->nro_next;
for (src = (struct nmreq_option *)hdr->nr_options; src;
src = (struct nmreq_option *)src->nro_next) {
struct nmreq_option *src, *dst;
src = (struct nmreq_option *)(uintptr_t)hdr->nr_options;
dst = (struct nmreq_option *)(uintptr_t)hdr->nr_options;
src = (struct nmreq_option *)(uintptr_t)next;
dst = (struct nmreq_option *)(uintptr_t)*ptrs;
struct nmreq_option *
struct nmreq_option **opt_tab;
opt_tab = (struct nmreq_option **)((uintptr_t)hdr->nr_options) -
struct nmreq_option *opt;
for (opt = (struct nmreq_option *)(uintptr_t)hdr->nr_options; opt;
opt = (struct nmreq_option *)(uintptr_t)opt->nro_next)
struct nmreq_option * nmreq_getoption(struct nmreq_header *, uint16_t);
struct nmreq_option *opt;
struct nmreq_option nro_opt; /* common header */
struct nmreq_option nro_opt; /* common header */
struct nmreq_option nro_opt; /* common header */
struct nmreq_option nro_opt;
struct nmreq_option nro_opt;
struct nmreq_option opt;
struct nmreq_option opt;
ctx->nr_opt = (struct nmreq_option *)(uintptr_t)ctx->nr_opt->nro_next;
struct nmreq_option evsave;
struct nmreq_option saveopt;
struct nmreq_option *nr_opt; /* list of options */
push_option(struct nmreq_option *opt, struct TestContext *ctx)
checkoption(struct nmreq_option *opt, struct nmreq_option *exp)
struct nmreq_option opt, save;