Manual Pages for Linux CentOS command on man ldns_pkt_set_opcode
MyWebUniversity

Manual Pages for Linux CentOS command on man ldns_pkt_set_opcode

ldns(3) Library Functions Manual ldns(3)

NAME ldnspktsetflags, ldnspktsetid, ldnspktsetqr, ldnspktsetaa, ldnspktsettc, ldnspktsetrd, ldnspktsetcd, ldnspktsetra, ldnspktsetad, ldnspktsetopcode, ldnspktsetrcode, ldnspktsetqdcount, ldnspktsetancount, ldnspktsetnscount, ldnspktsetarcount, ldnspktsetanswerfrom, ldnspktsetquerytime, ldnspktsetsize, ldnspktsetsectioncount, ldnspktsettsig SYNOPSIS

#include

#include

#include bool ldnspktsetflags(ldnspkt *pkt, uint16t flags); void ldnspktsetid(ldnspkt *p, uint16t id); void ldnspktsetqr(ldnspkt *p, bool b); void ldnspktsetaa(ldnspkt *p, bool b); void ldnspktsettc(ldnspkt *p, bool b); void ldnspktsetrd(ldnspkt *p, bool b); void ldnspktsetcd(ldnspkt *p, bool b); void ldnspktsetra(ldnspkt *p, bool b); void ldnspktsetad(ldnspkt *p, bool b); void ldnspktsetopcode(ldnspkt *p, ldnspktopcode c); void ldnspktsetrcode(ldnspkt *p, uint8t c); void ldnspktsetqdcount(ldnspkt *p, uint16t c); void ldnspktsetancount(ldnspkt *p, uint16t c); void ldnspktsetnscount(ldnspkt *p, uint16t c); void ldnspktsetarcount(ldnspkt *p, uint16t c); void ldnspktsetanswerfrom(ldnspkt *p, ldnsrdf *r); void ldnspktsetquerytime(ldnspkt *p, uint32t t); void ldnspktsetsize(ldnspkt *p, sizet s); void ldnspktsetsectioncount(ldnspkt *p, ldnspktsection s, uint16t x); void ldnspktsettsig(ldnspkt *p, ldnsrr *t); DESCRIPTION ldnspktsetflags() sets the flags in a packet. pkt: the packet to operate on flags: ORed values: LDNSQR| LDNSAR for instance Returns true on success otherwise false ldnspktsetid() Set the packet's id p: the packet id: the id to set ldnspktsetqr() Set the packet's qr bit p: the packet b: the value to set (boolean) ldnspktsetaa() Set the packet's aa bit p: the packet b: the value to set (boolean) ldnspktsettc() Set the packet's tc bit p: the packet b: the value to set (boolean) ldnspktsetrd() Set the packet's rd bit p: the packet b: the value to set (boolean) ldnspktsetcd() Set the packet's cd bit p: the packet b: the value to set (boolean) ldnspktsetra() Set the packet's ra bit p: the packet b: the value to set (boolean) ldnspktsetad() Set the packet's ad bit p: the packet b: the value to set (boolean) ldnspktsetopcode() Set the packet's opcode p: the packet c: the opcode ldnspktsetrcode() Set the packet's respons code p: the packet c: the rcode ldnspktsetqdcount() Set the packet's qd count p: the packet c: the count ldnspktsetancount() Set the packet's an count p: the packet c: the count ldnspktsetnscount() Set the packet's ns count p: the packet c: the count ldnspktsetarcount() Set the packet's arcount p: the packet c: the count ldnspktsetanswerfrom() Set the packet's answering server p: the packet r: the address ldnspktsetquerytime() Set the packet's query time p: the packet t: the querytime in msec ldnspktsetsize() Set the packet's size p: the packet s: the size ldnspktsetsectioncount() Set a packet's section count to x p: the packet s: the section x: the section count ldnspktsettsig() Set the packet's tsig rr p: the packet t: the tsig rr 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 ™