summaryrefslogtreecommitdiffstats
path: root/test/mock_syscall.hpp
blob: d2199990193dc77a6afa405126c702e6f6fe4bb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

/** @brief Adds the given interface and addr info
 *         into the ifaddr list.
 *  @param[in] name - Interface name.
 *  @param[in] addr - IP address.
 *  @param[in] mask - subnet mask.
 *  @param[in] flags - Interface flags.
 */

void mock_addIP(const char* name, const char* addr, const char* mask,
                unsigned int flags);
OpenPOWER on IntegriCloud