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
777a9979
Commit
777a9979
authored
Apr 25, 2016
by
Francis Dupont
Browse files
[4268a] Fixes and cleanups
parent
c8ab56f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
doc/guide/classify.xml
View file @
777a9979
...
...
@@ -224,37 +224,37 @@
<entry>
Hardware length in DHCPv4 packet
</entry>
<entry>
pkt4.hlen
</entry>
<entry>
0x00000006
</entry>
<entry>
The value of the hlen field of the DHCPv4 packet padded to 4 bytes
.
</entry>
<entry>
The value of the hlen field of the DHCPv4 packet padded to 4 bytes
</entry>
</row>
<row>
<entry>
Hardware type in DHCPv4 packet
</entry>
<entry>
pkt4.htype
</entry>
<entry>
0x0000007b
</entry>
<entry>
The value of the htype field of the DHCPv4 packet padded to 4 bytes
.
</entry>
<entry>
The value of the htype field of the DHCPv4 packet padded to 4 bytes
</entry>
</row>
<row>
<entry>
ciaddr field in DHCPv4 packet
</entry>
<entry>
pkt4.ciaddr
</entry>
<entry>
192.0.2.1
</entry>
<entry>
The value of the ciaddr field of the DHCPv4 packet (IPv4 address on 4 bytes)
.
</entry>
<entry>
The value of the ciaddr field of the DHCPv4 packet (IPv4 address on 4 bytes)
</entry>
</row>
<row>
<entry>
giaddr field in DHCPv4 packet
</entry>
<entry>
pkt4.giaddr
</entry>
<entry>
192.0.2.1
</entry>
<entry>
The value of the giaddr field of the DHCPv4 packet (IPv4 address on 4 bytes)
.
</entry>
<entry>
The value of the giaddr field of the DHCPv4 packet (IPv4 address on 4 bytes)
</entry>
</row>
<row>
<entry>
yiaddr field in DHCPv4 packet
</entry>
<entry>
pkt4.yiaddr
</entry>
<entry>
192.0.2.1
</entry>
<entry>
The value of the yiaddr field of the DHCPv4 packet (IPv4 address on 4 bytes)
.
</entry>
<entry>
The value of the yiaddr field of the DHCPv4 packet (IPv4 address on 4 bytes)
</entry>
</row>
<row>
<entry>
siaddr field in DHCPv4 packet
</entry>
<entry>
pkt4.siaddr
</entry>
<entry>
192.0.2.1
</entry>
<entry>
The value of the siaddr field of the DHCPv4 packet (IPv4 address on 4 bytes)
.
</entry>
<entry>
The value of the siaddr field of the DHCPv4 packet (IPv4 address on 4 bytes)
</entry>
</row>
</tbody>
</tgroup>
...
...
src/lib/eval/tests/token_unittest.cc
View file @
777a9979
...
...
@@ -631,7 +631,7 @@ TEST_F(TokenTest, pkt4Fields) {
ASSERT_EQ
(
1
,
values_
.
size
());
ASSERT_EQ
(
4
,
values_
.
top
().
size
());
uint32_t
expected_hlen
=
htonl
(
7
);
EXPECT_EQ
(
0
,
memcmp
(
&
expected
,
&
values_
.
top
()[
0
],
4
));
EXPECT_EQ
(
0
,
memcmp
(
&
expected
_hlen
,
&
values_
.
top
()[
0
],
4
));
// Check htype value.
clearStack
();
...
...
@@ -640,7 +640,7 @@ TEST_F(TokenTest, pkt4Fields) {
ASSERT_EQ
(
1
,
values_
.
size
());
ASSERT_EQ
(
4
,
values_
.
top
().
size
());
uint32_t
expected_htype
=
htonl
(
123
);
EXPECT_EQ
(
0
,
memcmp
(
&
expected
,
&
values_
.
top
()[
0
],
4
));
EXPECT_EQ
(
0
,
memcmp
(
&
expected
_htype
,
&
values_
.
top
()[
0
],
4
));
// Check giaddr value.
clearStack
();
...
...
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