Home
last modified time | relevance | path

Searched refs:typelen (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/lib/libipmi/common/
H A Dipmi_fru.c125 uint8_t len, typelen; in ipmi_fru_parse_product() local
143 (void) memcpy(&typelen, tmp, sizeof (uint8_t)); in ipmi_fru_parse_product()
144 len = BITX(typelen, 5, 0); in ipmi_fru_parse_product()
145 ipmi_decode_string((typelen >> 6), len, tmp+1, buf->ifpi_manuf_name); in ipmi_fru_parse_product()
148 (void) memcpy(&typelen, tmp, sizeof (uint8_t)); in ipmi_fru_parse_product()
149 len = BITX(typelen, 5, 0); in ipmi_fru_parse_product()
150 ipmi_decode_string((typelen >> 6), len, tmp+1, in ipmi_fru_parse_product()
154 (void) memcpy(&typelen, tmp, sizeof (uint8_t)); in ipmi_fru_parse_product()
155 len = BITX(typelen, 5, 0); in ipmi_fru_parse_product()
156 ipmi_decode_string((typelen >> 6), len, tmp+1, buf->ifpi_part_number); in ipmi_fru_parse_product()
[all …]
/titanic_41/usr/src/lib/krb5/plugins/preauth/pkinit/
H A Dpkinit_identity.c431 unsigned int typelen; in process_option_identity() local
433 typelen = residual - value; in process_option_identity()
434 if (strncmp(value, "FILE:", typelen) == 0) { in process_option_identity()
437 } else if (strncmp(value, "PKCS11:", typelen) == 0) { in process_option_identity()
440 } else if (strncmp(value, "PKCS12:", typelen) == 0) { in process_option_identity()
442 } else if (strncmp(value, "DIR:", typelen) == 0) { in process_option_identity()
444 } else if (strncmp(value, "ENV:", typelen) == 0) { in process_option_identity()
511 unsigned int typelen; in process_option_ca_crl() local
522 typelen = residual - value; in process_option_ca_crl()
523 if (strncmp(value, "FILE:", typelen) == 0) { in process_option_ca_crl()
[all …]
/titanic_41/usr/src/uts/common/io/
H A Dgldutil.c151 unsigned short typelen; in gld_interpret_ether() local
203 typelen = REF_NET_USHORT(mh->ether_type); in gld_interpret_ether()
211 if ((typelen == ETHERTYPE_VLAN) && in gld_interpret_ether()
266 if (typelen > ETHERMTU) { in gld_interpret_ether()
267 pktinfo->ethertype = typelen; /* use type interpretation */ in gld_interpret_ether()
279 (sizeof (struct ether_header) + typelen); in gld_interpret_ether()
340 unsigned short typelen; in gld_unitdata_ether() local
355 typelen = REF_HOST_USHORT(gldp->glda_sap); in gld_unitdata_ether()
357 typelen = gld->gld_sap; in gld_unitdata_ether()
364 if (typelen <= ETHERMTU) in gld_unitdata_ether()
[all …]
/titanic_41/usr/src/lib/libbsm/common/
H A Dau_to.c1279 short typelen; in au_to_xselect() local
1283 typelen = strlen(proptype) + 1; in au_to_xselect()
1287 proplen + typelen + datalen); in au_to_xselect()
1294 adr_short(&adr, &typelen, 1); in au_to_xselect()
1295 adr_char(&adr, proptype, typelen); in au_to_xselect()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/routeadm/
H A Drouteadm.c2083 ssize_t typelen; in ra_set_prop_from_string() local
2118 if ((typelen = scf_pg_get_type(cpg, NULL, 0) + 1) == 0) in ra_set_prop_from_string()
2120 if ((pgtype = malloc(typelen)) == NULL) { in ra_set_prop_from_string()
2125 (void) scf_pg_get_type(cpg, pgtype, typelen); in ra_set_prop_from_string()
/titanic_41/usr/src/cmd/zfs/
H A Dzfs_main.c2404 size_t typelen; in userspace_cb() local
2483 typelen = strlen(gettext(typestr)); in userspace_cb()
2485 if (typelen > cb->cb_width[typeidx]) in userspace_cb()
2486 cb->cb_width[typeidx] = typelen; in userspace_cb()