Searched refs:tlen (Results 1 - 19 of 19) sorted by relevance

/vbox/src/VBox/Devices/Network/slirp/bsd/kern/
H A Duipc_mbuf2.c111 int hlen, tlen, olen; local
217 * we need to take hlen from <n, off> and tlen from <n->m_next, 0>,
219 * note that hlen + tlen == len, and tlen > 0.
222 tlen = len - hlen;
244 if ((off == 0 || offp) && M_TRAILINGSPACE(n) >= tlen
246 m_copydata(n->m_next, 0, tlen, mtod(n, caddr_t) + n->m_len);
247 n->m_len += tlen;
249 m_adj(n->m_next, tlen);
251 m_adj(pData, n->m_next, tlen);
[all...]
/vbox/src/VBox/Devices/Network/slirp/libalias/
H A Dalias_ftp.c255 int hlen, tlen, dlen, pflags; local
263 tlen = ntohs(pip->ip_len);
264 dlen = tlen - hlen;
305 tlen = ntohs(pip->ip_len); /* recalc tlen, pkt may
307 if (sptr[tlen - 2] == '\r' && sptr[tlen - 1] == '\n')
643 int slen, hlen, tlen, dlen; local
654 tlen = ntohs(pip->ip_len);
655 dlen = tlen
[all...]
H A Dalias_smedia.c240 int hlen, tlen, dlen; local
255 tlen = ntohs(pip->ip_len);
256 dlen = tlen - hlen;
482 int hlen, tlen, dlen; local
494 tlen = ntohs(pip->ip_len);
495 dlen = tlen - hlen;
H A Dalias_irc.c172 int hlen, tlen, dlen; local
182 tlen = ntohs(pip->ip_len);
183 dlen = tlen - hlen;
H A Dalias_pptp.c440 int hlen, tlen, dlen; local
447 tlen = ntohs(pip->ip_len);
448 dlen = tlen - hlen;
H A Dalias_skinny.c305 size_t hlen, tlen, dlen; local
315 tlen = ntohs(pip->ip_len);
316 dlen = tlen - hlen;
H A Dalias_db.c2120 int hlen, tlen, dlen; local
2126 tlen = ntohs(pip->ip_len);
2127 dlen = tlen - hlen;
/vbox/src/VBox/Devices/Network/slirp/
H A Dtcp_subr.c127 register int tlen; local
137 tlen = 1;
139 tlen = 0;
156 tlen = 0;
162 ti->ti_len = RT_H2N_U16((u_short)(sizeof (struct tcphdr) + tlen));
163 tlen += sizeof (struct tcpiphdr);
164 m->m_len = tlen;
181 ti->ti_sum = cksum(m, tlen);
182 ((struct ip *)ti)->ip_len = tlen;
H A Dtcp_input.c296 int len, tlen, off; local
374 * options, to not overwrite IP header and to use "tlen" local
398 tlen = ((struct ip *)ti)->ip_len;
400 ti->ti_len = RT_H2N_U16((u_int16_t)tlen);
401 len = sizeof(struct ip) + tlen;
418 || off > tlen)
424 tlen -= off;
425 ti->ti_len = tlen;
1585 tp->rcv_nxt += tlen;
1588 tcpstat.tcps_rcvbyte += tlen;
[all...]
/vbox/src/libs/zlib-1.2.6/examples/
H A Dgzlog.c301 ulong tlen; /* length (modulo 2^32) of total data */ member in struct:log
425 log->tlen = PULL4(buf + HEAD + 28);
447 PUT4(ext + 28, log->tlen);
525 log->tlen += put;
551 PUT4(buf + 4, log->tlen);
691 log->clen = log->tlen;
696 log->tlen = log->clen;
703 PUT4(buf + 4, log->tlen);
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/io/
H A Dpriometh.c426 if ((file_bytes == len) && (sfd->tlen)) {
431 iov[index].iov_len = sfd->tlen;
442 PR_ASSERT(rv == sfd->hlen + len + ((len == file_bytes) ? sfd->tlen : 0));
479 if (sfd->tlen) {
480 rv = PR_Send(sd, sfd->trailer, sfd->tlen, 0, timeout);
482 PR_ASSERT(rv == sfd->tlen);
602 buflen = sfd->tlen;
H A Dprsocket.c1062 sfd.tlen = 0;
/vbox/src/libs/xpcom18a4/nsprpub/pr/tests/
H A Dsendzlf.c132 sfd.tlen = TRAILER_LEN;
157 sfd.tlen = 0;
H A Dsocket.c207 sfd.tlen = 0;
1547 sfd.tlen = SMALL_FILE_TRAILER_SIZE;
1571 sfd.tlen = LARGE_FILE_TRAILER_SIZE;
1594 sfd.tlen = 0;
1616 sfd.tlen = SMALL_FILE_TRAILER_SIZE;
1638 sfd.tlen = 0;
1660 sfd.tlen = 0;
1682 sfd.tlen = 0;
1705 sfd.tlen = LARGE_FILE_TRAILER_SIZE;
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/pthreads/
H A Dptio.c2187 sf_struct.trailer_length = sfd->tlen;
2240 PR_ASSERT(count == (sfd->hlen + sfd->tlen +
2283 nbytes_to_send = sfd->hlen + sfd->tlen + file_nbytes_to_send;
2288 hdtrl[1].iov_len = sfd->tlen;
2323 } else if (count < (sfd->hlen + file_nbytes_to_send + sfd->tlen)) {
2339 hdtrl[1].iov_len = sfd->tlen - trailer_nbytes_sent;
2407 nbytes_to_send = sfd->hlen + sfd->tlen + file_nbytes_to_send;
2425 if (sfd->tlen != 0) {
2429 sfv_struct[sfvcnt].sfv_len = sfd->tlen;
2592 if ((sfd->hlen != 0 || sfd->tlen !
[all...]
/vbox/src/VBox/Devices/Network/
H A DDevPCNet.cpp489 uint32_t tlen:3; /**< number of transmit descriptor ring entries */ member in struct:INITBLK16
501 uint16_t tlen:4; /**< number of transmit descriptor ring entries */ member in struct:INITBLK32
1442 CSR_XMTRL(pThis) = (initblk.tlen < 9) ? (1 << initblk.tlen) : 512; \
1443 pThis->aCSR[ 6] = (initblk.tlen << 12) | (initblk.rlen << 8); \
1460 Log(("#%d initblk.rlen=%#04x, initblk.tlen=%#04x\n",
1461 PCNET_INST_NR, initblk.rlen, initblk.tlen));
1468 Log(("#%d initblk.rlen=%#04x, initblk.tlen=%#04x\n",
1469 PCNET_INST_NR, initblk.rlen, initblk.tlen));
/vbox/src/libs/libxml2-2.6.31/
H A Dparser.c8148 const xmlChar **URI, int *tlen) {
8193 *tlen = ctxt->input->cur - ctxt->input->base - cur;
8535 const xmlChar *URI, int line, int nsNr, int tlen) {
8545 if ((tlen > 0) && (xmlStrncmp(ctxt->input->cur, ctxt->name, tlen) == 0)) {
8546 if (ctxt->input->cur[tlen] == '>') {
8547 ctxt->input->cur += tlen + 1;
8550 ctxt->input->cur += tlen;
8799 int line, tlen; local
8829 name = xmlParseStartTag2(ctxt, &prefix, &URI, &tlen);
8147 xmlParseStartTag2(xmlParserCtxtPtr ctxt, const xmlChar **pref, const xmlChar **URI, int *tlen) argument
8534 xmlParseEndTag2(xmlParserCtxtPtr ctxt, const xmlChar *prefix, const xmlChar *URI, int line, int nsNr, int tlen) argument
9893 int avail, tlen; local
[all...]
/vbox/src/libs/xpcom18a4/nsprpub/pr/include/
H A Dprio.h1739 PRInt32 tlen; /* trailer len */ member in struct:PRSendFileData
/vbox/src/libs/xpcom18a4/nsprpub/pr/src/md/windows/
H A Dntio.c1629 me->md.xmit_bufs->TailLength = sfd->tlen;

Completed in 1005 milliseconds