Searched refs:hdtr (Results 1 - 13 of 13) sorted by relevance

/freebsd-11-stable/contrib/apr/network_io/unix/
H A Dsendrecv.c258 apr_hdtr_t *hdtr, apr_off_t *offset,
291 if (!hdtr) {
292 hdtr = &no_hdtr;
295 if (hdtr->numheaders > 0) {
305 arv = apr_socket_sendv(sock, hdtr->headers, hdtr->numheaders,
318 for (i = 0; i < hdtr->numheaders; i++) {
319 total_hdrbytes += hdtr->headers[i].iov_len;
391 if (hdtr->numtrailers > 0) {
393 arv = apr_socket_sendv(sock, hdtr
257 apr_socket_sendfile(apr_socket_t *sock, apr_file_t *file, apr_hdtr_t *hdtr, apr_off_t *offset, apr_size_t *len, apr_int32_t flags) argument
413 apr_socket_sendfile(apr_socket_t *sock, apr_file_t *file, apr_hdtr_t *hdtr, apr_off_t *offset, apr_size_t *len, apr_int32_t flags) argument
531 apr_socket_sendfile(apr_socket_t * sock, apr_file_t * file, apr_hdtr_t * hdtr, apr_off_t * offset, apr_size_t * len, apr_int32_t flags) argument
667 apr_socket_sendfile(apr_socket_t *sock, apr_file_t *file, apr_hdtr_t *hdtr, apr_off_t *offset, apr_size_t *len, apr_int32_t flags) argument
815 apr_socket_sendfile(apr_socket_t * sock, apr_file_t * file, apr_hdtr_t * hdtr, apr_off_t * offset, apr_size_t * len, apr_int32_t flags) argument
977 apr_socket_sendfile(apr_socket_t *sock, apr_file_t *file, apr_hdtr_t *hdtr, apr_off_t *offset, apr_size_t *len, apr_int32_t flags) argument
[all...]
/freebsd-11-stable/tools/regression/sockets/sendfile/
H A Dsendfile.c272 struct sf_hdtr hdtr, *hdtrp; local
301 hdtrp = &hdtr;
305 bzero(&hdtr, sizeof(hdtr));
306 hdtr.headers = &headers;
307 hdtr.hdr_cnt = 1;
308 hdtr.trailers = NULL;
309 hdtr.trl_cnt = 0;
/freebsd-11-stable/sys/kern/
H A Dkern_sendfile.c919 struct sf_hdtr hdtr; local
936 if (uap->hdtr != NULL) {
937 error = copyin(uap->hdtr, &hdtr, sizeof(hdtr));
940 if (hdtr.headers != NULL) {
941 error = copyinuio(hdtr.headers, hdtr.hdr_cnt,
959 if (hdtr.trailers != NULL) {
960 error = copyinuio(hdtr
[all...]
H A Dsystrace_args.c2074 uarg[4] = (intptr_t) p->hdtr; /* struct sf_hdtr * */
/freebsd-11-stable/contrib/serf/
H A Dserf_bucket_util.h72 apr_hdtr_t *hdtr,
H A Dserf.h810 * On input, hdtr->numheaders and hdtr->numtrailers specify the size
811 * of the hdtr->headers and hdtr->trailers arrays, respectively. The
832 apr_size_t requested, apr_hdtr_t *hdtr,
/freebsd-11-stable/contrib/serf/buckets/
H A Dbuckets.c82 apr_hdtr_t *hdtr,
93 hdtr->numheaders,
94 hdtr->headers,
95 &hdtr->numheaders);
99 hdtr->numtrailers = 0;
79 serf_default_read_for_sendfile( serf_bucket_t *bucket, apr_size_t requested, apr_hdtr_t *hdtr, apr_file_t **file, apr_off_t *offset, apr_size_t *len) argument
/freebsd-11-stable/lib/libc/tests/sys/
H A Dsendfile_test.c677 struct sf_hdtr hdtr; local
681 hdtr.headers = headers;
682 hdtr.hdr_cnt = nitems(headers);
684 hdtr.headers = NULL;
685 hdtr.hdr_cnt = 0;
689 hdtr.trailers = trailers;
690 hdtr.trl_cnt = nitems(trailers);
692 hdtr.trailers = NULL;
693 hdtr.trl_cnt = 0;
724 error = sendfile(fd, client_sock, offset, nbytes, &hdtr,
[all...]
/freebsd-11-stable/contrib/apr/include/
H A Dapr_network_io.h626 * @param hdtr A structure containing the headers and trailers to send
641 apr_hdtr_t *hdtr,
/freebsd-11-stable/sys/compat/freebsd32/
H A Dfreebsd32_misc.c1689 struct sf_hdtr hdtr; local
1703 if (uap->hdtr != NULL) {
1704 error = copyin(uap->hdtr, &hdtr32, sizeof(hdtr32));
1707 PTRIN_CP(hdtr32, hdtr, headers);
1708 CP(hdtr32, hdtr, hdr_cnt);
1709 PTRIN_CP(hdtr32, hdtr, trailers);
1710 CP(hdtr32, hdtr, trl_cnt);
1712 if (hdtr.headers != NULL) {
1732 if (hdtr.trailers != NULL) {
H A Dfreebsd32_proto.h338 char hdtr_l_[PADL_(struct sf_hdtr32 *)]; struct sf_hdtr32 * hdtr; char hdtr_r_[PADR_(struct sf_hdtr32 *)]; member in struct:freebsd32_sendfile_args
957 char hdtr_l_[PADL_(struct sf_hdtr32 *)]; struct sf_hdtr32 * hdtr; char hdtr_r_[PADR_(struct sf_hdtr32 *)]; member in struct:freebsd4_freebsd32_sendfile_args
H A Dfreebsd32_systrace_args.c1971 uarg[5] = (intptr_t) p->hdtr; /* struct sf_hdtr32 * */
/freebsd-11-stable/sys/sys/
H A Dsysproto.h1103 char hdtr_l_[PADL_(struct sf_hdtr *)]; struct sf_hdtr * hdtr; char hdtr_r_[PADR_(struct sf_hdtr *)]; member in struct:sendfile_args
2395 char hdtr_l_[PADL_(struct sf_hdtr *)]; struct sf_hdtr * hdtr; char hdtr_r_[PADR_(struct sf_hdtr *)]; member in struct:freebsd4_sendfile_args

Completed in 340 milliseconds