Home
last modified time | relevance | path

Searched refs:putbits16 (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/net/
H A Dmppcc.c79 putbits16(uint8_t *buf, uint32_t val, const uint32_t n, uint32_t *i, uint32_t *l) in putbits16() function
205 putbits16(*dst, (uint32_t) (0x100|((*src)[i]&0x7f)), 9, in MPPC_Compress()
227 putbits16(*dst, 0x3c0|off, 10, &olen, &l); in MPPC_Compress()
229 putbits16(*dst, 0xe00|(off-64), 12, &olen, &l); in MPPC_Compress()
231 putbits16(*dst, 0xc000|(off-320), 16, &olen, &l); in MPPC_Compress()
248 putbits16(*dst, 0x3c0|(len&0x1f), 10, &olen, &l); in MPPC_Compress()
250 putbits16(*dst, 0xf80|(len&0x3f), 12, &olen, &l); in MPPC_Compress()
252 putbits16(*dst, 0x3f00|(len&0x7f), 14, &olen, &l); in MPPC_Compress()
254 putbits16(*dst, 0xfe00|(len&0xff), 16, &olen, &l); in MPPC_Compress()
274 putbits16(*dst, (uint32_t) (0x100|((*src)[i++]&0x7f)), 9, &olen, in MPPC_Compress()