Home
last modified time | relevance | path

Searched refs:totlen (Results 1 – 25 of 26) sorted by relevance

12

/original-bsd/sys/news3400/if/
H A Dif_news.c80 register int totlen, off;
87 caddr_t epkt = cp + totlen;
95 m->m_pkthdr.len = totlen;
104 totlen + ifn->ifn_hlen);
105 m->m_len = totlen;
125 m->m_pkthdr.len = totlen;
128 while (totlen > 0) {
138 if (totlen >= MINCLSIZE)
142 else if (totlen < m->m_len) {
148 m->m_len = totlen;
[all …]
/original-bsd/sys/tahoe/if/
H A Dif_vba.c76 if_vbaget(rxbuf, totlen, off, ifp, flags) in if_vbaget() argument
78 int totlen, off, flags;
89 packet_end = cp + totlen;
92 totlen -= 2 *sizeof(u_short);
100 m->m_pkthdr.len = totlen;
103 while (totlen > 0) {
112 len = min(totlen, (packet_end - cp));
137 totlen -= len;
H A Dif_ace.c502 aceget(rxbuf, totlen, off, ifp) in aceget() argument
504 int totlen, off;
516 packet_end = cp + totlen;
519 totlen -= 2 * sizeof(u_short);
527 m->m_pkthdr.len = totlen;
530 while (totlen > 0) {
539 len = min(totlen, (packet_end - cp));
583 totlen -= len;
H A Dif_enp.c301 enpget(rxbuf, totlen, off, ifp) in enpget() argument
303 int totlen, off;
314 packet_end = cp + totlen;
317 totlen -= 2 *sizeof(u_short);
325 m->m_pkthdr.len = totlen;
328 while (totlen > 0) {
337 len = min(totlen, (packet_end - cp));
358 totlen -= len;
/original-bsd/sys/vax/if/
H A Dif_uba.c153 if_ubaget(ifu, ifr, totlen, off, ifp) in if_ubaget() argument
156 register int totlen;
164 caddr_t epkt = cp + totlen;
173 totlen -= 2 * sizeof(u_short);
180 m->m_pkthdr.len = totlen;
186 while (totlen > 0) {
196 len = min(totlen, epkt - cp);
245 totlen -= len;
H A Dif_uba.h103 #define if_rubaget(ifu, totlen, off0, ifp) \ argument
104 if_ubaget(&(ifu)->ifu_info, &(ifu)->ifu_r, totlen, off0, ifp)
H A Dif_ec.c584 ecget(ecbuf, totlen, off0, ifp) in ecget() argument
586 int totlen, off0;
593 u_char *packet_end = cp + totlen;
597 totlen -= 2 *sizeof(u_short);
605 m->m_pkthdr.len = totlen;
608 while (totlen > 0) {
620 len = min(totlen, (packet_end - cp));
654 totlen -= len;
/original-bsd/lib/libc/db/hash/
H A Dhash_bigkey.c433 int mylen, totlen; local
441 totlen = len + mylen;
444 if ((hashp->tmp_buf = (char *)malloc(totlen)) == NULL)
464 if (!xbp || ((totlen =
473 return (totlen);
507 int mylen, totlen; local
515 totlen = len + mylen;
519 if ((hashp->tmp_key = (char *)malloc(totlen)) == NULL)
525 if (!xbp || ((totlen =
526 collect_key(hashp, xbp, totlen, val, set)) < 1))
[all …]
/original-bsd/sys/kern/
H A Duipc_mbuf.c566 m_devget(buf, totlen, off0, ifp, copy) in m_devget() argument
568 int totlen, off0;
579 epkt = cp + totlen;
586 totlen -= 2 * sizeof(u_int16_t);
592 m->m_pkthdr.len = totlen;
595 while (totlen > 0) {
604 len = min(totlen, epkt - cp);
629 totlen -= len;
/original-bsd/sys/i386/isa/
H A Dif_we.c750 weget(buf, totlen, off0, ifp, sc) in weget() argument
752 int totlen, off0;
760 int tc =totlen;
764 epkt = cp + totlen;
768 totlen -= 2 * sizeof(u_short);
775 m->m_pkthdr.len = totlen;
780 while (totlen > 0) {
789 len = min(totlen, epkt - cp);
808 totlen -= len;
817 epkt = cp + totlen;
H A Dif_ne.c625 neget(buf, totlen, off0, ifp) in neget() argument
627 int totlen, off0;
637 epkt = cp + totlen;
642 totlen -= 2 * sizeof(u_short);
649 m->m_pkthdr.len = totlen;
654 while (totlen > 0) {
663 len = min(totlen, epkt - cp);
685 totlen -= len;
/original-bsd/old/adb/common_scripts/
H A Dmbufhdr2 <1/"next"16t"nextpkt"16t"len"16t"data"na2XDXn"type"8t"flags"16t"totlen"16t"rcvif"ndxDpn
H A Dmbufext2 <1/"next"16t"nextpkt"16t"len"16t"data"na2XDXn"type"8t"flags"16t"totlen"16t"rcvif"ndxDpnn"ext_buf"16…
/original-bsd/sys/netiso/
H A Diso_pcb.c306 int nlen, tlen, totlen; caddr_t oldtsel, newtsel; local
319 totlen = tlen + nlen + _offsetof(struct sockaddr_iso, siso_data[0]);
321 (totlen > sizeof(isop->isop_sladdr))) {
325 m->m_len = totlen;
334 siso->siso_len = totlen;
H A Dtp_subr.c611 int totlen = m->m_pkthdr.len; local
623 maxsize, totlen, eotsdu, tpcb->tp_sndnum);
633 if (totlen + n->m_pkthdr.len < maxsize) {
637 n->m_pkthdr.len += totlen;
649 if (totlen > maxsize) {
654 totlen -= maxsize;
H A Dtp_usrreq.c604 int totlen = m->m_pkthdr.len; local
607 PStat(tpcb, Nb_from_sess) += totlen;
609 PStat(tpcb, Nb_from_sess), totlen);
614 eotsdu, m, totlen, sb);
H A Dif_un.eg969 unget(addr, unbuf, totlen, off0, ifp)
972 register int totlen;
987 while (totlen > 0){
994 len = totlen - off;
997 len = totlen;
1052 totlen -= len;
1056 if (off == totlen){
1059 totlen = off0;
/original-bsd/sys/sparc/sbus/
H A Dif_le.c780 leget(lebuf, totlen, off0, ifp) in leget() argument
782 int totlen, off0;
793 epkt = cp + totlen;
796 totlen -= 2 * sizeof(u_short);
803 m->m_pkthdr.len = totlen;
806 while (totlen > 0) {
815 len = min(totlen, epkt - cp);
837 totlen -= len;
/original-bsd/sys/pmax/dev/
H A Dif_le.c797 leget(le, lebuf, totlen, off, ifp) in leget() argument
800 int totlen, off;
812 totlen -= 2 * sizeof(u_short);
813 resid = totlen - off;
815 resid = totlen;
821 m->m_pkthdr.len = totlen;
824 while (totlen > 0) {
851 totlen -= len;
855 resid = totlen;
/original-bsd/sys/net/
H A Dbpf.c1059 register int totlen, curlen; local
1067 totlen = hdrlen + min(snaplen, pktlen);
1068 if (totlen > d->bd_bufsize)
1069 totlen = d->bd_bufsize;
1075 if (curlen + totlen > d->bd_bufsize) {
1116 (*cpfn)(pkt, (u_char *)hp + hdrlen, (hp->bh_caplen = totlen - hdrlen));
1117 d->bd_slen = curlen + totlen;
H A Drtsock.c358 int totlen = 0; local
364 totlen += mlen;
381 totlen += mlen;
393 out: if (((m = m0)->m_flags & M_PKTHDR) && (m->m_pkthdr.len < totlen))
394 m->m_pkthdr.len = totlen;
/original-bsd/sys/vax/datakit/
H A Ddkit_dr.c853 unsigned short totlen ; variable
876 totlen = dkp->dk_xlen - mlen;
877 if (totlen == 0)
885 while (totlen && ((dkp->dk_S ^ dkp->dk_R) & DKBMASK)) {
887 blklen = MIN (totlen, DKBLOCK) ;
915 blklen = MIN (totlen, DKBLOCK) ;
922 if (blklen == totlen && mbp->mp_eob)
934 totlen -= blklen ;
937 if (totlen == 0 && dkp->dk_xlen && scheck) {
/original-bsd/sys/netccitt/
H A Dpk_subr.c1115 int totlen, psize = 1 << (lcp -> lcd_packetsize); variable
1121 totlen = m -> m_pkthdr.len;
1125 if (totlen > psize) {
1128 totlen -= psize;
1146 if (next || (mbit && (totlen == psize ||
/original-bsd/contrib/gcc-2.3.3/
H A Dcccp.c7014 offset = totlen = 0;
7084 xbuf[totlen++] = c;
7087 totlen += 4;
7124 totlen += l1 - p1;
7141 if (totlen > xbuf_len)
7157 xbuf[totlen] = 0;
7158 xbuf_len = totlen;
7296 register int totlen; local
7316 totlen++;
7326 totlen++;
[all …]
/original-bsd/share/doc/smm/18.net/
H A Dspell.ok283 totlen

12