Home
last modified time | relevance | path

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

/freebsd/usr.sbin/ctld/
H A Disns.c58 req->ir_buf = calloc(1, req->ir_buflen); in isns_req_alloc()
59 if (req->ir_buf == NULL) { in isns_req_alloc()
75 hdr = (struct isns_hdr *)req->ir_buf; in isns_req_create()
86 free(req->ir_buf); in isns_req_free()
99 newbuf = realloc(req->ir_buf, newlen); in isns_req_getspace()
104 req->ir_buf = newbuf; in isns_req_getspace()
118 tlv = (struct isns_tlv *)&req->ir_buf[req->ir_usedlen]; in isns_req_add()
206 hdr = (struct isns_hdr *)req->ir_buf; in isns_req_send()
213 res = write(s, req->ir_buf, req->ir_usedlen); in isns_req_send()
225 res = read(s, req->ir_buf, sizeof(*hdr)); in isns_req_receive()
[all …]
H A Disns.h73 uint8_t *ir_buf; member