mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-15 07:27:42 -04:00
Doc
This commit is contained in:
parent
b21d14c03b
commit
4bc88f79a4
@ -22,7 +22,20 @@ void update_cache(uint64_t mac, network::ip::address ip);
|
||||
bool is_mac_cached(uint64_t mac);
|
||||
bool is_ip_cached(network::ip::address ip);
|
||||
|
||||
/*!
|
||||
* \brief Returns the IP address of the given MAC address.
|
||||
* The address must be in cache.
|
||||
* \param ip The MAC address to look for in the cache
|
||||
* \return The IP address of the MAC address
|
||||
*/
|
||||
network::ip::address get_ip(uint64_t mac);
|
||||
|
||||
/*!
|
||||
* \brief Returns the MAC address of the given IP address.
|
||||
* The address must be in cache.
|
||||
* \param ip The IP address to look for in the cache
|
||||
* \return The MAC address of the IP address
|
||||
*/
|
||||
uint64_t get_mac(network::ip::address ip);
|
||||
|
||||
uint64_t get_mac_force(network::interface_descriptor& interface, network::ip::address ip);
|
||||
|
Loading…
x
Reference in New Issue
Block a user