Searched refs:totallen (Results 1 - 12 of 12) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_slp.c144 int totallen; member in struct:tcp_cont
622 static void reg_tcp_cont(char *msg, int totallen, argument
633 tce->msg = malloc(totallen);
635 tce->totallen = totallen;
645 if ((fraglen + tce->curr_offset) > tce->totallen)
692 int totallen = 0; local
708 if (v2_header(flags, slp, &totallen, fraglen)) {
747 totallen - fraglen);
764 int *totallen,
762 v2_header(int flags, struct slpv2_hdr *slp, int *totallen, int fraglen) argument
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dtn_ipopt.c133 uint32_t totallen; local
145 totallen = ipha->ipha_version_and_hdr_length -
147 totallen <<= 2;
148 if (totallen < IP_SIMPLE_HDR_LENGTH || totallen > MBLKL(mp))
150 totallen -= IP_SIMPLE_HDR_LENGTH;
151 if (totallen == 0)
159 while (totallen != 0) {
167 if (totallen <= IPOPT_OLEN)
173 if (optlen > totallen)
[all...]
H A Dip.c2331 uint32_t totallen; /* total length of all options */ local
2333 totallen = ipha->ipha_version_and_hdr_length -
2335 totallen <<= 2;
2337 optp->ipoptp_end = optp->ipoptp_next + totallen;
2344 ipoptp_first2(ipoptp_t *optp, uint32_t totallen, uint8_t *opt) argument
2347 optp->ipoptp_end = optp->ipoptp_next + totallen;
2478 uint32_t totallen; local
2485 totallen = ipp->ipp_ipv4_options_len;
2486 if (totallen & 0x3)
2495 for (optval = ipoptp_first2(&opts, totallen, ip
5490 uint32_t totallen; local
14989 uint32_t totallen; local
15039 uint32_t totallen; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipseckey.c1659 int next, token, sa_len, alloclen, totallen = sizeof (msg), prefix; local
1725 totallen += sizeof (*assoc);
1759 totallen += sizeof (*sadb_pair);
1968 totallen += alloclen;
2005 totallen += alloclen;
2071 totallen += alloclen;
2100 totallen -= alloclen;
2160 totallen += alloclen;
2189 totallen -= alloclen;
2223 totallen
[all...]
H A Dikeadm.c2757 int totallen; local
2774 totallen = sizeof (ike_get_t) + idlen;
2775 if ((reqp = (ike_service_t *)malloc(totallen)) == NULL)
2780 getp->get_len = totallen;
2786 rtnp = ikedoor_call((char *)reqp, totallen, NULL, 0);
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dgettext_util.c90 uint32_t cblen, loclen, catlen, totallen; local
119 * totallen is the length of the msgfile
123 totallen = cblen + loclen + 1 + catlen + 1 +
125 if (totallen >= MAXPATHLEN)
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipfstat.c1070 u_long minlen, maxlen, totallen, *buckets; local
1107 totallen = 0;
1115 totallen += buckets[i];
1123 ipsp->iss_inuse ? (float) totallen/ ipsp->iss_inuse :
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_rxdma.c1976 int totallen = 0; local
2059 totallen += MBLKL(nmp);
2064 totallen += MBLKL(nmp);
2068 totallen += MBLKL(mp_cont);
2072 totallen += MBLKL(mp_cont);
2120 (totallen >= bytes_to_pickup)) {
/illumos-gate/usr/src/lib/gss_mechs/mech_spnego/mech/
H A Dspnego_mech.c3764 unsigned int totallen)
3773 if ((ret = gssint_put_der_length(hdrsize + body_size, buf, totallen)))
3778 totallen - (int)(p - *buf))))
3761 g_make_token_header(gss_OID_const mech, unsigned int body_size, unsigned char **buf, unsigned int totallen) argument
/illumos-gate/usr/src/uts/sun/io/dada/targets/
H A Ddad.c89 static void dcd_validate_model_serial(char *str, int *retlen, int totallen);
4152 dcd_validate_model_serial(char *str, int *retlen, int totallen) argument
4159 for (i = 0, tb = 0; i < totallen; i++) {
4171 *retlen = totallen - tb;
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/mdnsd/
H A Duds_daemon.c258 mDNSu32 totallen; member in struct:reply_state
533 reply->totallen = (mDNSu32)datalen + sizeof(ipc_msg_hdr);
6156 nwriten = send(req->sd, (char *)&rep->mhdr + rep->nwriten, rep->totallen - rep->nwriten, 0);
6171 rep->totallen - rep->nwriten, rep->totallen, req->sd, dnssd_errno, dnssd_strerror(dnssd_errno));
6177 return (rep->nwriten == rep->totallen) ? t_complete : t_morecoming;
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_rxdma.c1414 int totallen = 0; local
1523 totallen += MBLKL(mp_cont);
1563 (totallen >= bytes_to_read)) {

Completed in 158 milliseconds