Searched defs:remlen (Results 1 - 15 of 15) sorted by relevance

/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dexportent.c131 int remlen; local
137 remlen = 0;
162 remlen = strlen(buf);
163 rempos = ftell(f) - remlen;
179 if (remlen == 0) {
185 } else if (pos > rempos + remlen) {
186 res = fseek(f, pos - remlen, L_SET);
/illumos-gate/usr/src/cmd/backup/lib/
H A Dmyrcmd.c69 uint_t loclen, remlen, cmdlen; local
222 remlen = strlen(remuser) + 1;
226 ((retval = write(s, remuser, remlen)) != remlen) ||
/illumos-gate/usr/src/lib/nsswitch/mdns/common/
H A Dmdns_common.c171 int remlen; local
198 remlen = qdata->buflen =
202 (void) memset(qdata->buffer, 0, remlen);
204 remlen = qdata->buflen =
208 calloc(1, remlen);
212 0, remlen);
219 remlen = qdata->buflen - strlen(qdata->buffer);
223 syslog(LOG_DEBUG, "nss_mdns: querynamereply remlen:%d", remlen);
227 len = snprintf(buffer, remlen, "
310 int remlen; local
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dtn_ipopt.c556 int remlen, olen, oval, delta; local
560 remlen = IPH_HDR_LENGTH(ipha) - IP_SIMPLE_HDR_LENGTH;
563 while (remlen > 0) {
580 remlen--;
585 if (remlen < 2)
588 if (olen < 2 || olen > remlen)
595 remlen -= olen;
605 remlen -= olen;
608 fptr += remlen;
643 int remlen, paddin local
[all...]
H A Dicmp.c2760 int remlen; local
2764 remlen = msgdsize(mp) - ip_hdr_length;
2765 sum = htons(connp->conn_proto + remlen)
H A Dip6.c3295 ip6_frag_t *fraghdr, uint_t remlen, ip_recv_attr_t *ira)
3448 end = remlen;
3294 ip_input_fragment_v6(mblk_t *mp, ip6_t *ip6h, ip6_frag_t *fraghdr, uint_t remlen, ip_recv_attr_t *ira) argument
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dirpmarshall.c893 size_t remlen; local
956 remlen = need - strlen(*buffer);
958 if (inet_ntop(ho->h_addrtype, *av, p, remlen) == NULL) {
963 remlen -= strlen(p);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ip.c843 int remlen; local
875 remlen = get_line_remain();
876 (void) strlcpy(cp, " ", remlen);
878 remlen -= 4;
887 (void) snprintf(cp, remlen, "Level %u", value);
891 (void) strlcpy(cp, "Bit-Vector: ", remlen);
892 remlen -= strlen(cp);
897 (void) snprintf(cp, remlen, "%04x", value);
898 remlen -= strlen(cp);
903 (void) strlcpy(cp, "Enumeration:", remlen);
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dbusra.c530 uint64_t len, remlen, largestbase, largestlen; local
637 remlen = upper - base;
639 remlen = mapp->ra_len -
643 (largestlen < remlen)) {
647 largestlen = remlen;
689 remlen = upper - base;
691 remlen =
698 largestlen = remlen;
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_util.c2531 unsigned int remlen = size % sizeof (unsigned int); local
2538 if (remlen) {
2540 (void) memcpy(p, &tmp, remlen);
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_input.c3264 ssize_t remlen = len; local
3270 if (!first || sctp_next_chunk(ch, &remlen) != NULL ||
3315 ssize_t remlen = len; local
3321 if (!first || sctp_next_chunk(ch, &remlen) != NULL ||
/illumos-gate/usr/src/uts/common/io/ppp/sppptun/
H A Dsppptun.c2072 int remlen; local
2103 remlen = sizeof (*poep);
2203 if (!adjmsg(mp, remlen) ||
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_sched.c1712 uint16_t remlen; local
1783 remlen = ntohs(ip6h->ip6_plen);
1799 remlen = ntohs(ipha->ipha_length) - hdr_len;
1812 if (remlen < MIN_EHDR_LEN)
/illumos-gate/usr/src/cmd/syslogd/
H A Dsyslogd.c726 size_t remlen; local
738 remlen = buflen - len;
739 (void) memcpy(buf, &buf[len], remlen);
740 dat.maxlen = MAXLINE - remlen;
741 dat.buf = &buf[remlen];
/illumos-gate/usr/src/uts/common/io/ib/clients/daplt/
H A Ddaplt.c9867 size_t remlen; local
9883 remlen = (size_t)sizeof (daplka_dbgbuf) - daplka_dbgnext - 1;
9885 if (length > remlen) {
9886 if (remlen)
9887 bcopy(str, daplka_dbgbuf + daplka_dbgnext, remlen);
9889 str += remlen;
9890 length -= remlen;

Completed in 130 milliseconds