HomeSort by relevance Sort by last modified time
    Searched defs:hlen (Results 1 - 25 of 52) sorted by null

1 2 3

  /onnv/onnv-gate/usr/src/common/net/wanboot/
parseURL.c 55 size_t hlen; local
77 hlen = strlcpy(hport->hostname, optr, sizeof (hport->hostname));
78 if (hlen == 0 || hlen >= sizeof (hport->hostname)) {
  /onnv/onnv-gate/usr/src/uts/common/avs/ns/rdc/
rdc_subr.c 146 int hlen = strlen(host) + 1; local
158 nvp->ri_hostname = kmem_zalloc(hlen, KM_SLEEP);
165 nvp->ri_hostnamelen = hlen;
185 (void) strncpy(nvp->ri_hostname, host, hlen);
  /onnv/onnv-gate/usr/src/cmd/boot/fiocompress/
fiocompress.c 177 size_t blks, dstlen, hlen; local
182 hlen = offset = sizeof (struct comphdr) + blks * sizeof (uint64_t);
183 hdr = malloc(hlen);
185 (void) fprintf(stderr, HDR_ALLOC, hlen);
238 if (write(dstfd, hdr, hlen) != hlen) {
240 hlen, dstfile, strerror(errno));
  /onnv/onnv-gate/usr/src/cmd/ssh/libssh/common/
ssh-rsa.c 216 u_int ret, rsasize, oidlen = 0, hlen = 0; local
226 hlen = 20;
231 hlen = 16;
237 if (hashlen != hlen) {
253 if (len != hlen + oidlen) {
254 error("bad decrypted len: %d != %d + %d", len, hlen, oidlen);
261 if (memcmp(decrypted + oidlen, hash, hlen) != 0) {
  /onnv/onnv-gate/usr/src/lib/libsip/common/
sip_reass.c 80 int hlen; local
90 hlen = c - p;
91 if ((hlen + strlen("content-length")) >= msglen)
115 hlen = e - p + 4; /* 4 for 2 CRLFs ?? */
116 value += hlen;
  /onnv/onnv-gate/usr/src/uts/common/io/myri10ge/drv/
myri10ge_lro.c 144 int hlen, ip_len, tcp_hdr_len, tcp_data_len; local
222 hlen = ip_len + ETHERNET_HEADER_SIZE - tcp_data_len;
293 m_head->b_rptr += hlen;
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.bin/nc/
socks.c 156 size_t hlen, wlen; local
208 hlen = strlen(host);
209 if (hlen > 255)
215 buf[4] = hlen;
216 (void) memcpy(buf + 5, host, hlen);
217 (void) memcpy(buf + 5 + hlen, &serverport,
219 wlen = 5 + hlen + sizeof (serverport);
  /onnv/onnv-gate/usr/src/uts/common/inet/ipf/
ip_log.c 235 register size_t hlen; local
257 hlen = fin->fin_hlen;
264 hlen += MIN(sizeof(tcphdr_t), fin->fin_dlen);
266 hlen += MIN(sizeof(udphdr_t), fin->fin_dlen);
284 hlen += MIN(sizeof(struct icmp) + 8,
288 hlen += MIN(sizeof(struct icmp),
305 hlen += MIN(sizeof(struct icmp6_hdr) + 8,
308 hlen += MIN(sizeof(struct icmp6_hdr),
354 mlen = fin->fin_plen - hlen;
363 ipfl.fl_hlen = (u_char)hlen;
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/io/ppp/spppcomp/
vjcompress.c 164 register uint_t hlen = getip_hl(ip); local
184 th = (struct tcphdr *)&((int *)ip)[hlen];
190 thlen = (hlen + getth_off(th)) << 2;
276 oth = (struct tcphdr *)&((int *)&cs->cs_ip)[hlen];
279 deltaS = hlen;
494 register uint_t hlen; local
497 hlen = getip_hl(buf) << 2;
500 hlen + sizeof (struct tcphdr) > buflen ||
501 (hlen += getth_off(buf+hlen) << 2) > buflen || hlen > MAX_HDR)
538 register uint_t hlen; local
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/io/mac/
mac_protect.c 102 uint32_t maclen, hlen, plen, arplen; local
110 hlen = arh->arh_hlen;
112 if ((hlen != 0 && hlen != maclen) ||
116 arplen = sizeof (arh_t) + 2 * hlen + 2 * plen;
121 if (hlen != 0 &&
125 bcopy(shaddr + hlen, &spaddr, sizeof (spaddr));
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
ping_aux.c 233 int hlen, hlen1; local
289 hlen = ip->ip_hl << 2;
291 if ((cc < sizeof (struct ip)) || (cc < hlen + ICMP_MINLEN)) {
299 cc -= hlen;
301 icp = (struct icmp *)(buf + hlen);
1058 hlen -= sizeof (struct ip);
1061 if (verbose && hlen > 0)
1062 pr_options((uchar_t *)buf, hlen);
    [all...]
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
traceroute_aux.c 335 int hlen; local
341 hlen = ip->ip_hl << 2;
342 if (cc < hlen + ICMP_MINLEN) {
349 cc -= hlen;
351 icp = (struct icmp *)(buf + hlen);
368 hlen = hip->ip_hl << 2;
369 cc -= hlen;
377 hicmp = (struct icmp *)((uchar_t *)hip + hlen);
388 up = (struct udphdr *)((uchar_t *)hip + hlen);
  /onnv/onnv-gate/usr/src/cmd/stat/common/
dsr.c 615 size_t hlen = strlen(hostname); local
627 if (cp[hlen] != ',' && cp[hlen] != ':') {
628 special = &cp[hlen];
635 cp = &cp[hlen];
  /onnv/onnv-gate/usr/src/lib/libsocket/inet/
getaddrinfo.c 588 size_t hlen = sizeof (_hostname); local
590 if (strlcpy(_hostname, hostname, hlen) >= hlen) {
  /onnv/onnv-gate/usr/src/cmd/ipf/tools/
ipftest.c 78 int fd, i, dir, c, loaded, dump, hlen; local
88 hlen = 0;
231 hlen = IP_HL(ip) << 2;
235 hlen = sizeof(ip6_t);
240 i = fr_check(ip, hlen, ifp, dir, &m, ifs);
  /onnv/onnv-gate/usr/src/uts/common/fs/nfs/
nfs3_vfsops.c 256 size_t hlen; /* length of hostname */ local
373 sizeof (netname), &hlen);
376 nargs->hostname = kmem_zalloc(hlen, KM_SLEEP);
    [all...]
nfs_vfsops.c 264 size_t hlen; /* length of hostname */ local
392 sizeof (netname), &hlen);
395 nargs->hostname = kmem_zalloc(hlen, KM_SLEEP);
    [all...]
  /onnv/onnv-gate/usr/src/cmd/sgs/rtld/common/
paths.c 535 size_t no, mlen, tlen, hlen = olen - 1; local
555 mlen = ((hlen + tlen) *
566 hlen);
567 lptr = lptr + hlen;
    [all...]
  /onnv/onnv-gate/usr/src/lib/nsswitch/dns/common/
dns_common.c 386 int hlen = 0, alen, iplen, len, isans; local
453 hlen = strlen(host);
455 if (hlen <= 0) {
471 if ((isans = strncasecmp(host, ans, hlen)) != 0 &&
513 if (alen + hlen + 2 > NS_MAXMSG) {
521 alen += hlen;
522 apc += hlen;
532 hlen = len;
557 len = iplen + 2 + hlen + alen;
570 blen += hlen;
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/inet/ip/
tn_ipopt.c 823 uint_t hlen; local
863 hlen = IPH_HDR_LENGTH(ipha) - IP_SIMPLE_HDR_LENGTH;
866 if (hlen >= sec_opt_len) {
868 if (sec_opt_len == 0 && hlen > 0 &&
881 if (hlen > 0) {
887 hlen = IPH_HDR_LENGTH(ipha) + opt_storage[IPOPT_OLEN];
888 hlen = (hlen + 3) & ~3;
889 if (hlen > IP_MAX_HDR_LENGTH)
890 hlen = IP_MAX_HDR_LENGTH
1377 uint_t hlen; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
rdisc.c 1263 int n, cc, hlen; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/sdiff/
sdiff.c 89 static int hlen; /* Half line length with space for gutter */ variable
211 hlen = (llen - WGUTTER +1)/2;
407 (void) getlen((hlen + WGUTTER) % 8, bp);
540 if (tlen >= hlen) {
551 if (tlen >= hlen) {
564 if (tlen >= hlen) {
578 if (tlen > hlen) {
597 * hlen is length of half line
602 for (i = 0; i < hlen - len1; i++)
  /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/support/
fake-addrinfo.c 932 size_t hlen, slen; local
939 hlen = hostlen;
940 if (hostlen < 0 || hlen != hostlen) {
962 strncpy(host, tmpbuf, hlen);
967 strncpy (host, p, hlen);
984 strncpy (host, hp->h_name, hlen);
    [all...]
  /onnv/onnv-gate/usr/src/lib/libdhcputil/common/
dhcp_inittab.c 548 int hlen = 0; local
611 hlen = ie->ds_dhcpv6 ? sizeof (*d6o) : 2;
614 if (hlen + length > 0)
615 result = malloc(hlen + length);
618 optstart += hlen;
744 length = (optstart - result) - hlen;
989 *lengthp = length + hlen;
    [all...]
  /onnv/onnv-gate/usr/src/lib/libnsl/nis/gen/
nis_misc_proc.c 919 size_t hlen; local
929 hlen = strlen(host);
930 if (hlen + 1 >= sizeof (hostnetname) ||
931 hlen >= sizeof (hostname)) {
949 size_t reqlen = hlen + strlen(localDir);

Completed in 3716 milliseconds

1 2 3