Home
last modified time | relevance | path

Searched refs:requestlen (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/uts/intel/io/ipmi/
H A Dipmi.c59 uint8_t command, size_t requestlen, size_t replylen) in ipmi_alloc_request() argument
63 req = kmem_zalloc(sizeof (struct ipmi_request) + requestlen + replylen, in ipmi_alloc_request()
65 req->ir_sz = sizeof (struct ipmi_request) + requestlen + replylen; in ipmi_alloc_request()
70 if (requestlen) { in ipmi_alloc_request()
72 req->ir_requestlen = requestlen; in ipmi_alloc_request()
75 req->ir_reply = (uchar_t *)&req[1] + requestlen; in ipmi_alloc_request()
/titanic_44/usr/src/common/net/wanboot/
H A Dboot_http.c1535 int requestlen; in http_req() local
1586 requestlen = strlen(reqtypename) + 8 + strlen(CONN_HOSTNAME) + 1 + in http_req()
1594 requestlen += 6 + strlen(CONN_HOSTNAME) + 1 + in http_req()
1596 if ((request = malloc(requestlen)) == NULL) { in http_req()
1603 j = snprintf(request, requestlen, in http_req()
1608 j = snprintf(request, requestlen, "%s %s HTTP/1.1\r\n", in http_req()
1613 j += snprintf(&request[j], requestlen - j, "Host: %s:%d\r\n", in http_req()
1616 j += snprintf(&request[j], requestlen - j, in http_req()
1619 j += snprintf(&request[j], requestlen - j, in http_req()
1630 requestlen += 13 + count_digits(curpos) + 1 + 2; in http_req()
[all …]