Commit 0709db27 authored by Thomas Markwalder's avatar Thomas Markwalder
Browse files

[4067] Addressed review comments

    Updated commentary in pkt_filter_test_stub.h as requested.
parent ec3b132b
......@@ -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.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment