1 #pragma once 2 3 /** @brief Adds the given interface and addr info 4 * into the ifaddr list. 5 * @param[in] name - Interface name. 6 * @param[in] addr - IP address. 7 * @param[in] mask - subnet mask. 8 * @param[in] flags - Interface flags. 9 */ 10 11 void mock_addIP(const char* name, const char* addr, const char* mask, 12 unsigned int flags); 13