Lines Matching refs:nodebuf
2076 u32 nodebuf[8]; in ocontext_read() local
2137 rc = next_entry(nodebuf, fp, sizeof(u32) * 2); in ocontext_read()
2140 c->u.node.addr = nodebuf[0]; /* network order */ in ocontext_read()
2141 c->u.node.mask = nodebuf[1]; /* network order */ in ocontext_read()
2171 rc = next_entry(nodebuf, fp, sizeof(u32) * 8); in ocontext_read()
2175 c->u.node6.addr[k] = nodebuf[k]; in ocontext_read()
2177 c->u.node6.mask[k] = nodebuf[k+4]; in ocontext_read()
3082 u32 nodebuf[8]; in ocontext_write() local
3132 nodebuf[0] = c->u.node.addr; /* network order */ in ocontext_write()
3133 nodebuf[1] = c->u.node.mask; /* network order */ in ocontext_write()
3134 rc = put_entry(nodebuf, sizeof(u32), 2, fp); in ocontext_write()
3157 nodebuf[j] = c->u.node6.addr[j]; /* network order */ in ocontext_write()
3159 nodebuf[j + 4] = c->u.node6.mask[j]; /* network order */ in ocontext_write()
3160 rc = put_entry(nodebuf, sizeof(u32), 8, fp); in ocontext_write()