buffer_type
u_int16_t buffer_type; /* 20 */
qwx_hal_reo_set_desc_hdr(struct hal_desc_header *hdr, uint8_t owner, uint8_t buffer_type, uint32_t magic)
FIELD_PREP(HAL_DESC_HDR_INFO0_BUF_TYPE, buffer_type);
qwz_hal_reo_set_desc_hdr(struct hal_desc_header *hdr, uint8_t owner, uint8_t buffer_type, uint32_t magic)
FIELD_PREP(HAL_DESC_HDR_INFO0_BUF_TYPE, buffer_type);
buffer_printf(buffer_type *buffer, const char *format, ...)
buffer_type *buffer = (buffer_type *) arg;
buffer_type *
buffer_type *buffer
= (buffer_type *) region_alloc(region, sizeof(buffer_type));
buffer_create_from(buffer_type *buffer, const void *data, size_t size)
buffer_clear(buffer_type *buffer)
buffer_flip(buffer_type *buffer)
buffer_rewind(buffer_type *buffer)
buffer_set_capacity(buffer_type *buffer, size_t capacity)
buffer_reserve(buffer_type *buffer, size_t amount)
buffer_position(buffer_type *buffer)
buffer_set_position(buffer_type *buffer, size_t mark)
buffer_skip(buffer_type *buffer, ssize_t count)
buffer_limit(buffer_type *buffer)
buffer_set_limit(buffer_type *buffer, size_t limit)
buffer_capacity(buffer_type *buffer)
void buffer_set_capacity(buffer_type *buffer, size_t capacity);
void buffer_reserve(buffer_type *buffer, size_t amount);
buffer_at(buffer_type *buffer, size_t at)
buffer_begin(buffer_type *buffer)
buffer_end(buffer_type *buffer)
buffer_current(buffer_type *buffer)
buffer_remaining_at(buffer_type *buffer, size_t at)
buffer_remaining(buffer_type *buffer)
buffer_available_at(buffer_type *buffer, size_t at, size_t count)
buffer_available(buffer_type *buffer, size_t count)
buffer_write_at(buffer_type *buffer, size_t at, const void *data, size_t count)
buffer_write(buffer_type *buffer, const void *data, size_t count)
try_buffer_write_at(buffer_type *buffer, size_t at, const void *data, size_t count)
try_buffer_write(buffer_type *buffer, const void *data, size_t count)
buffer_write_string_at(buffer_type *buffer, size_t at, const char *str)
buffer_write_string(buffer_type *buffer, const char *str)
try_buffer_write_string_at(buffer_type *buffer, size_t at, const char *str)
try_buffer_write_string(buffer_type *buffer, const char *str)
buffer_write_u8_at(buffer_type *buffer, size_t at, uint8_t data)
buffer_write_u8(buffer_type *buffer, uint8_t data)
buffer_write_u16_at(buffer_type *buffer, size_t at, uint16_t data)
buffer_write_u16(buffer_type *buffer, uint16_t data)
buffer_write_u32_at(buffer_type *buffer, size_t at, uint32_t data)
buffer_write_u32(buffer_type *buffer, uint32_t data)
buffer_write_u64_at(buffer_type *buffer, size_t at, uint64_t data)
buffer_write_u64(buffer_type *buffer, uint64_t data)
try_buffer_write_u8_at(buffer_type *buffer, size_t at, uint8_t data)
try_buffer_write_u8(buffer_type *buffer, uint8_t data)
try_buffer_write_u16_at(buffer_type *buffer, size_t at, uint16_t data)
try_buffer_write_u16(buffer_type *buffer, uint16_t data)
try_buffer_write_u32_at(buffer_type *buffer, size_t at, uint32_t data)
try_buffer_write_u32(buffer_type *buffer, uint32_t data)
try_buffer_write_u64_at(buffer_type *buffer, size_t at, uint64_t data)
try_buffer_write_u64(buffer_type *buffer, uint64_t data)
buffer_read_at(buffer_type *buffer, size_t at, void *data, size_t count)
buffer_read(buffer_type *buffer, void *data, size_t count)
buffer_read_u8_at(buffer_type *buffer, size_t at)
buffer_read_u8(buffer_type *buffer)
buffer_read_u16_at(buffer_type *buffer, size_t at)
buffer_read_u16(buffer_type *buffer)
buffer_read_u32_at(buffer_type *buffer, size_t at)
buffer_read_u32(buffer_type *buffer)
buffer_read_u64_at(buffer_type *buffer, size_t at)
buffer_read_u64(buffer_type *buffer)
int buffer_printf(buffer_type *buffer, const char *format, ...)
buffer_invariant(buffer_type *ATTR_UNUSED(buffer))
buffer_invariant(buffer_type *buffer)
buffer_type *buffer_create(region_type *region, size_t capacity);
void buffer_create_from(buffer_type *buffer, const void *data, size_t size);
void buffer_clear(buffer_type *buffer);
void buffer_flip(buffer_type *buffer);
void buffer_rewind(buffer_type *buffer);
buffer_type* rr_buffer = buffer_create(region, MAX_RDLENGTH);
buffer_type* packet;
buffer_type* buffer;
buffer_type buffer;
buffer_type* packet, size_t rdatalen, zone_type *zone,
buffer_type* packet, size_t rdatalen, zone_type *zone,
buffer_type* packet, size_t rdatalen, zone_type *zone,
buffer_type* packet, size_t rdatalen, zone_type *zone,
dname_make_wire_from_packet(uint8_t *buf, buffer_type *packet,
buffer_type *packet, int allow_pointers, int normalize)
dname_make_from_packet(region_type *region, buffer_type *packet,
buffer_type *packet, int allow_pointers, int normalize);
buffer_type *packet,
buffer_type *packet,
edns_parse_record(edns_record_type *edns, buffer_type *packet,
edns_handle_option(uint16_t optcode, uint16_t optlen, buffer_type* packet,
int edns_parse_record(edns_record_type *data, buffer_type *packet,
buffer_type packet;
uint8_t* buf, size_t len, struct region* temp, buffer_type* rr_buffer)
uint8_t* buf, size_t len, struct region* temp, buffer_type* rr_buffer)
buffer_type* rr_buffer;
packet_skip_dname(buffer_type *packet)
packet_skip_rr(buffer_type *packet, int question_section)
buffer_type *packet, int question_section)
int packet_read_query_section(buffer_type *packet,
int packet_find_notify_serial(buffer_type *packet, uint32_t* serial)
int packet_skip_rr(buffer_type *packet, int question_section);
int packet_skip_dname(buffer_type *packet);
buffer_type *packet,
int packet_read_query_section(buffer_type *packet,
int packet_find_notify_serial(buffer_type *packet, uint32_t* serial);
buffer_type *packet;
int print_unknown_rdata_field(buffer_type *output,
int print_unknown_rdata(buffer_type *output,
print_unquoted(buffer_type *output, uint16_t rdlength,
print_unquoteds(buffer_type *output, uint16_t rdlength,
print_rdata(buffer_type *output, const nsd_type_descriptor_type *descriptor,
buffer_print_hex(buffer_type *output, const uint8_t *data, size_t size)
buffer_print_svcparamkey(buffer_type *output, uint16_t svcparamkey)
int print_unknown_rdata_field(buffer_type *output,
int print_unknown_rdata(buffer_type *output,
int print_rdata(buffer_type *output, const nsd_type_descriptor_type *descriptor,
static buffer_type* global_tls_temp_buffer = NULL;
buffer_type* write_buffer;
tsig_update(tsig_record_type *tsig, buffer_type *packet, size_t length)
tsig_find_rr(tsig_record_type *tsig, buffer_type *packet)
tsig_parse_rr(tsig_record_type *tsig, buffer_type *packet)
tsig_append_rr(tsig_record_type *tsig, buffer_type *packet)
void tsig_update(tsig_record_type *tsig, buffer_type *packet, size_t length);
int tsig_find_rr(tsig_record_type *tsig, buffer_type *packet);
int tsig_parse_rr(tsig_record_type *tsig, buffer_type *packet);
void tsig_append_rr(tsig_record_type *tsig, buffer_type *packet);
buffer_type* output)
print_records(region_type* region, buffer_type* pkt, int num, int qsection)
buffer_type* tmpbuf;
inspect_packet(region_type* region, buffer_type* pkt)
buffer_type* packet;
list_packet(region_type* region, buffer_type* pkt, int partnum)
buffer_type* packet;
try_buffer_write_SOA(buffer_type* packet, const dname_type* owner,
try_buffer_write_RR(buffer_type* packet, const dname_type* owner,
try_buffer_write_PTR(buffer_type* packet, const dname_type* owner,
try_buffer_write_TXT(buffer_type* packet, const dname_type* name,
static int try_buffer_write_SOA(buffer_type* packet, const dname_type* owner,
static int try_buffer_write_RR(buffer_type* packet, const dname_type* owner,
static inline int try_buffer_write_PTR(buffer_type* packet,
static int try_buffer_write_TXT(buffer_type* packet, const dname_type* name,
buffer_type packet;
reply_pkt_is_ack(struct notify_zone* zone, buffer_type* packet, int index)
xfrd_handle_notify_reply(struct notify_zone* zone, buffer_type* packet,
buffer_type* packet = xfrd_get_temp_buffer();
buffer_type* packet = xfrd_get_temp_buffer();
xfrd_setup_packet(buffer_type* packet,
xfrd_udp_read_packet(buffer_type* packet, int fd, struct sockaddr* src,
xfrd_send_udp(struct acl_options* acl, buffer_type* packet,
xfrd_tsig_sign_request(buffer_type* packet, tsig_record_type* tsig,
static int xfrd_parse_soa_info(buffer_type* packet, xfrd_soa_type* soa)
xfrd_xfr_check_rrs(xfrd_zone_type* zone, buffer_type* packet, size_t count,
xfrd_xfr_process_tsig(xfrd_zone_type* zone, buffer_type* packet)
xfrd_parse_received_xfr_packet(xfrd_zone_type* zone, buffer_type* packet,
xfrd_handle_received_xfr_packet(xfrd_zone_type* zone, buffer_type* packet)
xfrd_handle_passed_packet(buffer_type* packet,
static int xfrd_parse_soa_info(buffer_type* packet, xfrd_soa_type* soa);
xfrd_zone_type* zone, buffer_type* packet);
int xfrd_send_udp(struct acl_options* acl, buffer_type* packet,
int xfrd_udp_read_packet(buffer_type* packet, int fd, struct sockaddr* src,
void xfrd_tsig_sign_request(buffer_type* packet, struct tsig_record* tsig,
void xfrd_handle_passed_packet(buffer_type* packet,