Manual Pages for Linux CentOS command on man ldns_pkt_new
MyWebUniversity

Manual Pages for Linux CentOS command on man ldns_pkt_new

ldns(3) Library Functions Manual ldns(3)

NAME ldnspktnew, ldnspktfree, ldnspktprint, ldnspktquerynew, ldnspktquerynewfrmstr, ldnspktreplytype SYNOPSIS

#include

#include

#include ldnspkt* ldnspktnew(); void ldnspktfree(ldnspkt *packet); void ldnspktprint(FILE *output, const ldnspkt *pkt); ldnspkt* ldnspktquerynew(ldnsrdf *rrname, ldnsrrtype rrtype, ldnsrrclass rrclass, uint16t flags); ldnsstatus ldnspktquerynewfrmstr(ldnspkt **p, const char *rrname, ldnsrrtype rrtype, ldnsrrclass rrclass , uint16t flags); ldnspkttype ldnspktreplytype(ldnspkt *p); DESCRIPTION ldnspktnew() allocates and initializes a ldnspkt structure. Returns pointer to the new packet ldnspktfree() frees the packet structure and all data that it con‐ tains. packet: The packet structure to free Returns void ldnspktprint() Prints the data in the DNS packet to the given file stream (in presentation format) output: the file stream to print to pkt: the packet to print Returns void ldnspktquerynew() creates a packet with a query in it for the given name, type and class. rrname: the name to query for rrtype: the type to query for rrclass: the class to query for flags: packet flags Returns ldnspkt* a pointer to the new pkt ldnspktquerynewfrmstr() creates a query packet for the given name, type, class. p: the packet to be returned rrname: the name to query for (as string) rrtype: the type to query for rrclass: the class to query for flags: packet flags Returns LDNSSTATUSOK or a ldnsstatus mesg with the error ldnspktreplytype() looks inside the packet to determine what kind of packet it is, AUTH, NXDOMAIN, REFERRAL, etc. p: the packet to examine Returns the type of packet AUTHOR The ldns team at NLnet Labs. Which consists out of Jelte Jansen and Miek Gieben. REPORTING BUGS

Please report bugs to ldns-team@nlnetlabs.nl or in our bugzilla at http://www.nlnetlabs.nl/bugs/index.html COPYRIGHT

Copyright (c) 2004 - 2006 NLnet Labs. Licensed under the BSD License. There is NO warranty; not even for MER‐ CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. SEE ALSO ldnspkt. And perldoc Net::DNS, RFC1034, RFC1035, RFC4033, RFC4034 and RFC4035. REMARKS This manpage was automaticly generated from the ldns source code by use of Doxygen and some perl. 30 May 2006 ldns(3)




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™