axfr.h File Reference
`#include "config.h"`
`#include "daemon/engine.h"`
`#include "wire/query.h"`
`#include <ldns/ldns.h>`

Go to the source code of this file.

## Macros

#define | MAX_COMPRESSION_OFFSET 16383 /* Compression pointers are 14 bit. */
#define | AXFR_MAX_MESSAGE_LEN MAX_COMPRESSION_OFFSET

## Functions

query_state | soa_request (query_type *q, engine_type *engine)
query_state | axfr (query_type *q, engine_type *engine, int fallback)
query_state | ixfr (query_type *q, engine_type *engine)

## Macro Definition Documentation

## AXFR_MAX_MESSAGE_LEN

#define AXFR_MAX_MESSAGE_LEN MAX_COMPRESSION_OFFSET

Definition at line 43 of file axfr.h.

## MAX_COMPRESSION_OFFSET

#define MAX_COMPRESSION_OFFSET 16383 /* Compression pointers are 14 bit. */

AXFR.

Definition at line 42 of file axfr.h.

## Function Documentation

## axfr()

query_state axfr | ( | query_type * | q,
|  | engine_type * | engine,
|  | int | fallback
| ) |  |

Do AXFR.

Parameters

  [in] | q | axfr request
  [in] | engine | signer engine
  [in] | fallback | fallback from ixfr?

Returns
  query_state state of the query

Do AXFR.

Definition at line 152 of file axfr.c.

## ixfr()

query_state ixfr | ( | query_type * | q,
|  | engine_type * | engine
| ) |  |

Do IXFR.

Parameters

  [in] | q | ixfr request
  [in] | engine | signer engine

Returns
  query_state state of the query

Do IXFR (equal to AXFR for now).

Definition at line 389 of file axfr.c.

## soa_request()

query_state soa_request | ( | query_type * | q,
|  | engine_type * | engine
| ) |  |

Handle SOA request.

Parameters

  [in] | q | soa request
  [in] | engine | signer engine

Returns
  query_state state of the query

Handle SOA request.

Definition at line 53 of file axfr.c.