isc_buffer Struct Reference

#include <buffer.h>


Public Member Functions

 ISC_LINK (isc_buffer_t) link

Data Fields

unsigned int magic
void * base
isc_mem_tmctx
unsigned int length
unsigned int used
unsigned int current
unsigned int active


Detailed Description

Note that the buffer structure is public. This is principally so buffer operations can be implemented using macros. Applications are strongly discouraged from directly manipulating the structure.

Definition at line 173 of file buffer.h.


Member Function Documentation

isc_buffer::ISC_LINK ( isc_buffer_t   ) 

linkable


Field Documentation

unsigned int isc_buffer::magic

Definition at line 174 of file buffer.h.

void* isc_buffer::base

Definition at line 175 of file buffer.h.

Referenced by add_alias(), byaddr_done(), control_recvmessage(), dns_diff_print(), dns_dispatch_addresponse3(), dns_dispatch_removeresponse(), dns_journal_destroy(), dns_journal_print(), dns_master_dumpnodetostream(), dns_name_concatenate(), dns_name_copy(), dns_name_downcase(), dns_name_fromtext(), dns_name_fromwire(), dns_name_towire(), dns_tcpmsg_init(), dns_tcpmsg_invalidate(), dns_tcpmsg_keepbuffer(), dns_tcpmsg_readmessage(), do_cancel(), dump_rdataset(), dump_rdataset_raw(), dumptostreaminc(), isc_buffer_compact(), isc_buffer_reallocate(), isc_buffer_reinit(), isc_lex_gettoken(), isccc_ccmsg_init(), isccc_ccmsg_invalidate(), isccc_ccmsg_readmessage(), load_raw(), log_rr(), read_one_rr(), rndc_connected(), rndc_recvnonce(), roll_forward(), sendstream(), size_buffer(), store_realname(), tcp_recv(), udp_recv(), value_towire(), writeheader(), xfrout_ctx_create(), and xfrout_ctx_destroy().

unsigned int isc_buffer::length

The following integers are byte offsets from 'base'.

Definition at line 178 of file buffer.h.

Referenced by ATF_TC_BODY(), dns_dispatch_removeresponse(), dns_journal_destroy(), dns_journal_print(), dns_master_dumpnodetostream(), dns_message_rendersection(), dns_name_concatenate(), dns_name_copy(), dns_name_downcase(), dns_name_towire(), dns_tcpmsg_init(), dns_tcpmsg_invalidate(), dns_tcpmsg_keepbuffer(), dns_tcpmsg_readmessage(), do_cancel(), dst_gssapi_acceptctx(), dump_rdataset(), dump_rdataset_raw(), dumptostreaminc(), isc__buffer_putuint16(), isc__buffer_putuint24(), isc__buffer_putuint32(), isc__buffer_putuint48(), isc__buffer_putuint8(), isc_buffer_free(), isc_buffer_reallocate(), isc_buffer_reinit(), isccc_ccmsg_init(), isccc_ccmsg_invalidate(), isccc_ccmsg_readmessage(), load_text(), roll_forward(), size_buffer(), tcp_recv(), udp_recv(), writeheader(), xfrout_ctx_create(), and xfrout_ctx_destroy().

unsigned int isc_buffer::used

The following integers are byte offsets from 'base'.

Definition at line 179 of file buffer.h.

Referenced by add_alias(), byaddr_done(), control_recvmessage(), dns_diff_print(), dns_message_rendersection(), dns_name_concatenate(), dns_name_copy(), dns_name_downcase(), dns_name_fromtext(), dns_name_fromwire(), dns_name_totext2(), dns_name_towire(), dns_ncache_towire(), dns_rdata_towire(), forward_callback(), isc__buffer_add(), isc__buffer_putmem(), isc__buffer_putstr(), isc__buffer_putuint16(), isc__buffer_putuint24(), isc__buffer_putuint32(), isc__buffer_putuint48(), isc__buffer_putuint8(), isc__buffer_subtract(), isc_buffer_compact(), isc_buffer_copyregion(), isc_buffer_getuint16(), isc_buffer_getuint32(), isc_buffer_getuint48(), isc_buffer_getuint8(), isc_lex_gettoken(), launch_next_query(), load_text(), log_rr(), notify_done(), question_totext(), rdataset_totext(), read_one_rr(), recv_done(), refresh_callback(), rndc_connected(), rndc_recvnonce(), store_realname(), stub_callback(), and towiresorted().

unsigned int isc_buffer::current

The following integers are byte offsets from 'base'.

Definition at line 180 of file buffer.h.

Referenced by buffer_empty(), dns_name_fromtext(), dns_name_fromwire(), getsection(), isc__buffer_forward(), isc__buffer_setactive(), isc_buffer_compact(), isc_buffer_getuint16(), isc_buffer_getuint32(), isc_buffer_getuint48(), isc_buffer_getuint8(), isc_lex_gettoken(), pushandgrow(), pushback(), and read_one_rr().

unsigned int isc_buffer::active

The following integers are byte offsets from 'base'.

Definition at line 181 of file buffer.h.

Referenced by buffer_empty(), and isc_buffer_compact().

isc_mem_t* isc_buffer::mctx

private internal elements

Definition at line 186 of file buffer.h.

Referenced by isc__buffer_invalidate(), isc_buffer_free(), and isc_buffer_reallocate().


The documentation for this struct was generated from the following file:
Generated on Tue Apr 28 17:41:20 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha