BIND 10 #1350: V4 packet library - dedicated DHCPv4 options needed
BIND 10 Development
do-not-reply at isc.org
Wed Nov 2 15:52:54 UTC 2011
#1350: V4 packet library - dedicated DHCPv4 options needed
-------------------------------------+-------------------------------------
Reporter: tomek | Owner:
Type: | Status: new
enhancement | Milestone: Sprint-
Priority: major | DHCP-20111109
Component: dhcp | Resolution:
Keywords: | Sensitive: 0
Defect Severity: N/A | Sub-Project: DHCP
Feature Depending on Ticket: | Estimated Difficulty: 0
Add Hours to Ticket: 0 | Total Hours: 0
Internal?: 0 |
-------------------------------------+-------------------------------------
Comment (by tomek):
We need:
1. 1 octet (Message type, option overload ("field use option") )
2. IPv4 address (requested IP address, subnet mask)
3. IPv4 address list (Router Option, DNS Servers)
4. 1-byte long, just type, not even length field (pad, end)
5. list of octets (PRL)
Cases 1 and 5 can be handled with current Option class.
Case 4 will be coded as a property of the framework. There's not much
sense in adding class for a single byte.
To cover those cases, Option4Addr and Option4AddrLst classes should be
implemented. Although a single address could be represented as degraded
case of AddrLst, it is more convenient to have 2 separate classes with
simpler interfaces.
--
Ticket URL: <http://bind10.isc.org/ticket/1350#comment:2>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list