]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5377] Updated documentation of the send() function in pkt_filter_inet.
authorMarcin Siodelski <marcin@isc.org>
Fri, 6 Oct 2017 10:56:52 +0000 (12:56 +0200)
committerMarcin Siodelski <marcin@isc.org>
Fri, 6 Oct 2017 10:56:52 +0000 (12:56 +0200)
src/lib/dhcp/pkt_filter_inet.h

index aef7a8f62cd19ce6daee92729dc252a80a33966d..6cc9fecb4e2012f3faeebea4fda28595faacf40c 100644 (file)
@@ -67,6 +67,13 @@ public:
 
     /// @brief Send packet over specified socket.
     ///
+    /// This function will use local address specified in the @c pkt as a source
+    /// address for the packet and the interface index to select the index
+    /// through which the packet will be sent. However, if these values
+    /// are not specified for the packet (zero IP address and negative
+    /// interface index), this function will rely on the routing information
+    /// to determine the right outbound interface and source address.
+    ///
     /// @param iface interface to be used to send packet
     /// @param sockfd socket descriptor
     /// @param pkt packet to be sent