Home
last modified time | relevance | path

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

/f-stack/freebsd/net/
H A Dmppcc.c149 uint32_t olen, off, len, idx, i, l; in MPPC_Compress() local
187 **dst = olen = i = 0; in MPPC_Compress()
208 &olen, &l); in MPPC_Compress()
229 putbits16(*dst, 0x3c0|off, 10, &olen, &l); in MPPC_Compress()
242 putbits8(*dst, 0, 1, &olen, &l); in MPPC_Compress()
244 putbits8(*dst, 0x08|(len&0x03), 4, &olen, &l); in MPPC_Compress()
246 putbits8(*dst, 0x30|(len&0x07), 6, &olen, &l); in MPPC_Compress()
283 putbits8(*dst, 0, l, &olen, &l); in MPPC_Compress()
288 if (*srcCnt < olen) in MPPC_Compress()
296 *dst += olen; in MPPC_Compress()
[all …]
H A Dmppcd.c109 uint32_t olen, off, len, bits, val, sig, i, l; in MPPC_Decompress() local
120 olen = len = i = 0; in MPPC_Decompress()
134 olen++; in MPPC_Decompress()
150 olen++; in MPPC_Decompress()
244 olen += len; in MPPC_Decompress()
263 len = olen; in MPPC_Decompress()
272 memcpy(*dst, hist, olen); in MPPC_Decompress()
/f-stack/freebsd/contrib/libsodium/test/default/
H A Dpwhash_scrypt_ll.c28 size_t olen = (sizeof data / sizeof data[0]); in tv() local
35 salt_len, N, r, p, data, olen) != 0) { in tv()
43 (unsigned long) olen); in tv()
45 for (i = 0; i < olen; i++) { in tv()
/f-stack/freebsd/netinet/
H A Dip_options.c401 unsigned olen; in save_rte() local
409 olen = option[IPOPT_OLEN]; in save_rte()
410 if (olen > sizeof(opts->ip_srcrt) - (1 + sizeof(dst))) { in save_rte()
414 bcopy(option, opts->ip_srcrt.srcopt, olen); in save_rte()
415 opts->ip_nhops = (olen - IPOPT_OFFSET - 1) / sizeof(struct in_addr); in save_rte()
486 int olen; in ip_stripoptions() local
488 olen = (ip->ip_hl << 2) - sizeof(struct ip); in ip_stripoptions()
489 m->m_len -= olen; in ip_stripoptions()
491 m->m_pkthdr.len -= olen; in ip_stripoptions()
492 ip->ip_len = htons(ntohs(ip->ip_len) - olen); in ip_stripoptions()
[all …]
/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_connection.c182 socklen_t olen; in ngx_set_inherited_sockets() local
261 olen = sizeof(int); in ngx_set_inherited_sockets()
264 &olen) in ngx_set_inherited_sockets()
273 olen = sizeof(int); in ngx_set_inherited_sockets()
276 &olen) in ngx_set_inherited_sockets()
286 olen = sizeof(int); in ngx_set_inherited_sockets()
289 &olen) in ngx_set_inherited_sockets()
304 olen = sizeof(int); in ngx_set_inherited_sockets()
323 olen = sizeof(int); in ngx_set_inherited_sockets()
362 olen = sizeof(int); in ngx_set_inherited_sockets()
[all …]
/f-stack/freebsd/netgraph/
H A Dng_tcpmss.c413 int olen, optlen; in correct_mss() local
419 for (olen = hlen - sizeof(struct tcphdr), opt = (u_char *)(tc + 1); in correct_mss()
420 olen > 0; olen -= optlen, opt += optlen) { in correct_mss()
427 if (optlen <= 0 || optlen > olen) in correct_mss()
/f-stack/freebsd/kern/
H A Duipc_mbuf2.c100 int hlen, tlen, olen; in m_pulldown() local
199 olen = 0; in m_pulldown()
201 olen += o->m_len; in m_pulldown()
202 if (hlen + olen < len) { in m_pulldown()
H A Dsubr_terminal.c420 size_t olen; in termtty_outwakeup() local
423 while ((olen = ttydisc_getc(tp, obuf, sizeof obuf)) > 0) { in termtty_outwakeup()
427 teken_input(&tm->tm_emulator, obuf, olen); in termtty_outwakeup()
H A Dvfs_vnops.c2520 size_t len, olen; in vn_fill_junk() local
2527 olen = strlen(kif->kf_path); in vn_fill_junk()
2528 if (len < olen) in vn_fill_junk()
2531 for (; olen < len; olen++) in vn_fill_junk()
2532 strcpy(&kif->kf_path[olen], "A"); in vn_fill_junk()
3291 off_t olen, ooffset; in vn_fallocate() local
3303 olen = len; in vn_fallocate()
3330 if (olen + ooffset != offset + len) { in vn_fallocate()
3332 ooffset, olen, offset, len); in vn_fallocate()
3336 KASSERT(olen > len, ("Iteration did not make progress?")); in vn_fallocate()
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_irc_pxy.c261 size_t nlen = 0, olen; local
308 olen = irc->irc_len;
320 inc = nlen - olen;
338 m1->b_wptr -= olen;
H A Dip_ftp_pxy.c300 size_t nlen, olen; local
405 olen = s - f->ftps_rptr;
416 inc = nlen - olen;
865 size_t nlen, olen; local
889 olen = s - f->ftps_rptr;
891 inc = nlen - olen;
1847 olen = s - f->ftps_rptr;
1864 inc = nlen - olen;
1982 int port, olen, nlen, inc, off, left, i; local
2102 olen = s - f->ftps_rptr;
[all …]
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_file.c727 loff_t olen; in zpl_fallocate_common() local
738 olen = i_size_read(ip); in zpl_fallocate_common()
745 if (offset > olen) in zpl_fallocate_common()
748 if (offset + len > olen) in zpl_fallocate_common()
749 len = olen - offset; in zpl_fallocate_common()
784 if (!(mode & FALLOC_FL_KEEP_SIZE) && offset + len > olen) in zpl_fallocate_common()
/f-stack/app/redis-5.0.5/src/
H A Dt_string.c212 size_t olen; in setrangeCommand() local
219 olen = stringObjectLen(o); in setrangeCommand()
221 addReplyLongLong(c,olen); in setrangeCommand()
/f-stack/freebsd/contrib/libfdt/
H A Dfdt_ro.c61 int olen; in fdt_nodename_eq_() local
62 const char *p = fdt_get_name(fdt, offset, &olen); in fdt_nodename_eq_()
64 if (!p || olen < len) in fdt_nodename_eq_()
/f-stack/freebsd/mips/broadcom/
H A Dbcm_machdep.h98 const char *name, void *outp, size_t *olen,
/f-stack/freebsd/opencrypto/
H A Dcrypto.c1265 size_t ilen, len, olen; in crp_sanity() local
1278 olen = ilen; in crp_sanity()
1284 olen = crypto_buffer_len(out); in crp_sanity()
1376 KASSERT(crp->crp_payload_output_start < olen, in crp_sanity()
1379 crp->crp_payload_length <= olen, in crp_sanity()
1387 len = olen; in crp_sanity()
/f-stack/tools/libxo/libxo/
H A Dlibxo.c2702 ssize_t ilen, olen; in xo_format_string_direct() local
2852 olen = xo_utf8_emit_len(wc); in xo_format_string_direct()
2853 if (olen < 0) { in xo_format_string_direct()
2858 if (!xo_buf_has_room(xbp, olen)) in xo_format_string_direct()
2862 xbp->xb_curp += olen; in xo_format_string_direct()
2870 if (olen <= 0) { in xo_format_string_direct()
2876 xbp->xb_curp += olen; in xo_format_string_direct()
3895 cp[olen + dlen] = '\0'; in xo_buf_append_div()
4035 char *cp = alloca(olen + 1); in xo_buf_append_div()
4037 cp[olen] = '\0'; in xo_buf_append_div()
[all …]
/f-stack/dpdk/drivers/net/netvsc/
H A Dhn_rxtx.c1229 unsigned int padding, olen; in hn_try_txagg() local
1241 olen = pkt->len; in hn_try_txagg()
1242 padding = RTE_ALIGN(olen, txq->agg_align) - olen; in hn_try_txagg()
1246 memset((uint8_t *)pkt + olen, 0, padding); in hn_try_txagg()
/f-stack/freebsd/netinet6/
H A Dnd6.c391 int olen; in nd6_option() local
409 olen = nd_opt->nd_opt_len << 3; in nd6_option()
410 if (olen == 0) { in nd6_option()
419 ndopts->nd_opts_search = (struct nd_opt_hdr *)((caddr_t)nd_opt + olen); in nd6_option()
/f-stack/freebsd/netpfil/ipfw/
H A Dip_dummynet.c1903 int i, olen, err = 0; in config_profile() local
1946 olen = s->profile->oid.len; in config_profile()
1947 if (olen < pf->oid.len) in config_profile()
1948 olen = pf->oid.len; in config_profile()
1950 s->profile->oid.len = olen; in config_profile()
/f-stack/freebsd/netpfil/pf/
H A Dpf.c2390 int copyback = 0, i, olen; in pf_modulate_sack() local
2400 olen = opt[1]; in pf_modulate_sack()
2408 if (olen > hlen) in pf_modulate_sack()
2409 olen = hlen; in pf_modulate_sack()
2410 if (olen >= TCPOLEN_SACKLEN) { in pf_modulate_sack()
2411 for (i = 2; i + TCPOLEN_SACK <= olen; in pf_modulate_sack()
2430 if (olen < 2) in pf_modulate_sack()
2431 olen = 2; in pf_modulate_sack()
2432 hlen -= olen; in pf_modulate_sack()
2433 opt += olen; in pf_modulate_sack()
/f-stack/freebsd/netipsec/
H A Dkey.c7646 int olen; in key_promisc() local
7653 olen = PFKEY_UNUNIT64(mhp->msg->sadb_msg_len); in key_promisc()
7655 if (olen < sizeof(struct sadb_msg)) { in key_promisc()
7662 } else if (olen == sizeof(struct sadb_msg)) { in key_promisc()