mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 22:15:23 +00:00
[4483] User's Guide updated.
This commit is contained in:
@@ -181,7 +181,7 @@
|
|||||||
<entry>Integer literal</entry>
|
<entry>Integer literal</entry>
|
||||||
<entry>123</entry>
|
<entry>123</entry>
|
||||||
<entry>'123'</entry>
|
<entry>'123'</entry>
|
||||||
<entry>An integer value</entry>
|
<entry>A 32 bits unsigned integer value</entry>
|
||||||
</row>
|
</row>
|
||||||
<row></row>
|
<row></row>
|
||||||
<row>
|
<row>
|
||||||
@@ -257,7 +257,8 @@
|
|||||||
<entry>Length of packet</entry>
|
<entry>Length of packet</entry>
|
||||||
<entry>pkt.len</entry>
|
<entry>pkt.len</entry>
|
||||||
<entry>0x00000100</entry>
|
<entry>0x00000100</entry>
|
||||||
<entry>The length of a DHCP packet (UDP header field) padded to 4 bytes.</entry>
|
<entry>The length of a DHCP packet (UDP header field), expressed
|
||||||
|
as 32 bits unsigned integer.</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>Hardware address in DHCPv4 packet</entry>
|
<entry>Hardware address in DHCPv4 packet</entry>
|
||||||
@@ -301,19 +302,33 @@
|
|||||||
<entry>192.0.2.1</entry>
|
<entry>192.0.2.1</entry>
|
||||||
<entry>The value of the siaddr field of the DHCPv4 packet (IPv4 address, 4 bytes)</entry>
|
<entry>The value of the siaddr field of the DHCPv4 packet (IPv4 address, 4 bytes)</entry>
|
||||||
</row>
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>Message Type in DHCPv4 packet</entry>
|
||||||
|
<entry>pkt4.msgtype</entry>
|
||||||
|
<entry>1</entry>
|
||||||
|
<entry>The value of the message type field in the DHCPv4
|
||||||
|
packet (expressed as 32 bits unsigned integer).</entry>
|
||||||
|
</row>
|
||||||
|
<row>
|
||||||
|
<entry>Transaction ID (xid) in DHCPv4 packet</entry>
|
||||||
|
<entry>pkt4.transid</entry>
|
||||||
|
<entry>12345</entry>
|
||||||
|
<entry>The value of the transaction id in the DHCPv4
|
||||||
|
packet (expressed as 32 bits unsigned integer).</entry>
|
||||||
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>Message Type in DHCPv6 packet</entry>
|
<entry>Message Type in DHCPv6 packet</entry>
|
||||||
<entry>pkt6.msgtype</entry>
|
<entry>pkt6.msgtype</entry>
|
||||||
<entry>1</entry>
|
<entry>1</entry>
|
||||||
<entry>The value of the message type field in the DHCPv6
|
<entry>The value of the message type field in the DHCPv6
|
||||||
packet.</entry>
|
packet (expressed as 32 bits unsigned integer).</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>Transaction ID in DHCPv6 packet</entry>
|
<entry>Transaction ID in DHCPv6 packet</entry>
|
||||||
<entry>pkt6.transid</entry>
|
<entry>pkt6.transid</entry>
|
||||||
<entry>12345</entry>
|
<entry>12345</entry>
|
||||||
<entry>The value of the transaction id in the DHCPv6
|
<entry>The value of the transaction id in the DHCPv6
|
||||||
packet.</entry>
|
packet (expressed as 32 bits unsigned integer).</entry>
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
<row>
|
<row>
|
||||||
@@ -411,8 +426,14 @@
|
|||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Integers in the expression are converted to strings
|
Integers in the expression are converted to 32 bit unsigned integers and
|
||||||
when the expression is read into Kea.
|
are represented as four byte strings. For example 123 is represented as
|
||||||
|
0x0000007b. All expressions that return numeric values use 32 bits
|
||||||
|
unsigned integers, even if the field in the packet is smaller. In general
|
||||||
|
it is easier to use decimal notation to represent integers, but it is also
|
||||||
|
possible to use hex notation. When using hex notation to represent an
|
||||||
|
integer care should be taken to make sure the value is represented as 32
|
||||||
|
bits, e.g. use 0x00000001 instead of 0x1 or 0x01.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
Reference in New Issue
Block a user