Attachment 'iterate.h'

Download

   1 /*  Copyright (C) 2014-2017 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>
   2 
   3     This program is free software: you can redistribute it and/or modify
   4     it under the terms of the GNU General Public License as published by
   5     the Free Software Foundation, either version 3 of the License, or
   6     (at your option) any later version.
   7 
   8     This program is distributed in the hope that it will be useful,
   9     but WITHOUT ANY WARRANTY; without even the implied warranty of
  10     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  11     GNU General Public License for more details.
  12 
  13     You should have received a copy of the GNU General Public License
  14     along with this program.  If not, see <https://www.gnu.org/licenses/>.
  15  */
  16 
  17 #pragma once
  18 
  19 #include "lib/layer.h"
  20 #include "lib/rplan.h"
  21 
  22 /* Packet classification. */
  23 enum {
  24 	PKT_NOERROR   = 1 << 0, /* Positive response */
  25 	PKT_NODATA    = 1 << 1, /* No data response */
  26 	PKT_NXDOMAIN  = 1 << 2, /* Negative response */
  27 	PKT_REFUSED   = 1 << 3, /* Refused response */
  28 	PKT_ERROR     = 1 << 4  /* Bad message */
  29 };
  30 
  31 /** Classify response by type. */
  32 int kr_response_classify(knot_pkt_t *pkt);
  33 
  34 /** Make next iterative query. */
  35 int kr_make_query(struct kr_query *query, knot_pkt_t *pkt);

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2020-08-12 06:11:28, 28.5 KB) [[attachment:iterate.c]]
  • [get | view] (2020-08-12 06:11:28, 1.2 KB) [[attachment:iterate.h]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.