Lines Matching defs:buf
376 * Add "len" bytes of opaque data pointed to by "buf" to the given chain.
379 nfsm_chain_add_opaque_f(struct nfsm_chain *nmc, const u_char *buf, uint32_t len)
397 bcopy(buf, nmc->nmc_ptr, tlen);
405 buf += tlen;
416 * Add "len" bytes of opaque data pointed to by "buf" to the given chain.
420 nfsm_chain_add_opaque_nopad_f(struct nfsm_chain *nmc, const u_char *buf, uint32_t len)
432 bcopy(buf, nmc->nmc_ptr, tlen);
436 buf += tlen;
713 * Read the next "len" bytes in the chain into "buf".
717 nfsm_chain_get_opaque_f(struct nfsm_chain *nmc, uint32_t len, u_char *buf)
729 bcopy(nmc->nmc_ptr, buf, cplen);
732 buf += cplen;