mirror of
https://github.com/mfontanini/libtins
synced 2026-01-27 20:24:26 +01:00
Documented all functions in header files.
This commit is contained in:
@@ -56,7 +56,7 @@ void Tins::ICMP::code(uint8_t new_code) {
|
||||
_icmp.code = new_code;
|
||||
}
|
||||
|
||||
void Tins::ICMP::type(uint8_t new_type) {
|
||||
void Tins::ICMP::type(Flags new_type) {
|
||||
_icmp.type = new_type;
|
||||
}
|
||||
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
using namespace std;
|
||||
|
||||
|
||||
/** \cond */
|
||||
struct InterfaceCollector {
|
||||
set<string> ifaces;
|
||||
|
||||
@@ -75,6 +76,8 @@ struct HWAddressCollector {
|
||||
}
|
||||
};
|
||||
|
||||
/** \endcond */
|
||||
|
||||
uint32_t Tins::Utils::ip_to_int(const string &ip) {
|
||||
uint32_t result(0), i(0), end, bytes_found(0);
|
||||
while(i < ip.size() && bytes_found < 4) {
|
||||
|
||||
Reference in New Issue
Block a user