1ldns(25 Apr 2005)                                            ldns(25 Apr 2005)
2
3
4

NAME

6       ldns_pkt_set_flags,  ldns_pkt_set_id, ldns_pkt_set_qr, ldns_pkt_set_aa,
7       ldns_pkt_set_tc,  ldns_pkt_set_rd,  ldns_pkt_set_cd,   ldns_pkt_set_ra,
8       ldns_pkt_set_ad,        ldns_pkt_set_opcode,        ldns_pkt_set_rcode,
9       ldns_pkt_set_qdcount,    ldns_pkt_set_ancount,    ldns_pkt_set_nscount,
10       ldns_pkt_set_arcount,  ldns_pkt_set_answerfrom, ldns_pkt_set_querytime,
11       ldns_pkt_set_size,    ldns_pkt_set_when,    ldns_pkt_set_section_count,
12       ldns_pkt_set_tsig
13
14

SYNOPSIS

16       #ifdef HAVE_STDINT_H
17       #include <stdint.h>
18       #endif /* HAVE_STDINT_H */
19
20       #ifdef HAVE_STDBOOL_H
21       #include <stdbool.h>
22       #endif /* HAVE_STDBOOL_H */
23
24       #include <ldns/ldns.h>
25
26       bool ldns_pkt_set_flags(ldns_pkt *pkt, uint16_t flags);
27
28        ldns_pkt_set_id();
29
30        ldns_pkt_set_qr();
31
32        ldns_pkt_set_aa();
33
34        ldns_pkt_set_tc();
35
36        ldns_pkt_set_rd();
37
38        ldns_pkt_set_cd();
39
40        ldns_pkt_set_ra();
41
42        ldns_pkt_set_ad();
43
44        ldns_pkt_set_opcode();
45
46        ldns_pkt_set_rcode();
47
48        ldns_pkt_set_qdcount();
49
50        ldns_pkt_set_ancount();
51
52        ldns_pkt_set_nscount();
53
54        ldns_pkt_set_arcount();
55
56        ldns_pkt_set_answerfrom();
57
58        ldns_pkt_set_querytime();
59
60        ldns_pkt_set_size();
61
62        ldns_pkt_set_when();
63
64        ldns_pkt_set_section_count();
65
66        ldns_pkt_set_tsig();
67

DESCRIPTION

69       ldns_pkt_set_flags() sets the flags in a packet.
70              pkt: the packet to operate on
71              flags: ORed values: LDNS_QR| LDNS_AR for instance
72              Returns true on success otherwise false
73
74       ldns_pkt_set_id()
75
76       ldns_pkt_set_qr()
77
78       ldns_pkt_set_aa()
79
80       ldns_pkt_set_tc()
81
82       ldns_pkt_set_rd()
83
84       ldns_pkt_set_cd()
85
86       ldns_pkt_set_ra()
87
88       ldns_pkt_set_ad()
89
90       ldns_pkt_set_opcode()
91
92       ldns_pkt_set_rcode()
93
94       ldns_pkt_set_qdcount()
95
96       ldns_pkt_set_ancount()
97
98       ldns_pkt_set_nscount()
99
100       ldns_pkt_set_arcount()
101
102       ldns_pkt_set_answerfrom()
103
104       ldns_pkt_set_querytime()
105
106       ldns_pkt_set_size()
107
108       ldns_pkt_set_when()
109
110       ldns_pkt_set_section_count()
111
112       ldns_pkt_set_tsig()
113

AUTHOR

115       The  ldns team at NLnet Labs. Which consists out of: Jelte Jansen, Erik
116       Rozendaal and Miek Gieben.
117
118

REPORTING BUGS

120       Please report bugs to ldns-team@nlnetlabs.nl  or  in  our  Bugzilla  at
121       http://www.nlnetlabs.nl/bugs/index.html
122
123       Be sure to select ldns as the product.
124
125
127       Copyright  (c)  2004, 2005 NLnet Labs.  Licensed under the BSD License.
128       There is NO warranty; not even for MERCHANTABILITY  or  FITNESS  FOR  A
129       PARTICULAR PURPOSE.
130
131

SEE ALSO

133       ldns_pkt  .   And  perldoc Net::DNS, RFC1043, RFC1035, RFC4033, RFC4034
134       and RFC4035.
135

REMARKS

137       This manpage was automaticly generated from the ldns source code by use
138       of Doxygen and some perl.
139
140
141
142                                                             ldns(25 Apr 2005)
Impressum