Home
last modified time | relevance | path

Searched refs:buffer_type (Results 1 – 25 of 29) sorted by relevance

12

/netbsd-src/external/bsd/nsd/dist/
H A Dbuffer.h23 typedef struct buffer buffer_type; typedef
55 buffer_invariant(buffer_type *ATTR_UNUSED(buffer)) in buffer_invariant()
60 buffer_invariant(buffer_type *buffer) in buffer_invariant()
72 buffer_type *buffer_create(region_type *region, size_t capacity);
79 void buffer_create_from(buffer_type *buffer, void *data, size_t size);
85 void buffer_clear(buffer_type *buffer);
92 void buffer_flip(buffer_type *buffer);
98 void buffer_rewind(buffer_type *buffer);
101 buffer_position(buffer_type *buffer) in buffer_position()
111 buffer_set_position(buffer_type *buffer, size_t mark) in buffer_set_position()
[all …]
H A Dbuffer.c19 buffer_type *buffer = (buffer_type *) arg; in buffer_cleanup()
24 buffer_type *
27 buffer_type *buffer in buffer_create()
28 = (buffer_type *) region_alloc(region, sizeof(buffer_type)); in buffer_create()
44 buffer_create_from(buffer_type *buffer, void *data, size_t size) in buffer_create_from()
57 buffer_clear(buffer_type *buffer) in buffer_clear()
66 buffer_flip(buffer_type *buffer) in buffer_flip()
75 buffer_rewind(buffer_type *buffer) in buffer_rewind()
83 buffer_set_capacity(buffer_type *buffer, size_t capacity) in buffer_set_capacity()
92 buffer_reserve(buffer_type *buffer, size_t amount) in buffer_reserve()
[all …]
H A Drdata.c74 typedef int (*rdata_to_string_type)(buffer_type *output,
79 rdata_dname_to_string(buffer_type *output, rdata_atom_type rdata, in rdata_dname_to_string()
90 rdata_dns_name_to_string(buffer_type *output, rdata_atom_type rdata, in rdata_dns_name_to_string()
127 rdata_text_to_string(buffer_type *output, rdata_atom_type rdata, in rdata_text_to_string()
151 rdata_texts_to_string(buffer_type *output, rdata_atom_type rdata, in rdata_texts_to_string()
179 rdata_long_text_to_string(buffer_type *output, rdata_atom_type rdata, in rdata_long_text_to_string()
203 rdata_tag_to_string(buffer_type *output, rdata_atom_type rdata, in rdata_tag_to_string()
219 rdata_byte_to_string(buffer_type *output, rdata_atom_type rdata, in rdata_byte_to_string()
228 rdata_short_to_string(buffer_type *output, rdata_atom_type rdata, in rdata_short_to_string()
237 rdata_long_to_string(buffer_type *output, rdata_atom_type rdata, in rdata_long_to_string()
[all …]
H A Drdata.h24 int rdata_atom_to_string(buffer_type *output, rdata_zoneformat_type type,
39 buffer_type *packet,
50 int rdata_atoms_to_unknown_string(buffer_type *out,
58 int print_rdata(buffer_type *output, rrtype_descriptor_type *descriptor,
H A Dpacket.h176 int packet_skip_rr(buffer_type *packet, int question_section);
181 int packet_skip_dname(buffer_type *packet);
188 buffer_type *packet,
196 int packet_read_query_section(buffer_type *packet,
203 int packet_find_notify_serial(buffer_type *packet, uint32_t* serial);
H A Dtsig.h225 void tsig_update(tsig_record_type *tsig, buffer_type *packet, size_t length);
253 int tsig_find_rr(tsig_record_type *tsig, buffer_type *packet);
263 int tsig_parse_rr(tsig_record_type *tsig, buffer_type *packet);
268 void tsig_append_rr(tsig_record_type *tsig, buffer_type *packet);
H A Dxfrd.h378 xfrd_zone_type* zone, buffer_type* packet);
402 int xfrd_send_udp(struct acl_options* acl, buffer_type* packet,
408 int xfrd_udp_read_packet(buffer_type* packet, int fd, struct sockaddr* src,
424 void xfrd_tsig_sign_request(buffer_type* packet, struct tsig_record* tsig,
435 void xfrd_handle_passed_packet(buffer_type* packet,
H A Dxfr-inspect.c145 print_records(region_type* region, buffer_type* pkt, int num, int qsection) in print_records()
151 buffer_type* tmpbuf; in print_records()
193 inspect_packet(region_type* region, buffer_type* pkt) in inspect_packet()
233 buffer_type* packet; in inspect_part()
394 list_packet(region_type* region, buffer_type* pkt, int partnum) in list_packet()
418 buffer_type* packet; in list_part()
H A Dpacket.c215 packet_skip_dname(buffer_type *packet) in packet_skip_dname()
239 packet_skip_rr(buffer_type *packet, int question_section) in packet_skip_rr()
264 buffer_type *packet, int question_section) in packet_read_rr()
308 int packet_read_query_section(buffer_type *packet, in packet_read_query_section()
347 int packet_find_notify_serial(buffer_type *packet, uint32_t* serial) in packet_find_notify_serial()
H A Ddname.h67 buffer_type *packet,
77 buffer_type *packet,
H A Ddifffile.h61 buffer_type* packet, size_t rdatalen, zone_type *zone,
66 buffer_type* packet, size_t rdatalen, zone_type *zone,
H A Dxfrd-notify.c155 reply_pkt_is_ack(struct notify_zone* zone, buffer_type* packet, int index) in reply_pkt_is_ack()
251 xfrd_handle_notify_reply(struct notify_zone* zone, buffer_type* packet, in xfrd_handle_notify_reply()
277 buffer_type* packet = xfrd_get_temp_buffer(); in xfrd_notify_send_udp()
417 buffer_type* packet = xfrd_get_temp_buffer(); in xfrd_handle_notify_send()
H A Dtsig.c485 tsig_update(tsig_record_type *tsig, buffer_type *packet, size_t length) in tsig_update()
546 tsig_find_rr(tsig_record_type *tsig, buffer_type *packet) in tsig_find_rr()
582 tsig_parse_rr(tsig_record_type *tsig, buffer_type *packet) in tsig_parse_rr()
672 tsig_append_rr(tsig_record_type *tsig, buffer_type *packet) in tsig_append_rr()
H A Dedns.c82 edns_handle_option(uint16_t optcode, uint16_t optlen, buffer_type* packet, in edns_handle_option()
127 edns_parse_record(edns_record_type *edns, buffer_type *packet, in edns_parse_record()
H A Dedns.h92 int edns_parse_record(edns_record_type *data, buffer_type *packet,
H A Dipc.c170 int packet_read_query_section(buffer_type *packet, uint8_t* dest, uint16_t* qtype, uint16_t* qclass…
172 debug_print_fwd_name(int ATTR_UNUSED(len), buffer_type* packet, int acl_num) in debug_print_fwd_name()
655 buffer_type* tmp = xfrd->ipc_pass; in xfrd_handle_ipc_read()
678 buffer_type* tmp; in xfrd_handle_ipc_read()
H A Dquery.h80 buffer_type *packet;
H A Dxfrd.c70 static int xfrd_parse_soa_info(buffer_type* packet, xfrd_soa_type* soa);
1418 xfrd_udp_read_packet(buffer_type* packet, int fd, struct sockaddr* src, in xfrd_udp_read_packet()
1571 xfrd_send_udp(struct acl_options* acl, buffer_type* packet, in xfrd_send_udp()
1703 xfrd_tsig_sign_request(buffer_type* packet, tsig_record_type* tsig, in xfrd_tsig_sign_request()
1767 static int xfrd_parse_soa_info(buffer_type* packet, xfrd_soa_type* soa) in xfrd_parse_soa_info()
1804 xfrd_xfr_check_rrs(xfrd_zone_type* zone, buffer_type* packet, size_t count, in xfrd_xfr_check_rrs()
1911 xfrd_xfr_process_tsig(xfrd_zone_type* zone, buffer_type* packet) in xfrd_xfr_process_tsig()
1967 xfrd_parse_received_xfr_packet(xfrd_zone_type* zone, buffer_type* packet, in xfrd_parse_received_xfr_packet()
2255 xfrd_handle_received_xfr_packet(xfrd_zone_type* zone, buffer_type* packet) in xfrd_handle_received_xfr_packet()
2467 xfrd_handle_passed_packet(buffer_type* packet, in xfrd_handle_passed_packet()
H A Ddname.c93 dname_make_from_packet(region_type *region, buffer_type *packet, in dname_make_from_packet()
103 dname_make_wire_from_packet(uint8_t *buf, buffer_type *packet, in dname_make_wire_from_packet()
H A Ddbcreate.c74 buffer_type* rr_buffer = buffer_create(region, MAX_RDLENGTH); in print_rrs()
H A Ddifffile.c668 buffer_type* packet, size_t rdatalen, zone_type *zone, in delete_RR()
782 buffer_type* packet, size_t rdatalen, zone_type *zone, in add_RR()
1001 buffer_type* packet; in apply_ixfr()
1760 buffer_type* buffer; in task_new_add_pattern()
2042 buffer_type buffer; in task_process_add_pattern()
H A Dixfr.c1975 oneline_print_rdata(buffer_type *output, rrtype_descriptor_type *descriptor, in oneline_print_rdata()
2008 buffer_type packet; in parse_wirerr_into_temp()
2066 uint8_t* buf, size_t len, struct region* temp, buffer_type* rr_buffer) in ixfr_write_rr()
2096 uint8_t* buf, size_t len, struct region* temp, buffer_type* rr_buffer) in ixfr_write_rrs()
2120 buffer_type* rr_buffer; in ixfr_write_file_data()
H A Dutil.c1028 buffer_type* output) in print_rr()
/netbsd-src/external/gpl2/texinfo/dist/makeinfo/
H A Dhtml.c41 } buffer_type; typedef
43 static buffer_type *
46 buffer_type *buf = xmalloc (sizeof (buffer_type)); in init_buffer()
55 append_char (buffer_type *buf, int c) in append_char()
77 buffer_type *import_text = init_buffer (); in process_css_file()
78 buffer_type *inline_text = init_buffer (); in process_css_file()
/netbsd-src/external/bsd/pdisk/dist/
H A DATA_media.c99 uint16_t buffer_type; /* 20 */ member

12