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
Sebastian Schrader
Kea
Commits
0709db27
Commit
0709db27
authored
Sep 24, 2015
by
Thomas Markwalder
Browse files
[4067] Addressed review comments
Updated commentary in pkt_filter_test_stub.h as requested.
parent
ec3b132b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/dhcp/tests/pkt_filter_test_stub.h
View file @
0709db27
...
...
@@ -47,9 +47,11 @@ public:
/// @brief Simulate opening of the socket.
///
/// This function simulates opening a primary socket. In reality, it doesn't
/// open a socket but the socket descriptor returned in the SocketInfo
/// structure is always set to 0.
/// This function simulates opening a primary socket. Rather than open
/// an actual socket, the stub peforms a read-only open of "/dev/null".
/// The fd returned by this open saved as the socket's descriptor in the
/// SocketInfo structure. This way the filter consumes an actual
/// descriptor and retains it until its socket is closed.
///
/// @param iface An interface descriptor.
/// @param addr Address on the interface to be used to send packets.
...
...
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