BIND 10 #1396: suggested extension: Rdata::getLentgh and use it for xfrout

BIND 10 Development do-not-reply at isc.org
Fri Jan 17 04:38:40 UTC 2014


#1396: suggested extension: Rdata::getLentgh and use it for xfrout
-------------------------------------+-------------------------------------
            Reporter:  jinmei        |                        Owner:
                Type:  enhancement   |  UnAssigned
            Priority:  medium        |                       Status:  new
           Component:  libdns++      |                    Milestone:
            Keywords:                |                   Resolution:
           Sensitive:  0             |                 CVSS Scoring:
         Sub-Project:  DNS           |              Defect Severity:  N/A
Estimated Difficulty:  3             |  Feature Depending on Ticket:
         Total Hours:  0             |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------

Comment (by muks):

 There are two ways to implement this:

 * The non-optimal way is to render it to a buffer and get its length after
 that. This is easy as it can be done in the RDATA class alone and use
 existing RDATA implementations' `toWire()` methods.

 * The lengthy way which would perform better is to add implementations of
 `getWireDataLength()` method to every RDATA type.

-- 
Ticket URL: <http://bind10.isc.org/ticket/1396#comment:2>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list