ldns_update_pkt_new(3)

ldns_update_pkt_new3

Create an update packet

Usage

#include <stdint.h>
#include <stdbool.h>

#include <ldns/ldns.h>

ldns_pkt* ldns_update_pkt_new(ldns_rdf *zone_rdf, ldns_rr_class clas, const ldns_rr_list *pr_rrlist, const ldns_rr_list *up_rrlist, const ldns_rr_list *ad_rrlist);

Overview

ldns_update_pkt_new() create an update packet from zone name, class and the rr lists .br zone_rdf: name of the zone The returned packet will take ownership of zone_rdf, so the caller should not free it .br clas: zone class .br pr_rrlist: list of Prerequisite Section RRs .br up_rrlist: list of Updates Section RRs .br ad_rrlist: list of Additional Data Section RRs (currently unused) .br Returns the new packet

Remarks

This manpage was automatically generated from the ldns source code.

Releases

10 releases since Debian 5.0 (Lenny); the text changed 5 times.

  1. 5.0
  2. 6.0–7
  3. 8
  4. 9–10
  5. 11–12
  6. 13–Arch

Author

The ldns team at NLnet Labs.

Reporting bugs

Please report bugs to [email protected] or on GitHub at https://github.com/NLnetLabs/ldns/issues

From ldns 1.9.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.