/illumos-gate/usr/src/lib/nsswitch/mdns/common/ |
H A D | mdns_common.c | 169 int remlen; in _nss_mdns_querynamereply() local 196 remlen = qdata->buflen = in _nss_mdns_querynamereply() 200 (void) memset(qdata->buffer, 0, remlen); in _nss_mdns_querynamereply() 202 remlen = qdata->buflen = in _nss_mdns_querynamereply() 206 calloc(1, remlen); in _nss_mdns_querynamereply() 210 0, remlen); in _nss_mdns_querynamereply() 217 remlen = qdata->buflen - strlen(qdata->buffer); in _nss_mdns_querynamereply() 221 syslog(LOG_DEBUG, "nss_mdns: querynamereply remlen:%d", remlen); in _nss_mdns_querynamereply() 225 len = snprintf(buffer, remlen, "%s %s", in _nss_mdns_querynamereply() 228 len = snprintf(buffer, remlen, "\n%s %s", in _nss_mdns_querynamereply() [all …]
|
/illumos-gate/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 | 2768 int remlen; in icmp_input() local 2772 remlen = msgdsize(mp) - ip_hdr_length; in icmp_input() 2773 sum = htons(connp->conn_proto + remlen) in icmp_input()
|
H A D | ip6.c | 3194 ip6_frag_t *fraghdr, uint_t remlen, ip_recv_attr_t *ira) in ip_input_fragment_v6() argument 3347 end = remlen; in ip_input_fragment_v6()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ip.c | 844 int remlen; in print_ip6opt_ls() local 876 remlen = get_line_remain(); in print_ip6opt_ls() 877 (void) strlcpy(cp, " ", remlen); in print_ip6opt_ls() 879 remlen -= 4; in print_ip6opt_ls() 888 (void) snprintf(cp, remlen, "Level %u", value); in print_ip6opt_ls() 892 (void) strlcpy(cp, "Bit-Vector: ", remlen); in print_ip6opt_ls() 893 remlen -= strlen(cp); in print_ip6opt_ls() 898 (void) snprintf(cp, remlen, "%04x", value); in print_ip6opt_ls() 899 remlen -= strlen(cp); in print_ip6opt_ls() 904 (void) strlcpy(cp, "Enumeration:", remlen); in print_ip6opt_ls() [all …]
|
/illumos-gate/usr/src/cmd/backup/lib/ |
H A D | myrcmd.c | 67 uint_t loclen, remlen, cmdlen; in myrcmd() local 220 remlen = strlen(remuser) + 1; in myrcmd() 224 ((retval = write(s, remuser, remlen)) != remlen) || in myrcmd()
|
/illumos-gate/usr/src/cmd/bhyve/amd64/ |
H A D | fwctl.c | 397 ssize_t remlen; in fwctl_response() local 419 remlen = rinfo.resp_size - rinfo.resp_off; in fwctl_response() 421 if (remlen >= (ssize_t)sizeof(uint32_t)) { in fwctl_response() 423 } else if (remlen > 0) { in fwctl_response() 424 *retval = fwctl_send_rest(dp, remlen); in fwctl_response()
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | busra.c | 531 uint64_t len, remlen, largestbase, largestlen; in ndi_ra_alloc() local 638 remlen = upper - base; in ndi_ra_alloc() 640 remlen = mapp->ra_len - in ndi_ra_alloc() 644 (largestlen < remlen)) { in ndi_ra_alloc() 648 largestlen = remlen; in ndi_ra_alloc() 690 remlen = upper - base; in ndi_ra_alloc() 692 remlen = in ndi_ra_alloc() 699 largestlen = remlen; in ndi_ra_alloc()
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | irpmarshall.c | 889 size_t remlen; in irp_marshall_ho() local 952 remlen = need - strlen(*buffer); in irp_marshall_ho() 954 if (inet_ntop(ho->h_addrtype, *av, p, remlen) == NULL) { in irp_marshall_ho() 959 remlen -= strlen(p); in irp_marshall_ho()
|
/illumos-gate/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()
|
/illumos-gate/usr/src/uts/common/io/ppp/sppptun/ |
H A D | sppptun.c | 2076 int remlen; in sppptun_recv() local 2107 remlen = sizeof (*poep); in sppptun_recv() 2207 if (!adjmsg(mp, remlen) || in sppptun_recv()
|
/illumos-gate/usr/src/uts/common/io/mac/ |
H A D | mac_sched.c | 1711 uint16_t remlen; in mac_rx_srs_long_fanout() local 1782 remlen = ntohs(ip6h->ip6_plen); in mac_rx_srs_long_fanout() 1801 remlen = ntohs(ipha->ipha_length) - hdr_len; in mac_rx_srs_long_fanout() 1814 if (remlen < MIN_EHDR_LEN) in mac_rx_srs_long_fanout()
|
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | syslogd.c | 724 size_t remlen; in getkmsg() local 736 remlen = buflen - len; in getkmsg() 737 (void) memcpy(buf, &buf[len], remlen); in getkmsg() 738 dat.maxlen = MAXLINE - remlen; in getkmsg() 739 dat.buf = &buf[remlen]; in getkmsg()
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_input.c | 3266 ssize_t remlen = len; in sctp_check_input() local 3272 if (!first || sctp_next_chunk(ch, &remlen) != NULL || in sctp_check_input() 3317 ssize_t remlen = len; in sctp_check_input() local 3323 if (!first || sctp_next_chunk(ch, &remlen) != NULL || in sctp_check_input()
|
/illumos-gate/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()
|