Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
925cd459
Commit
925cd459
authored
Mar 29, 2017
by
Tomek Mrugalski
🛰
Browse files
[5132] Developer's guide update for new hooks
parent
317b6b6c
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/bin/dhcp4/dhcp4_hooks.dox
View file @
925cd459
...
...
@@ -108,6 +108,22 @@ to the end of this list.
sets the next step status to SKIP, the server will not select any subnet.
Packet processing will continue, but will be severely limited.
@subsection dhcpv4HooksHost4Identifier host4_identifier
- @b Arguments:
- name: @b query4, type isc::dhcp::Pkt4Ptr, direction: <b>in</b>
- name: @b id_type, type isc::dhcp::Host::IdentifierType, direction: <b>in/out</b>
- name: @b id_value, type std::vector<uint8_t>, direction: <b>out</b>
- @b Description: this callout is executed only if flexible identifers are
enabled, i.e. host-reservation-identifiers contain 'flex-id' value. This
callout enables external library to provide values for flexible identifers.
To be able to use this feature, flex_id hook library is needed.
- <b>Next step status</b>: If a callout installed on the "host4_identifier" hook
point sets the next step status to value other than NEXT_STEP_CONTINUE, the
identifier will not be used.
@subsection dhcpv4HooksLeaseSelect lease4_select
- @b Arguments:
...
...
src/bin/dhcp6/dhcp6_hooks.dox
View file @
925cd459
...
...
@@ -109,6 +109,22 @@ to the end of this list.
sets the status to SKIP, the server will not select any subnet. Packet processing
will continue, but will be severely limited.
@subsection dhcpv6HooksHost6Identifier host6_identifier
- @b Arguments:
- name: @b query6, type isc::dhcp::Pkt6Ptr, direction: <b>in</b>
- name: @b id_type, type isc::dhcp::Host::IdentifierType, direction: <b>in/out</b>
- name: @b id_value, type std::vector<uint8_t>, direction: <b>out</b>
- @b Description: this callout is executed only if flexible identifers are
enabled, i.e. host-reservation-identifiers contain 'flex-id' value. This
callout enables external library to provide values for flexible identifers.
To be able to use this feature, flex_id hook library is needed.
- <b>Next step status</b>: If a callout installed on the "host6_identifier" hook
point sets the next step status to value other than NEXT_STEP_CONTINUE, the
identifier will not be used.
@subsection dhcpv6HooksLease6Select lease6_select
- @b Arguments:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment