blob: d2199990193dc77a6afa405126c702e6f6fe4bb9 [file] [log] [blame]
Ratan Gupta8ab17922017-05-25 13:07:05 +05301#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
11void mock_addIP(const char* name, const char* addr, const char* mask,
12 unsigned int flags);