/titanic_44/usr/src/lib/nsswitch/mdns/common/ |
H A D | mdns_common.c | 171 int remlen; in _nss_mdns_querynamereply() local 198 remlen = qdata->buflen = in _nss_mdns_querynamereply() 202 (void) memset(qdata->buffer, 0, remlen); in _nss_mdns_querynamereply() 204 remlen = qdata->buflen = in _nss_mdns_querynamereply() 208 calloc(1, remlen); in _nss_mdns_querynamereply() 212 0, remlen); in _nss_mdns_querynamereply() 219 remlen = qdata->buflen - strlen(qdata->buffer); in _nss_mdns_querynamereply() 223 syslog(LOG_DEBUG, "nss_mdns: querynamereply remlen:%d", remlen); in _nss_mdns_querynamereply() 227 len = snprintf(buffer, remlen, "%s %s", in _nss_mdns_querynamereply() 230 len = snprintf(buffer, remlen, "\n%s %s", in _nss_mdns_querynamereply() [all …]
|
/titanic_44/usr/src/lib/libbc/libc/gen/common/ |
H A D | exportent.c | 131 int remlen; in remexportent() local 137 remlen = 0; in remexportent() 162 remlen = strlen(buf); in remexportent() 163 rempos = ftell(f) - remlen; in remexportent() 179 if (remlen == 0) { in remexportent() 185 } else if (pos > rempos + remlen) { in remexportent() 186 res = fseek(f, pos - remlen, L_SET); in remexportent()
|
/titanic_44/usr/src/uts/common/inet/ip/ |
H A D | tn_ipopt.c | 556 int remlen, olen, oval, delta; in tsol_remove_secopt() local 560 remlen = IPH_HDR_LENGTH(ipha) - IP_SIMPLE_HDR_LENGTH; in tsol_remove_secopt() 563 while (remlen > 0) { in tsol_remove_secopt() 580 remlen--; in tsol_remove_secopt() 585 if (remlen < 2) in tsol_remove_secopt() 588 if (olen < 2 || olen > remlen) in tsol_remove_secopt() 595 remlen -= olen; in tsol_remove_secopt() 605 remlen -= olen; in tsol_remove_secopt() 608 fptr += remlen; in tsol_remove_secopt() 643 int remlen, padding, lastpad, totlen; in tsol_prepend_option() local [all …]
|
H A D | icmp.c | 2760 int remlen; in icmp_input() local 2764 remlen = msgdsize(mp) - ip_hdr_length; in icmp_input() 2765 sum = htons(connp->conn_proto + remlen) in icmp_input()
|
H A D | ip6.c | 3295 ip6_frag_t *fraghdr, uint_t remlen, ip_recv_attr_t *ira) in ip_input_fragment_v6() argument 3448 end = remlen; in ip_input_fragment_v6()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ip.c | 843 int remlen; in print_ip6opt_ls() local 875 remlen = get_line_remain(); in print_ip6opt_ls() 876 (void) strlcpy(cp, " ", remlen); in print_ip6opt_ls() 878 remlen -= 4; in print_ip6opt_ls() 887 (void) snprintf(cp, remlen, "Level %u", value); in print_ip6opt_ls() 891 (void) strlcpy(cp, "Bit-Vector: ", remlen); in print_ip6opt_ls() 892 remlen -= strlen(cp); in print_ip6opt_ls() 897 (void) snprintf(cp, remlen, "%04x", value); in print_ip6opt_ls() 898 remlen -= strlen(cp); in print_ip6opt_ls() 903 (void) strlcpy(cp, "Enumeration:", remlen); in print_ip6opt_ls() [all …]
|
/titanic_44/usr/src/cmd/backup/lib/ |
H A D | myrcmd.c | 69 uint_t loclen, remlen, cmdlen; in myrcmd() local 222 remlen = strlen(remuser) + 1; in myrcmd() 226 ((retval = write(s, remuser, remlen)) != remlen) || in myrcmd()
|
/titanic_44/usr/src/uts/common/io/ |
H A D | busra.c | 530 uint64_t len, remlen, largestbase, largestlen; in ndi_ra_alloc() local 637 remlen = upper - base; in ndi_ra_alloc() 639 remlen = mapp->ra_len - in ndi_ra_alloc() 643 (largestlen < remlen)) { in ndi_ra_alloc() 647 largestlen = remlen; in ndi_ra_alloc() 689 remlen = upper - base; in ndi_ra_alloc() 691 remlen = in ndi_ra_alloc() 698 largestlen = remlen; in ndi_ra_alloc()
|
/titanic_44/usr/src/lib/libresolv2/common/irs/ |
H A D | irpmarshall.c | 893 size_t remlen; in irp_marshall_ho() local 956 remlen = need - strlen(*buffer); in irp_marshall_ho() 958 if (inet_ntop(ho->h_addrtype, *av, p, remlen) == NULL) { in irp_marshall_ho() 963 remlen -= strlen(p); in irp_marshall_ho()
|
/titanic_44/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_util.c | 2531 unsigned int remlen = size % sizeof (unsigned int); in randomize() local 2538 if (remlen) { in randomize() 2540 (void) memcpy(p, &tmp, remlen); in randomize()
|
/titanic_44/usr/src/uts/common/io/ppp/sppptun/ |
H A D | sppptun.c | 2072 int remlen; in sppptun_recv() local 2103 remlen = sizeof (*poep); in sppptun_recv() 2203 if (!adjmsg(mp, remlen) || in sppptun_recv()
|
/titanic_44/usr/src/uts/common/io/mac/ |
H A D | mac_sched.c | 1712 uint16_t remlen; in mac_rx_srs_long_fanout() local 1783 remlen = ntohs(ip6h->ip6_plen); in mac_rx_srs_long_fanout() 1799 remlen = ntohs(ipha->ipha_length) - hdr_len; in mac_rx_srs_long_fanout() 1812 if (remlen < MIN_EHDR_LEN) in mac_rx_srs_long_fanout()
|
/titanic_44/usr/src/cmd/syslogd/ |
H A D | syslogd.c | 726 size_t remlen; in getkmsg() local 738 remlen = buflen - len; in getkmsg() 739 (void) memcpy(buf, &buf[len], remlen); in getkmsg() 740 dat.maxlen = MAXLINE - remlen; in getkmsg() 741 dat.buf = &buf[remlen]; in getkmsg()
|
/titanic_44/usr/src/uts/common/inet/sctp/ |
H A D | sctp_input.c | 3264 ssize_t remlen = len; in sctp_check_input() local 3270 if (!first || sctp_next_chunk(ch, &remlen) != NULL || in sctp_check_input() 3315 ssize_t remlen = len; in sctp_check_input() local 3321 if (!first || sctp_next_chunk(ch, &remlen) != NULL || in sctp_check_input()
|
/titanic_44/usr/src/uts/common/io/ib/clients/daplt/ |
H A D | daplt.c | 9867 size_t remlen; in daplka_dbglog() local 9883 remlen = (size_t)sizeof (daplka_dbgbuf) - daplka_dbgnext - 1; in daplka_dbglog() 9885 if (length > remlen) { in daplka_dbglog() 9886 if (remlen) in daplka_dbglog() 9887 bcopy(str, daplka_dbgbuf + daplka_dbgnext, remlen); in daplka_dbglog() 9889 str += remlen; in daplka_dbglog() 9890 length -= remlen; in daplka_dbglog()
|