logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ldns_update_pkt_new - create an update packet

Author

       The ldns team at NLnet Labs.

Description

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

Name

       ldns_update_pkt_new - create an update packet

Remarks

       This manpage was automatically generated from the ldns source code.

                                                   30 May 2006                                           ldns(3)

Reporting Bugs

       Please report bugs to dns-team@nlnetlabs.nl or on GitHub at https://github.com/NLnetLabs/ldns/issues

See Also

ldns_update_pkt_tsig_add,     ldns_update_pkt_tsig_add,     ldns_update_zocount,     ldns_update_prcount,
       ldns_update_upcount,      ldns_update_adcount,      ldns_update_set_zocount,     ldns_update_set_prcount,
       ldns_update_set_upcount, ldns_update_set_adcount.   And  perldocNet::DNS,  RFC1034,  RFC1035,  RFC4033,
       RFC4034  and RFC4035.

Synopsis

       #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);

See Also