/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | addipopt.c | 18 int olen = len; local 64 return len - olen;
|
H A D | ipft_tx.c | 314 u_long olen; local 317 olen = buildopts(*cpp, ipopts, (IP_HL(ip) - 5) << 2); 318 if (olen) { 319 bcopy(ipopts, (char *)(ip + 1), olen); 320 IP_HL_A(ip, IP_HL(ip) + (olen >> 2));
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | misc.c | 36 size_t mlen, olen, clen; local 44 olen = min(off, mlen); 45 if ((olen == mlen) || (olen < off)) { 46 off -= olen; 48 } else if (olen) { 49 off -= olen; 50 s += olen; 51 mlen -= olen; 67 size_t mlen, olen, cle local [all...] |
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_item.cc | 96 item::equal(char* other, int olen, bool_t casein) argument 99 return ((len == olen) && (!strncasecmp(value, other, len))); 101 return ((len == olen) && (!memcmp(value, other, len)));
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | util.c | 148 int bufused, olen; local 155 for (ip = ibp, olen = 1; *ip != '\0'; ip++, olen++) 159 olen++; 165 if (olen > *bsp) 167 obp = sm_malloc_x(olen); 169 *bsp = olen; 185 SM_ASSERT(bufused <= olen); 192 obp = sm_malloc_x(olen); 194 *bsp = olen; [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/sbin/dhcpagent/ |
H A D | init_reboot.c | 126 uint_t olen, solen; local 143 &olen)) != NULL) { 151 if (olen < sizeof (dhcpv6_ia_na_t)) 166 olen -= sizeof (dhcpv6_ia_na_t); 168 while ((d6so = dhcpv6_find_option(obase, olen, d6so,
|
H A D | bound.c | 655 uint_t olen, solen, ssolen, msglen; local 670 &olen)) != NULL) { 671 if (olen < sizeof (d6in)) { 724 olen -= sizeof (d6in); 725 d6so = dhcpv6_find_option(optbase, olen, NULL, 776 while ((d6so = dhcpv6_find_option(optbase, olen, d6so, 1170 uint_t olen; local 1172 d6o = dhcpv6_pkt_option(msg, NULL, DHCPV6_OPT_SERVERID, &olen); 1175 olen -= sizeof (*d6o); 1177 if ((dsmp->dsm_serverid = malloc(olen)) [all...] |
H A D | request.c | 103 uint_t olen; local 105 d6o = dhcpv6_pkt_option(plp, NULL, DHCPV6_OPT_UNICAST, &olen); 106 olen -= sizeof (*d6o); 110 } else if (olen != sizeof (dsmp->dsm_server)) { 117 (void) memcpy(&addr, d6o + 1, olen); 251 uint_t olen, msglen; local 255 &olen); 256 (void) dhcpv6_status_code(d6o, olen, &estr, &msg, &msglen); 365 uint_t olen, solen; local 385 d6o = dhcpv6_pkt_option(pkt, NULL, DHCPV6_OPT_STATUS_CODE, &olen); 699 uint_t olen; local [all...] |
/illumos-gate/usr/src/lib/libinstzones/common/ |
H A D | zones_lofs.c | 261 int olen = sizeof (MNTOPT_RO) - 1; local 272 (cp[olen] == '\0' || cp[olen] == ',')) {
|
/illumos-gate/usr/src/common/net/dhcp/ |
H A D | scan.c | 198 uint_t olen; local 204 olen = ntohs(d6o.d6o_len) + sizeof (d6o); 205 if (olen > buflen) 209 bp += olen; 210 buflen -= olen; 214 *retlenp = olen;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/ |
H A D | deflate.c | 234 int rlen, olen, ospace; local 274 olen = state->mru + 2 - state->strm.avail_out; 275 *outlenp = olen; 278 ++olen; /* for suppressed protocol high byte */ 279 olen += 2; /* for address, control */ 282 if (olen > state->mru + PPP_HDRLEN) 284 state->unit, olen, state->mru + PPP_HDRLEN); 287 state->stats.unc_bytes += olen;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | cbcp.c | 228 int code, id, len, olen, alen; local 263 GETCHAR(olen, p); 265 if (olen < 2) 270 if (olen > len) { 271 printer(arg, "trunc[%d>%d] ", olen, len); 272 olen = len; 274 len -= olen; 275 olen -= 2; 282 if (olen > 0) { 284 olen [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | lcl_ng.c | 360 int len, olen, cont; local 391 olen = 0; 406 if (!(linep = malloc(olen + len + 1))){ 407 if (olen > 0) 415 if (olen > 0) { 416 memcpy(linep, olinep, olen); 419 memcpy(linep + olen, pos, len); 420 olen += len; 421 *(linep + olen) = '\0';
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | nlspath_checks.c | 485 int olen, nlen; local 507 olen = extract_format(torg, ofmt, osz, 0); 509 if (olen == -1) 532 if (strict && (olen != nlen || olen == -1)) { 556 if (off >= olen * FORMAT_SIZE ||
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/ |
H A D | pppoe.c | 65 strioctl(int fd, int cmd, void *ptr, int ilen, int olen) argument 77 if (str.ic_len != olen) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/sppptun/ |
H A D | sppptun.c | 150 strioctl(int fd, int cmd, void *ptr, int ilen, int olen, const char *iocname) argument 164 if (olen >= 0) { 165 if (str.ic_len > olen && verbose > 1) { 167 "%d > %d\n"), myname, iocname, str.ic_len, olen); local 168 } else if (str.ic_len < olen) { 170 "bytes, got %d\n"), myname, iocname, olen,
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipfs.c | 113 int fd, olen, nlen, rw; local 123 olen = strlen(ifs); 125 olen >= sizeof(ips.ips_is.is_ifname)) 136 if (!strncmp(ips.ips_is.is_ifname[0], ifs, olen + 1)) { 140 if (!strncmp(ips.ips_is.is_ifname[1], ifs, olen + 1)) { 168 int fd, olen, nlen, rw; local 179 olen = strlen(ifs); 182 olen >= sizeof(nat->nat_ifnames[0])) 193 if (!strncmp(nat->nat_ifnames[0], ifs, olen + 1)) { 197 if (!strncmp(nat->nat_ifnames[1], ifs, olen [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_cmd.c | 429 size_t olen; local 458 olen = MIN(MAXNAMELEN, maxsize - nsize); 460 &olen, &err); 473 ilen = MIN(MAXNAMELEN, maxsize - nsize) - olen;
|
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/ |
H A D | ip_irc_pxy.c | 279 size_t nlen = 0, olen; local 329 olen = irc->irc_len; 341 inc = nlen - olen; 359 m1->b_wptr -= olen;
|
/illumos-gate/usr/src/uts/sparc/os/ |
H A D | bootdev.c | 218 size_t olen, rlen; local 279 olen = len; 359 (void) snprintf(optr, olen, "%s", prom_path); 360 olen -= strlen(optr) + 1; 361 if (olen > 0) /* drop paths we can't store */
|
/illumos-gate/usr/src/common/elfcap/ |
H A D | elfcap.c | 350 token(char **ostr, size_t *olen, const elfcap_str_t *nstr) argument 352 if (*olen < nstr->s_len) 357 *olen -= nstr->s_len;
|
/illumos-gate/usr/src/lib/libsasl/lib/ |
H A D | saslutil.c | 131 unsigned olen; local 141 olen = (inlen + 2) / 3 * 4; 143 *outlen = olen; 144 if (outmax <= olen)
|
/illumos-gate/usr/src/common/crypto/ecc/ |
H A D | ec.c | 643 unsigned olen; /* length in bytes of the base point order */ local 666 olen = ecParams->order.len; 671 if (signature->len < 2*olen) { 793 CHECK_MPI_OK( mp_to_fixlen_octets(&r, signature->data, olen) ); 794 CHECK_MPI_OK( mp_to_fixlen_octets(&s, signature->data + olen, olen) ); 796 signature->len = 2*olen; 881 unsigned olen; /* length in bytes of the base point order */ local 907 olen = ecParams->order.len; 909 signature->len > 2*olen) { [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | common.c | 123 strioctl(int fd, int cmd, void *ptr, int ilen, int olen) argument 135 if (str.ic_len != olen) {
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_dhcpv6.c | 66 int olen = len; local 92 return (olen); 110 return (olen); 160 return (olen); 173 return (olen); 185 return (olen); 561 nest_options(const uint8_t *data, uint_t olen, char *prefix, char *title) argument 565 if (olen <= 0) 577 show_options(data, olen); 587 uint_t olen, retle local [all...] |