|
@@ -230,7 +230,8 @@ public:
|
|
|
/// @brief Sets sname field.
|
|
|
///
|
|
|
/// @param sname value to be set
|
|
|
- void setSname(const uint8_t* sname, size_t snameLen = MAX_SNAME_LEN);
|
|
|
+ /// @param sname_len length of the sname buffer (up to MAX_SNAME_LEN)
|
|
|
+ void setSname(const uint8_t* sname, size_t sname_len = MAX_SNAME_LEN);
|
|
|
|
|
|
/// @brief Returns file field
|
|
|
///
|
|
@@ -244,8 +245,9 @@ public:
|
|
|
/// Sets file field
|
|
|
///
|
|
|
/// @param file value to be set
|
|
|
+ /// @param file_len length of the file buffer (up to MAX_FILE_LEN)
|
|
|
void
|
|
|
- setFile(const uint8_t* file, size_t fileLen = MAX_FILE_LEN);
|
|
|
+ setFile(const uint8_t* file, size_t file_len = MAX_FILE_LEN);
|
|
|
|
|
|
/// @brief Sets hardware address.
|
|
|
///
|
|
@@ -255,7 +257,7 @@ public:
|
|
|
///
|
|
|
/// Note: macAddr must be a buffer of at least hlen bytes.
|
|
|
///
|
|
|
- /// @param hwType hardware type (will be sent in htype field)
|
|
|
+ /// @param hType hardware type (will be sent in htype field)
|
|
|
/// @param hlen hardware length (will be sent in hlen field)
|
|
|
/// @param macAddr pointer to hardware address
|
|
|
void setHWAddr(uint8_t hType, uint8_t hlen,
|
|
@@ -339,7 +341,7 @@ public:
|
|
|
|
|
|
/// @brief Sets remote address.
|
|
|
///
|
|
|
- /// @params remote specifies remote address
|
|
|
+ /// @param remote specifies remote address
|
|
|
void setRemoteAddr(const isc::asiolink::IOAddress& remote) {
|
|
|
remote_addr_ = remote;
|
|
|
}
|
|
@@ -353,7 +355,7 @@ public:
|
|
|
|
|
|
/// @brief Sets local address.
|
|
|
///
|
|
|
- /// @params local specifies local address
|
|
|
+ /// @param local specifies local address
|
|
|
void setLocalAddr(const isc::asiolink::IOAddress& local) {
|
|
|
local_addr_ = local;
|
|
|
}
|
|
@@ -367,7 +369,7 @@ public:
|
|
|
|
|
|
/// @brief Sets local port.
|
|
|
///
|
|
|
- /// @params local specifies local port
|
|
|
+ /// @param local specifies local port
|
|
|
void setLocalPort(uint16_t local) { local_port_ = local; }
|
|
|
|
|
|
/// @brief Returns local port.
|
|
@@ -377,7 +379,7 @@ public:
|
|
|
|
|
|
/// @brief Sets remote port.
|
|
|
///
|
|
|
- /// @params remote specifies remote port
|
|
|
+ /// @param remote specifies remote port
|
|
|
void setRemotePort(uint16_t remote) { remote_port_ = remote; }
|
|
|
|
|
|
/// @brief Returns remote port.
|