[getdns-api] EDNS extended rcode

Wiley, Glen gwiley at verisign.com
Tue Nov 26 07:48:35 MST 2013


I should elaborate:  As Allison pointed out, rfc6891 provides a 32-bit value so if we want to support values above 256 we will need to change the data type to something beyond uint8_t.
--
Glen Wiley
KK4SFV
Sr. Engineer
The Hive, Verisign, Inc.

From: <Wiley>, "Wiley, Glen" <gwiley at verisign.com<mailto:gwiley at verisign.com>>
Date: Tuesday, November 26, 2013 9:44 AM
To: "getdns-api at vpnc.org<mailto:getdns-api at vpnc.org>" <getdns-api at vpnc.org<mailto:getdns-api at vpnc.org>>
Subject: [getdns-api] EDNS extended rcode

 Forwarding this from an earlier email from Neel:

The following functions are documented on the site:


getdns_return_t

getdns_context_set_edns_extended_rcode( getdns_context_t context, uint8_t value );

The value is between 0 and 256; the default is 0.

getdns_return_t getdns_context_set_edns_version( getdns_context_t context, uint8_t value );

The value is between 0 and 256; the default is 0.

I am assuming both should say 255 based on RCF 2671 and the input type.
Thanks,
Neel

--
Glen Wiley
KK4SFV
Sr. Engineer
The Hive, Verisign, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vpnc.org/pipermail/getdns-api/attachments/20131126/9f019efb/attachment.html>


More information about the getdns-api mailing list