Searched refs:olen (Results 1 - 10 of 10) sorted by relevance

/darwin-on-arm/xnu/bsd/net/
H A Dppp_deflate.c269 int proto, olen, wspace, r, flush; local
324 olen = 0;
344 olen += wspace;
349 if (maxolen - olen > MLEN)
362 olen += (m->m_len = wspace - state->strm.avail_out);
367 if (m != NULL && olen < orig_len) {
368 state->stats.comp_bytes += olen;
377 olen = orig_len;
382 return olen;
514 int rlen, olen, ospac local
[all...]
H A Dbsd_comp.c523 int olen; local
527 ++olen; \
536 if (maxolen - olen > MLEN) \
600 olen = 0;
669 db->bytes_out += olen;
698 if (olen + PPP_HDRLEN + BSD_OVHD > maxolen) {
708 db->comp_bytes += olen + BSD_OVHD;
711 return olen + PPP_HDRLEN + BSD_OVHD;
H A Dpf.c2296 int copyback = 0, i, olen; local
2305 olen = opt[1];
2313 if (olen > hlen)
2314 olen = hlen;
2315 if (olen >= TCPOLEN_SACKLEN) {
2316 for (i = 2; i + TCPOLEN_SACK <= olen;
2331 if (olen < 2)
2332 olen = 2;
2333 hlen -= olen;
2334 opt += olen;
[all...]
/darwin-on-arm/xnu/security/
H A Dmac_mach_internal.h110 int mac_task_label_externalize(struct label *, char *e, char *out, size_t olen, int flags);
112 int mac_port_label_externalize(struct label *, char *e, char *out, size_t olen, int flags);
H A Dmac_internal.h262 int mac_cred_label_externalize(struct label *, char *e, char *out, size_t olen, int flags);
263 int mac_lctx_label_externalize(struct label *, char *e, char *out, size_t olen);
265 int mac_socket_label_externalize(struct label *, char *e, char *out, size_t olen);
267 int mac_vnode_label_externalize(struct label *, char *e, char *out, size_t olen, int flags);
/darwin-on-arm/xnu/bsd/netinet6/
H A Dipcomp_input.c97 size_t newlen, olen; local
159 olen = m->m_pkthdr.len;
192 len -= olen;
H A Dnd6.c512 int olen; local
531 olen = nd_opt->nd_opt_len << 3;
532 if (olen == 0) {
541 ndopts->nd_opts_search = (struct nd_opt_hdr *)((caddr_t)nd_opt + olen);
/darwin-on-arm/xnu/bsd/kern/
H A Duipc_mbuf2.c133 int hlen, tlen, olen; local
281 olen = 0;
283 olen += o->m_len;
284 if (hlen + olen < len) {
/darwin-on-arm/xnu/bsd/netinet/
H A Dip_input.c2139 unsigned olen; local
2141 olen = option[IPOPT_OLEN];
2144 printf("save_rte: olen %d\n", olen);
2146 if (olen > sizeof(ip_srcrt) - (1 + sizeof(dst)))
2148 bcopy(option, ip_srcrt.srcopt, olen);
2149 ip_nhops = (olen - IPOPT_OFFSET - 1) / sizeof(struct in_addr);
2235 int olen; local
2240 olen = (IP_VHL_HL(ip->ip_vhl) << 2) - sizeof (struct ip);
2242 i = m->m_len - (sizeof (struct ip) + olen);
[all...]
/darwin-on-arm/xnu/bsd/netkey/
H A Dkey.c8190 int olen; local
8196 olen = PFKEY_UNUNIT64(mhp->msg->sadb_msg_len);
8198 if (olen < sizeof(struct sadb_msg)) {
8205 } else if (olen == sizeof(struct sadb_msg)) {

Completed in 172 milliseconds