Lines Matching refs:len
130 dhcp_pl->len = strlen(ackp) / 2;
131 if ((dhcp_pl->pkt = malloc(dhcp_pl->len)) == NULL) {
134 if (hexascii_to_octet(ackp, dhcp_pl->len * 2,
135 dhcp_pl->pkt, &dhcp_pl->len) != 0) {
206 int len;
239 len = di_prom_prop_data(pp, (uchar_t **)&val);
241 *lenp = len;
251 strip_args(char *path, size_t len)
255 if (path != NULL && len != 0 &&
256 (stripped_path = calloc(len + 1, sizeof (char))) != NULL) {
259 (void) memcpy(stripped_path, path, len);
275 size_t len;
277 path = get_prop("chosen", "bootpath", &len);
278 return (strip_args(path, len));
289 size_t len;
291 path = get_prop("aliases", "net", &len);
292 return (strip_args(path, len));